/* Chatbot Styles */
#simran-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'Segoe UI', sans-serif;
}

.chat-toggle {
    background: #25d366;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: transform 0.3s;
}

.chat-toggle:hover {
    transform: scale(1.05);
}

.chat-window {
    width: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: none;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

.chat-window.active {
    display: flex;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header {
    background: var(--primary-color, #0056b3);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.close-chat {
    cursor: pointer;
    font-size: 20px;
}

.chat-body {
    height: 300px;
    padding: 15px;
    overflow-y: auto;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.4;
}

.chat-message.bot {
    background: white;
    color: #333;
    border-bottom-left-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    align-self: flex-start;
}

.chat-message.user {
    background: #dcf8c6;
    color: #333;
    border-bottom-right-radius: 2px;
    align-self: flex-end;
}

.chat-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.chat-btn,
.mode-btn {
    padding: 10px;
    border: 1px solid var(--primary-color, #0056b3);
    color: var(--primary-color, #0056b3);
    background: white;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.chat-btn:hover,
.mode-btn:hover {
    background: var(--primary-color, #0056b3);
    color: white;
}

@media (max-width: 768px) {
    #simran-chat-widget {
        display: none !important;
        /* Hide completely on mobile */
    }

    .chat-toggle {
        padding: 10px 18px;
        /* Slightly smaller */
        font-size: 14px;
    }
}