/* Shoutbox Container */
.shoutbox-container {
    max-width: 500px;
    margin: 20px auto;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

/* Header */
.shoutbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
    /* background: #ff334c; */
    border-radius: 8px 8px 0 0;
}

/* Messages */
.shoutbox-messages {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
    border: 1px solid #ddd;
}

.shoutbox-message-admin-highlight {
    background: #ffebee;
    border-left: 4px solid #ff334c;
}

.shoutbox-message-member-highlight {
    background: #e3f2fd;
    border-left: 4px solid #007bff;
}

.shoutbox-message {
    display: flex;
    flex-direction: column;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

/* Hover Effect */
.shoutbox-message:hover {
    transform: scale(1.02);
}

/* Message Meta */
.shoutbox-message-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8em;
    font-weight: bold;
    color: #9e9e9e;
}

/* Message Content */
.shoutbox-message-content {
    margin-top: 5px;
    font-size: 1em;
    color: #212529;
}

.shoutbox-message-content p {
    color: #212529;
}

/* Input Section */
.shoutbox-input {
    margin-top: 10px;
    display: flex;
    width: 100%;
}

.shoutbox-input form {
    display: flex;
    width: 100%;
    gap: 20px;
    align-items: center;
}

.shoutbox-input .form-control {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

/* Shout Button */
.shoutbox-input .btn-shoutbox {
    padding: 8px 12px;
    background: #ff334c;
    border: none;
    color: white;
    font-size: 1em;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s ease;
}

.shoutbox-input .btn-shoutbox:hover {
    background: #d62a42;
}

/* Refresh Button */
#refresh-shoutbox {
    background: #212529;
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: bold;
    transition: background 0.3s ease;
}

#refresh-shoutbox:hover {
    background: #41464b;
}

/* Login Prompt */
.login-prompt {
    text-align: center;
    margin-top: 10px;
}

.login-prompt a {
    color: #ff334c;
    text-decoration: none;
    font-weight: bold;
}

.login-prompt a:hover {
    text-decoration: underline;
}

.shoutbox-message-content a {
    color: #007bff; /* Blue color for links */
    text-decoration: none; /* Remove underline */
}

.shoutbox-message-content a:hover {
    text-decoration: underline; /* Add underline on hover */
}
