        :root {
            --primary: #6e8efb;
            --secondary: #a777e3;
            --accent: #ff6b8b;
            --light: #f5f7fa;
            --dark: #3e3f5e;
            --success: #4cd964;
            --error: #e74c3c;
            --warning: #ff9f43;
            --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            --shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.15);
            --user-avatar: #6e8efb;
            --bot-avatar: #a777e3;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* body {
            font-family: 'Poppins', sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f5 100%);
            overflow-x: hidden;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        } */

        .chat-container {
            width: 450px;
            height: 650px;
            border-radius: 20px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            background: white;
            box-shadow: var(--shadow-hover);
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            opacity: 1;
        }

        .chat-header {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            padding: 18px;
            font-size: 18px;
            font-weight: 600;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
        }

        .chat-header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            transform: rotate(45deg);
            animation: shine 3s infinite;
        }

        @keyframes shine {
            0% {
                transform: translateX(-100%) translateY(-100%) rotate(45deg);
            }

            100% {
                transform: translateX(100%) translateY(100%) rotate(45deg);
            }
        }

        .chat-header svg {
            margin-right: 10px;
        }

        .chat-box {
            flex: 1;
            overflow-y: auto;
            padding: 20px;
            background: var(--light);
            scroll-behavior: smooth;
            position: relative;
        }

        .chat-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(to right, transparent, var(--primary), transparent);
        }

        .input-box {
            display: flex;
            border-top: 1px solid #e6e9f0;
            background: #fff;
            padding: 15px;
            position: relative;
        }

        .input-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .input-box:focus-within::before {
            transform: scaleX(1);
        }

        .input-box input {
            flex: 1;
            padding: 14px 18px;
            border: 1px solid #e6e9f0;
            border-radius: 30px;
            outline: none;
            font-family: 'Poppins', sans-serif;
            font-size: 14px;
            transition: all 0.3s ease;
            background: #f9fafc;
        }

        .input-box input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(110, 142, 251, 0.2);
            background: white;
        }

        .input-box button {
            padding: 14px 20px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            border: none;
            border-radius: 30px;
            margin-left: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: 'Poppins', sans-serif;
            font-weight: 500;
            font-size: 14px;
            min-width: 80px;
            position: relative;
            overflow: hidden;
        }

        .input-box button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .input-box button:hover::before {
            left: 100%;
        }

        .input-box button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(110, 142, 251, 0.3);
        }

        .message {
            margin-bottom: 18px;
            padding: 14px 18px;
            border-radius: 20px;
            line-height: 1.5;
            position: relative;
            max-width: 80%;
            word-wrap: break-word;
            font-size: 15px;
            animation: messageAppear 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        }

        @keyframes messageAppear {
            from {
                opacity: 0;
                transform: translateY(15px) scale(0.95);
            }

            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .user-message {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            margin-left: auto;
            border-bottom-right-radius: 5px;
            box-shadow: 0 4px 10px rgba(110, 142, 251, 0.2);
            position: relative;
            padding-left: 30px;
            animation: userMessageSlide 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        @keyframes userMessageSlide {
            from {
                opacity: 0;
                transform: translateX(30px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .user-message::before {
            content: "";
            position: absolute;
            left: -40px;
            top: 50%;
            transform: translateY(-50%);
            width: 35px;
            height: 35px;
            background: url('user.gif') no-repeat center center;
            background-size: contain;
            border-radius: 50%;
            background-color: #E7DDFF;
            border: 3px solid white;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .bot-message {
            background: white;
            color: var(--dark);
            margin-right: auto;
            margin-left: 40px;
            border-bottom-left-radius: 5px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            position: relative;
            padding-right: 30px;
            animation: botMessageSlide 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        @keyframes botMessageSlide {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .bot-message::before {
            content: "";
            position: absolute;
            left: -40px;
            top: 50%;
            transform: translateY(-50%);
            width: 35px;
            height: 35px;
            background: url('a2.gif') no-repeat center center;
            background-size: contain;
            border-radius: 50%;
            background-color: #E7DDFF;
            border: 3px solid white;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .form-question {
            padding: 15px;
            background: white;
            border-radius: 15px;
            margin: 15px 0;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            animation: fadeIn 0.4s ease;
        }

        .form-group {
            margin-bottom: 18px;
            position: relative;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--dark);
            font-size: 14px;
        }

        .form-group input,
        .form-group select {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid #e6e9f0;
            border-radius: 10px;
            font-family: 'Poppins', sans-serif;
            font-size: 14px;
            transition: all 0.3s ease;
            background: #f9fafc;
        }

        .form-group input:focus,
        .form-group select:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(110, 142, 251, 0.2);
            background: white;
        }

        .form-submit {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            border: none;
            padding: 14px 20px;
            border-radius: 10px;
            cursor: pointer;
            font-family: 'Poppins', sans-serif;
            font-weight: 500;
            width: 100%;
            transition: all 0.3s ease;
            font-size: 15px;
            margin-top: 10px;
            position: relative;
            overflow: hidden;
        }

        .form-submit::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .form-submit:hover::before {
            left: 100%;
        }

        .form-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(110, 142, 251, 0.3);
        }

        .typing-indicator {
            display: inline-flex;
            padding: 12px 16px;
            background: white;
            border-radius: 20px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            margin-bottom: 18px;
            align-items: center;
        }

        .typing-indicator span {
            height: 10px;
            width: 10px;
            background: var(--secondary);
            border-radius: 50%;
            display: inline-block;
            margin: 0 3px;
            opacity: 0.4;
        }

        .typing-indicator span:nth-child(1) {
            animation: typing 1s infinite;
        }

        .typing-indicator span:nth-child(2) {
            animation: typing 1s infinite 0.2s;
        }

        .typing-indicator span:nth-child(3) {
            animation: typing 1s infinite 0.4s;
        }

        @keyframes typing {
            0% {
                opacity: 0.4;
                transform: translateY(0);
            }

            50% {
                opacity: 1;
                transform: translateY(-3px);
            }

            100% {
                opacity: 0.4;
                transform: translateY(0);
            }
        }

        .success-message {
            background: linear-gradient(135deg, var(--success), #2ecc71);
            color: white;
            padding: 18px;
            border-radius: 15px;
            margin: 15px 0;
            box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
            animation: fadeIn 0.5s ease;
            text-align: center;
            font-weight: 500;
            position: relative;
            overflow: hidden;
        }

        .success-message::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transform: rotate(45deg);
            animation: shine 3s infinite;
        }

        .summary-item {
            margin-bottom: 12px;
            padding-bottom: 12px;
            border-bottom: 1px dashed #e6e9f0;
        }

        .summary-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .summary-label {
            font-weight: 500;
            color: var(--primary);
            font-size: 14px;
            margin-bottom: 5px;
        }

        .summary-value {
            font-size: 15px;
            color: var(--dark);
        }

        .error-message {
            color: var(--error);
            font-size: 13px;
            margin-top: 5px;
            display: none;
        }

        .input-error {
            border-color: var(--error) !important;
            box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2) !important;
        }

        /* New styles for option buttons */
        .option-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 10px;
        }

        .option-button {
            background: #f0f4ff;
            border: 1px solid #d0d7ff;
            border-radius: 20px;
            padding: 10px 18px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: 'Poppins', sans-serif;
            font-size: 14px;
            color: var(--primary);
            font-weight: 500;
            position: relative;
            overflow: hidden;
        }

        .option-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(110, 142, 251, 0.1), transparent);
            transition: left 0.5s;
        }

        .option-button:hover::before {
            left: 100%;
        }

        .option-button:hover {
            background: #e6ecff;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(110, 142, 251, 0.2);
        }

        .option-button:active {
            transform: translateY(0);
        }

        /* Yes/No button styles */
        .yes-no-buttons {
            display: flex;
            gap: 10px;
            margin-top: 10px;
        }

        .yes-button,
        .no-button {
            flex: 1;
            padding: 12px 20px;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            font-family: 'Poppins', sans-serif;
            font-weight: 500;
            font-size: 14px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .yes-button::before,
        .no-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .yes-button:hover::before,
        .no-button:hover::before {
            left: 100%;
        }

        .yes-button {
            background: #e8f5e9;
            color: #2e7d32;
            border: 1px solid #c8e6c9;
        }

        .yes-button:hover {
            background: #c8e6c9;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(46, 125, 50, 0.2);
        }

        .no-button {
            background: #ffebee;
            color: #c62828;
            border: 1px solid #ffcdd2;
        }

        .no-button:hover {
            background: #ffcdd2;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(198, 40, 40, 0.2);
        }

        /* Compact summary styles */
        .compact-summary {
            background: white;
            border-radius: 15px;
            padding: 15px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            margin: 10px 0;
            position: relative;
            overflow: hidden;
        }

        .compact-summary::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 5px;
            height: 100%;
            background: linear-gradient(to bottom, var(--primary), var(--secondary));
        }

        .compact-summary h3 {
            margin-top: 0;
            color: var(--primary);
            text-align: center;
            font-size: 16px;
            margin-bottom: 15px;
        }

        .compact-summary-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
            padding-bottom: 8px;
            border-bottom: 1px dashed #e6e9f0;
        }

        .compact-summary-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .compact-summary-label {
            font-weight: 500;
            color: var(--primary);
            font-size: 13px;
        }

        .compact-summary-value {
            font-size: 13px;
            color: var(--dark);
            text-align: right;
            max-width: 60%;
            word-break: break-word;
        }

        .compact-submit-buttons {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }

        .submit-button,
        .edit-button {
            flex: 1;
            padding: 10px 15px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-family: 'Poppins', sans-serif;
            font-weight: 500;
            font-size: 13px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .submit-button::before,
        .edit-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .submit-button:hover::before,
        .edit-button:hover::before {
            left: 100%;
        }

        .submit-button {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
        }

        .submit-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(110, 142, 251, 0.3);
        }

        .edit-button {
            background: #f5f7fa;
            color: var(--primary);
            border: 1px solid #e6e9f0;
        }

        .edit-button:hover {
            background: #e6ecff;
            transform: translateY(-2px);
        }

        /* Animation for chat container */
        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        .shape {
            position: absolute;
            border-radius: 50%;
            opacity: 0.1;
            animation: floatShape 15s infinite linear;
        }

        .shape-1 {
            width: 80px;
            height: 80px;
            background: var(--primary);
            top: 10%;
            left: 10%;
            animation-delay: 0s;
        }

        .shape-2 {
            width: 120px;
            height: 120px;
            background: var(--secondary);
            top: 60%;
            left: 80%;
            animation-delay: -5s;
        }

        .shape-3 {
            width: 60px;
            height: 60px;
            background: var(--accent);
            top: 80%;
            left: 20%;
            animation-delay: -10s;
        }

        @keyframes floatShape {
            0% {
                transform: translateY(0) rotate(0deg);
            }

            33% {
                transform: translateY(-30px) rotate(120deg);
            }

            66% {
                transform: translateY(20px) rotate(240deg);
            }

            100% {
                transform: translateY(0) rotate(360deg);
            }
        }

        /* Scrollbar styling */
        .chat-box::-webkit-scrollbar {
            width: 6px;
        }

        .chat-box::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }

        .chat-box::-webkit-scrollbar-thumb {
            background: linear-gradient(to bottom, var(--primary), var(--secondary));
            border-radius: 10px;
        }

        .chat-box::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(to bottom, var(--secondary), var(--primary));
        }

        /* Enhanced animations */
        @keyframes messageBounce {
            0% {
                transform: scale(0.8);
                opacity: 0;
            }

            70% {
                transform: scale(1.05);
                opacity: 0.7;
            }

            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        .message {
            animation: messageBounce 0.5s ease-out;
        }

        /* Enhanced background pattern */
        .chat-box {
            background-image:
                radial-gradient(circle at 25% 25%, rgba(110, 142, 251, 0.05) 0%, transparent 55%),
                radial-gradient(circle at 75% 75%, rgba(167, 119, 227, 0.05) 0%, transparent 55%);
            background-size: 50% 50%;
            background-position: 0 0, 100% 100%;
            background-repeat: no-repeat;
        }

        /* Responsive adjustments */
        @media (max-width: 480px) {
            .chat-container {
                width: 90vw;
                height: 80vh;
            }
        }

        /* Styles for script options */
        .script-options {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: 10px;
        }

        .script-option {
            background: #f0f4ff;
            border: 1px solid #d0d7ff;
            border-radius: 10px;
            padding: 12px 15px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: 'Poppins', sans-serif;
            font-size: 14px;
            color: var(--primary);
            font-weight: 500;
            text-align: left;
        }

        .script-option:hover {
            background: #e6ecff;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(110, 142, 251, 0.2);
        }

        .faq-answer {
            background: #f9f9f9;
            border-left: 3px solid var(--primary);
            padding: 10px 15px;
            margin: 10px 0;
            border-radius: 0 8px 8px 0;
        }

        .action-link {
            color: var(--primary);
            font-weight: 600;
            text-decoration: underline;
            cursor: pointer;
        }

        .action-link:hover {
            color: var(--secondary);
        }


        /* //07-04-26 */

        /* OPTION GROUP (2 COLUMN PAIR) */
        /* ========================= */
        .option-group {
            display: grid;
            grid-template-columns: repeat(2, 1fr); /* 🔥 2 button per row */
            gap: 12px;
            margin-top: 12px;
        }

        /* ========================= */
        /* OPTION CARD */
        /* ========================= */
        .option {
            width: 100%;
            box-sizing: border-box;

            padding: 14px;
            border: 2px solid #ddd;
            border-radius: 14px;

            text-align: center;
            cursor: pointer;
            background: #fff;

            font-weight: 500;
            font-size: 15px;
            color: #333;

            /* 🔥 Perfect alignment */
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 70px;

            /* smooth UI */
            transition: all 0.25s ease;
            box-shadow: 0 3px 8px rgba(0,0,0,0.06);
        }

        /* ========================= */
        /* HOVER EFFECT */
        /* ========================= */
        .option:hover {
            border-color: #d4af37;
            background: #fff8e1;
            transform: translateY(-2px);
        }

        /* ========================= */
        /* ACTIVE (SELECTED) */
        /* ========================= */
        .option.active {
            background: #d4af37;
            color: #fff;
            border-color: #d4af37;
            box-shadow: 0 6px 16px rgba(212,175,55,0.35);
        }

        /* ========================= */
        /* CLICK EFFECT */
        /* ========================= */
        .option:active {
            transform: scale(0.96);
        }

        /* ========================= */
        /* 📱 MOBILE FIX */
        /* ========================= */
        @media (max-width: 480px) {
            .option-group {
                grid-template-columns: repeat(2, 1fr); /* 🔥 keep 2 per row */
                gap: 10px;
            }

            .option {
                padding: 12px;
                font-size: 14px;
                min-height: 65px;
            }
        }

        /* ========================= */
        /* 🧱 CARD CONTAINER FIX */
        /* ========================= */
        .card {
            padding: 15px;
            border-radius: 16px;
            overflow: hidden; /* 🔥 prevent overflow */
        }  

        /* CHAT BOT BUTTON FLOATING BUTTON */
            #chatToggle {
            position: fixed;
            bottom: 25px;
            right: 25px;
            width: 65px;
            height: 65px;
            background: linear-gradient(135deg, #d4af37, #f6e09c);
            color: black;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 26px;
            cursor: pointer;
            box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
            z-index: 999;
            transition: 0.3s ease;
            }

            #chatToggle:hover {
            transform: scale(1.1);
            }

            /* CHAT CONTAINER HIDDEN DEFAULT */
            .chat-container {
            position: fixed;
            bottom: 100px;
            right: 25px;

            width: 380px;           /* 🔥 increased from 320px */
            max-width: 95vw;        /* 🔥 mobile safe */
            max-height: 550px;      /* thoda height bhi increase */

            background: white;
            border-radius: 18px;

            box-shadow: 0 12px 35px rgba(0,0,0,0.25);

            overflow: hidden;
            display: none;
            flex-direction: column;

            z-index: 999;
            }

            @media (max-width: 480px) {
            .chat-container {
                width: 95%;
                right: 10px;
                bottom: 90px;
            }
            }

