#shoutbox-container {
    width: 335px;
    height: 500px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
    font-family: 'Segoe UI', sans-serif;
}

#shoutbox-messages {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
    margin-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: #555 #1a1a1a;
}

#shoutbox-messages::-webkit-scrollbar {
    width: 6px;
}
#shoutbox-messages::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 3px;
}

.shoutbox-message {
    position: relative;
    background: #2a2a2a;
    border-radius: 6px;
    padding: 6px 8px;
    margin-bottom: 6px;
    animation: fadeIn 0.3s ease;
}

.shoutbox-message.bot {
    background: #263238;
}

.username {
    font-weight: bold;
    margin-right: 5px;
}

.text {
    color: #ddd;
    word-wrap: break-word;
}

#shoutbox-input {
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: 6px;
    background: #333;
    color: #fff;
    outline: none;
    transition: background 0.3s;
}

#shoutbox-input:focus {
    background: #444;
}

.delete-message {
    cursor: pointer;
    float: right;
    opacity: 0.5;
    transition: opacity 0.2s;
}
.delete-message:hover {
    opacity: 1;
    color: #ff5252;
}

#shoutbox-notify {
    text-align: center;
    font-size: 13px;
    padding: 3px;
    display: none;
}
#shoutbox-notify.success { color: #00e676; }
#shoutbox-notify.error { color: #ff5252; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
