/* Custom scrollbar */
.chat-container::-webkit-scrollbar {
    width: 8px;
}

.chat-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.chat-container::-webkit-scrollbar-thumb {
    background: #93c5fd;
    border-radius: 4px;
}

.chat-container::-webkit-scrollbar-thumb:hover {
    background: #60a5fa;
}
/* Popup modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    animation: fadeIn 0.3s ease-out;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: space-between;
}

.modal-buttons button {
    flex: 1;
    padding: 0.75rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-buttons button:nth-child(1) {
    background-color: #7c3aed;
    color: white;
    border: none;
}

.modal-buttons button:nth-child(1):hover {
    background-color: #6d28d9;
}

.modal-buttons button:nth-child(2) {
    background-color: #f59e0b;
    color: white;
    border: none;
}

.modal-buttons button:nth-child(2):hover {
    background-color: #d97706;
}

.modal-buttons button:nth-child(3) {
    background-color: #ef4444;
    color: white;
    border: none;
}

.modal-buttons button:nth-child(3):hover {
    background-color: #dc2626;
}

/* Animation for messages */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.user-message, .bot-message {
    animation: fadeIn 0.3s ease-out forwards;
}