 /* Import Poppins font */
    @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
    
    /* Overlay Background */
    .exit-popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 999999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        padding: 20px;
        box-sizing: border-box;
        font-family: 'Poppins', sans-serif;
    }
    
    .exit-popup-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Popup Container */
    .exit-popup-container {
        width: 40%;
        max-width: 800px;
        min-width: 320px;
        background: white;
        border-radius: 20px;
        overflow: hidden;
        position: relative;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
        animation: fadeInUp 0.5s ease-out;
        margin: auto;
    }
    
    @keyframes fadeInUp {
        from { 
            opacity: 0; 
            transform: translateY(30px); 
        }
        to { 
            opacity: 1; 
            transform: translateY(0); 
        }
    }
    
    /* Improved Close Button */
    .btn-close-to {
        position: absolute;
        top: 20px;
        right: 20px;
        background: rgba(114, 169, 78, 0.1);
        border: none;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        color: #72a94e;
        cursor: pointer;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s;
        padding: 0;
    }
    
    .btn-close-to:hover {
        background: #72a94e;
        transform: rotate(90deg) scale(1.1);
    }
    
    .btn-close-to:hover .close-icon {
        stroke: white;
    }
    
    .close-icon {
        width: 20px;
        height: 20px;
        stroke: #72a94e;
        stroke-width: 3;
        transition: stroke 0.3s;
    }
    
    /* Form Section */
    .exit-form-section {
        padding: 50px 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .exit-form-title {
        font-size: 26px;
        font-weight: 700;
        color: #1f2937;
        margin-bottom: 10px;
        text-align: center;
        line-height: 1.3;
    }
    
    .exit-form-subtitle {
        font-size: 16px;
        color: #6b7280;
        margin-bottom: 30px;
        text-align: center;
        line-height: 1.5;
    }
    
    .exit-form-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .exit-form-group {
        width: 100%;
    }
    
    .exit-form-label {
        display: block;
        margin-bottom: 8px;
        color: #374151;
        font-weight: 600;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .exit-form-label .form-icon {
        color: #72a94e;
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }
    
    .exit-form-input {
        width: 100%;
        padding: 16px 20px;
        border: 2px solid #e5e7eb;
        border-radius: 10px;
        font-size: 16px;
        transition: all 0.3s;
        background: #f9fafb;
        color: #1f2937;
        font-family: 'Poppins', sans-serif;
        box-sizing: border-box;
    }
    
    .exit-form-input:focus {
        outline: none;
        border-color: #72a94e;
        background: white;
        box-shadow: 0 0 0 3px rgba(114, 169, 78, 0.1);
    }
    
    /* Input Validation States */
    .exit-form-input.valid {
        border-color: #10b981;
        background-color: rgba(16, 185, 129, 0.05);
    }
    
    .exit-form-input.invalid {
        border-color: #ef4444;
        background-color: rgba(239, 68, 68, 0.05);
    }
    
    /* Validation Error Messages */
    .exit-validation-error {
        color: #ef4444;
        font-size: 12px;
        margin-top: 5px;
        display: none;
        font-weight: 500;
        padding-left: 28px;
    }
    
    .exit-validation-error.show {
        display: block;
    }
    
    /* Submit Button */
    .get-action-btn {
        background: linear-gradient(135deg, #72a94e 0%, #5a8a3c 100%);
        color: white;
        border: none;
        padding: 18px 40px;
        font-size: 18px;
        font-weight: 700;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.3s;
        width: 100%;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-top: 10px;
        box-shadow: 0 4px 15px rgba(114, 169, 78, 0.3);
        font-family: 'Poppins', sans-serif;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        box-sizing: border-box;
    }
    
    .get-action-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(114, 169, 78, 0.4);
    }
    
    .get-action-btn:disabled {
        background: #9ca3af;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }
    
    .get-action-btn .btn-icon {
        width: 20px;
        height: 20px;
    }
    
    /* Messages */
    .exit-message {
        padding: 15px 20px;
        border-radius: 10px;
        margin-top: 20px;
        font-weight: 500;
        display: none;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    
    .exit-success-message {
        background-color: #d1fae5;
        color: #065f46;
        border: 1px solid #a7f3d0;
    }
    
    .exit-error-message {
        background-color: #fee2e2;
        color: #991b1b;
        border: 1px solid #fca5a5;
    }
    
    .exit-duplicate-warning {
        background-color: #fef3c7;
        color: #92400e;
        border: 1px solid #fde68a;
        padding: 15px 20px;
        border-radius: 10px;
        margin-top: 20px;
        font-weight: 500;
        display: none;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    
    .exit-message .msg-icon,
    .exit-duplicate-warning .msg-icon {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }
    
    /* Terms & Conditions Text */
    .exit-terms-text {
        font-size: 12px;
        color: #6b7280;
        text-align: center;
        margin-top: 20px;
        line-height: 1.5;
        padding: 10px;
    }
    
    .exit-terms-text a {
        color: #72a94e;
        text-decoration: none;
        font-weight: 600;
    }
    
    .exit-terms-text a:hover {
        text-decoration: underline;
    }
    
    /* Success Overlay */
    .exit-success-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.9);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 9999999;
        padding: 20px;
        box-sizing: border-box;
        font-family: 'Poppins', sans-serif;
    }
    
    .exit-success-content {
        background: white;
        padding: 40px;
        border-radius: 20px;
        text-align: center;
        max-width: 400px;
        width: 90%;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        animation: fadeInUp 0.5s ease-out;
        margin: auto;
    }
    
    .exit-success-icon {
        color: #72a94e;
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
    }
    
    .exit-success-icon .success-icon {
        width: 60px;
        height: 60px;
    }
    
    /* Spinner Animation */
    .spinner {
        animation: spin 1s linear infinite;
    }
    
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    
    /* Responsive Design */
    @media (max-width: 768px) {
        .exit-form-section {
            padding: 40px 30px;
        }
        
        .exit-form-title {
            font-size: 22px;
        }
        
        .exit-popup-container {
            width: 95%;
        }
        
        .get-action-btn {
            padding: 16px 30px;
            font-size: 16px;
        }
        
        .btn-close-to {
            top: 15px;
            right: 15px;
            width: 38px;
            height: 38px;
        }
        
        .close-icon {
            width: 18px;
            height: 18px;
        }
    }
    
    @media (max-width: 480px) {
        .exit-form-section {
            padding: 30px 20px;
        }
        
        .exit-form-title {
            font-size: 20px;
        }
        
        .exit-form-input {
            padding: 14px 16px;
            font-size: 15px;
        }
        
        .get-action-btn {
            padding: 15px 25px;
            font-size: 15px;
        }
        
        .btn-close-to {
            top: 12px;
            right: 12px;
            width: 35px;
            height: 35px;
        }
        
        .close-icon {
            width: 16px;
            height: 16px;
        }
        
        .exit-success-content {
            padding: 30px 20px;
        }
    }
    
    @media (max-height: 600px) {
        .exit-popup-container {
            max-height: 90vh;
            overflow-y: auto;
        }
        
        .exit-form-section {
            padding: 30px;
        }
        
        .exit-form-title {
            font-size: 22px;
            margin-bottom: 8px;
        }
        
        .exit-form-subtitle {
            font-size: 14px;
            margin-bottom: 20px;
        }
        
        .exit-form-grid {
            gap: 15px;
            margin-bottom: 15px;
        }
        
        .exit-form-input {
            padding: 12px 16px;
        }
        
        .get-action-btn {
            padding: 14px 20px;
            font-size: 15px;
        }
    }