 /* Chatbot Floating Button */

    .chatbot-fab {

        position: fixed;

        bottom: 30px;

        right: 30px;

        width: 60px;

        height: 60px;

        background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);

        border-radius: 50%;

        display: flex;

        align-items: center;

        justify-content: center;

        color: white;

        font-size: 24px;

        cursor: pointer;

        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);

        z-index: 9998;

        transition: transform 0.3s, box-shadow 0.3s;

    }



    .chatbot-fab:hover {

        transform: scale(1.1);

        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);

    }



    .chatbot-fab i {

        animation: pulse 2s infinite;

    }



    @keyframes pulse {



        0%,

        100% {

            transform: scale(1);

        }



        50% {

            transform: scale(1.1);

        }

    }



    /* Chatbot Box */

    .chatbot-box {

        position: fixed;

        bottom: 100px;

        right: 30px;

        width: 380px;

        max-width: calc(100vw - 60px);

        background: white;

        border-radius: 15px;

        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);

        z-index: 9999;

        display: none;

        flex-direction: column;

        overflow: hidden;

        animation: slideUp 0.3s ease-out;

    }



    @keyframes slideUp {

        from {

            opacity: 0;

            transform: translateY(20px);

        }



        to {

            opacity: 1;

            transform: translateY(0);

        }

    }



    .chatbot-box.active {

        display: flex;

    }



    .chatbot-header {

        background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);

        color: white;

        padding: 15px 20px;

    }



    .chatbot-header strong {

        font-size: 16px;

    }



    .chatbot-header small {

        font-size: 12px;

        opacity: 0.9;

    }



    .chatbot-body {

        /* height: 400px; */

        max-height: 300px;

        overflow-y: scroll;

        padding: 20px;

        background: #f9f9f9;

        flex: 1;

    }



    .chat-msg {

        margin-bottom: 15px;

        padding: 10px 15px;

        border-radius: 10px;

        max-width: 80%;

        word-wrap: break-word;

        animation: fadeIn 0.3s;

        line-height: 1.5;

    }



    @keyframes fadeIn {

        from {

            opacity: 0;

            transform: translateY(10px);

        }



        to {

            opacity: 1;

            transform: translateY(0);

        }

    }



    .chat-msg.bot {

        background: white;

        border: 1px solid #e0e0e0;

        margin-right: auto;

    }



    .chat-msg.user {

        background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);

        color: white;

        margin-left: auto;

        text-align: right;

    }



    .chatbot-footer {

        padding: 15px;

        background: white;

        border-top: 1px solid #e0e0e0;

        display: flex;

        gap: 10px;

    }



    .chatbot-footer input {

        flex: 1;

        border: 1px solid #ddd;

        border-radius: 20px;

        padding: 8px 15px;

        font-size: 14px;

    }



    .chatbot-footer input:focus {

        outline: none;

        border-color: #4285f4;

    }



    .chatbot-footer button {

        background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);

        border: none;

        color: white;

        width: 40px;

        height: 40px;

        border-radius: 50%;

        cursor: pointer;

        transition: transform 0.2s;

        padding: 0px;

    }



    .chatbot-footer button:hover {

        transform: scale(1.1);

    }



    .chatbot-footer button:disabled {

        opacity: 0.6;

        cursor: not-allowed;

    }



    .typing-indicator {

        display: flex;

        gap: 5px;

        padding: 10px 15px;

        background: white;

        border: 1px solid #e0e0e0;

        border-radius: 10px;

        max-width: 60px;

    }



    .typing-indicator span {

        width: 8px;

        height: 8px;

        background: #4285f4;

        border-radius: 50%;

        animation: bounce 1.4s infinite;

    }



    .typing-indicator span:nth-child(2) {

        animation-delay: 0.2s;

    }



    .typing-indicator span:nth-child(3) {

        animation-delay: 0.4s;

    }



    @keyframes bounce {



        0%,

        60%,

        100% {

            transform: translateY(0);

        }



        30% {

            transform: translateY(-10px);

        }

    }



    /* Scrollbar styling */

    .chatbot-body::-webkit-scrollbar {

        width: 6px;

    }



    .chatbot-body::-webkit-scrollbar-track {

        background: #f1f1f1;

    }



    .chatbot-body::-webkit-scrollbar-thumb {

        background: #4285f4;

        border-radius: 3px;

    }



    .chatbot-body::-webkit-scrollbar-thumb:hover {

        background: #3367d6;

    }



    .powered-by {

        font-size: 10px;

        opacity: 0.7;

        text-align: center;

        padding: 5px;

        background: #f9f9f9;

    }



    /* Mobile Responsive */

    @media (max-width: 480px) {

        .chatbot-box {

            bottom: 0;

            right: 0;

            left: 0;

            width: 100%;

            max-width: 100%;

            height: 100vh;

            border-radius: 0;

        }



        .chatbot-body {

            height: calc(100vh - 180px);

        }



        .chatbot-fab {

            bottom: 20px;

            right: 20px;

        }

    }



    /* Additional styles for feedback alerts */

    .alert-sm {

        padding: 8px 12px;

        margin-bottom: 10px;

        font-size: 13px;

        border-radius: 4px;

    }



    .alert-success {

        background-color: #d4edda;

        border-color: #c3e6cb;

        color: #155724;

    }



    .alert-danger {

        background-color: #f8d7da;

        border-color: #f5c6cb;

        color: #721c24;

    }