.chat-log {
    font-family: monospace;
    font-size: 13px;
    color: lime;
    overflow-y: auto;
    overflow-x: hidden;
    height: 140px;
}

.chat-input {
    width: 100%;
    background: black;
    color: lime;
    border: 1px dashed #0f0;
    font-family: monospace;
    font-size: 13px;
    padding: 4px;
    max-width: 97%;
}

.chat-line {
    font-family: monospace;
    font-size: 13px;
    color: lime;
}

.chat-name {
    font-weight: bold;
    text-shadow: 0 0 1px lime;
    color: #0f0;
}

/* Worker name links - preserve styling while making clickable */
.worker-name-link {
    text-decoration: none;
    color: inherit;
}

.worker-name-link:hover {
    text-decoration: none;
    opacity: 0.8;
}

/* Override color for gradient effects - let background gradient show through */
.chat-name .gradient-rainbow {
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    text-shadow: none; /* Remove text shadow that interferes with gradient */
}

.gradient-rainbow {
    background: linear-gradient(45deg,
    var(--base-color, #3498db),
    #ff0080,
    #ff8000,
    #ffff00,
    #80ff00,
    #00ff80,
    #0080ff,
    #8000ff,
    var(--base-color, #3498db)
    );
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow-shift 3s ease-in-out infinite;
}

.chat-msg {
    color: lime;
    font-weight: normal;
}

/* Moderation styles */
.mute-link {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: bold;
    font-size: 11px;
    background: rgba(255, 107, 107, 0.1);
    display: inline;
    letter-spacing: 1px;
}

.mute-link:hover {
    background: rgba(255, 107, 107, 0.2);
    color: #ff4757;
}

.delete-link {
    color: #ff4757;
    text-decoration: none;
    font-weight: bold;
    font-size: 11px;
    border-bottom: none;
    cursor: pointer;
    letter-spacing: 1px;
}

.delete-link:hover {
    background: rgba(255, 71, 87, 0.2);
    color: #e63946;
}

/* Button form for delete button */
.chat-line form {
    display: inline;
}
.moderation-panel {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #333;
    padding: 20px;
    border-radius: 4px;
    color: #ecf0f1;
    margin: 10px;
}

.moderation-panel h3, h4 {
    color: #f39c12;
}

/* Chat Input Container */
.chat-input-container {
    position: relative;
    width: 100%;
}

/* Chat Suggestions */
.chat-suggestions {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: #000;
    border: 1px dashed #0f0;
    border-bottom: none;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    font-family: monospace;
    font-size: 13px;
}

.chat-suggestion {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.chat-suggestion:hover,
.chat-suggestion.selected {
    background: rgba(0, 255, 0, 0.1);
}

.chat-suggestion:last-child {
    border-bottom: none;
}

.suggestion-command {
    color: #0f0;
    font-weight: bold;
    min-width: 120px;
}

.suggestion-description {
    color: #888;
    font-size: 12px;
    text-align: right;
    flex: 1;
}

/* Scrollbar styling for suggestions */
.chat-suggestions::-webkit-scrollbar {
    width: 8px;
}

.chat-suggestions::-webkit-scrollbar-track {
    background: #000;
}

.chat-suggestions::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

.chat-suggestions::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Animation for suggestions appearing */
.chat-suggestions {
    animation: slideUp 0.2s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
