/* Chat Section */
.chat-section {
    background-color: var(--chat-green);
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 300px;
}

.chat-section h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.chat-messages {
    flex-grow: 1;
    background-color: white;
    border-radius: 8px;
    padding: 1rem;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.chat-message {
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    max-width: 85%;
}

.chat-message.player {
    background-color: #e3f2fd;
    margin-left: auto;
}

.chat-message.bot {
    background-color: #e8f5e9;
    margin-right: auto;
}

.chat-input-area {
    display: flex;
    gap: 0.75rem;
    padding: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
}

#chat-input {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 20px;
    font-size: 1rem;
    background-color: white;
}

#chat-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

#send-message {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background-color: white;
    color: var(--chat-green);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

#send-message:hover {
    transform: scale(1.05);
}

#send-message i {
    font-size: 1.2rem;
}

/* Bot Thinking Indicator */
.bot-thinking {
    display: flex;
    gap: 0.4rem;
    padding: 0.5rem;
    margin-bottom: 0.75rem;
}

.thinking-dot {
    width: 8px;
    height: 8px;
    background-color: var(--chat-green);
    border-radius: 50%;
    opacity: 0.6;
    animation: botThinking 1.4s infinite ease-in-out;
}

.thinking-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.thinking-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes botThinking {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
} 