/* Add these styles at the end of your existing styles.css file */

/* Additional Chat Styles */
.info-box {
    max-width: 800px;
    margin: 1.5rem auto 3rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.info-box h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #4f46e5;
}

.info-box ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}

.info-box li {
    margin-bottom: 0.5rem;
}

.login-required {
    text-align: center;
    padding: 3rem 1rem;
}

.login-required h3 {
    margin-bottom: 0.5rem;
    color: #4f46e5;
}

.login-required p {
    margin-bottom: 1.5rem;
    color: #6b7280;
}

.message {
    display: flex;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.message.user {
    flex-direction: row-reverse;
    margin-left: auto;
}

.message-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.ai .message-avatar {
    background-color: #4f46e5;
    color: white;
    margin-right: 0.75rem;
}

.user .message-avatar {
    background-color: #e5e7eb;
    color: #374151;
    margin-left: 0.75rem;
}

.message-content {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    max-width: 80%;
}

.ai .message-content {
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
}

.user .message-content {
    background-color: #4f46e5;
    color: white;
}

.chat-input {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
}

.chat-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.chat-input button {
    padding: 0.75rem;
    background-color: #4f46e5;
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-input button:hover {
    background-color: #4338ca;
}

.chat-input button:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

.user-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
