:root {
    --bg-gradient: linear-gradient(135deg, #f4f6f9 0%, #eef2f7 100%);
    --glass-bg: #ffffff;
    --primary-brand: #0b132b;
    --accent-glow: #1d4ed8;
    --accent-hover: #1e40af;
    --text-main: #1e293b;
    --text-subtitle: #64748b;
    --border-slate: #cbd5e1;
    --input-focus: #2563eb;
    --success-emerald: #10b981;
    --danger-rose: #ef4444;
}

.form-master-container { 
    font-family: 'Inter', sans-serif; 
    max-width: 1000px; 
    margin: 40px auto; 
    padding: 0 20px; 
    box-sizing: border-box; 
}

.form-premium-card { 
    background: var(--glass-bg); 
    border-radius: 20px; 
    padding: 45px; 
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.05), 0 0 0 1px rgba(15, 23, 42, 0.03);
}

@media (max-width: 768px) { 
    .form-premium-card { padding: 25px; border-radius: 16px; } 
}

.form-main-header { 
    border-bottom: 2px solid #f1f5f9; 
    padding-bottom: 20px; 
    margin-bottom: 35px; 
}

.form-main-header h2 { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    color: var(--primary-brand); 
    font-size: 28px; 
    font-weight: 800; 
    margin: 0 0 8px 0; 
    letter-spacing: -0.5px; 
}

.form-main-header p { 
    color: var(--text-subtitle); 
    font-size: 14.5px; 
    font-weight: 500; 
    margin: 0; 
}

.form-section-title { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    font-size: 14.5px; 
    font-weight: 700; 
    color: var(--accent-glow); 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin: 35px 0 20px 0; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.form-section-title::after { 
    content: ''; 
    flex: 1; 
    height: 1.5px; 
    background: #e2e8f0; 
}

.form-grid-row { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 24px; 
    margin-bottom: 24px; 
}

@media (max-width: 768px) { 
    .form-grid-row { grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px; } 
}

.form-input-group { 
    display: flex; 
    flex-direction: column; 
}

.form-input-group label { 
    font-size: 13.5px; 
    font-weight: 700; 
    color: var(--text-main); 
    margin-bottom: 8px; 
}

.form-control-field { 
    width: 100%; 
    height: 50px; 
    padding: 0 16px; 
    font-size: 14px; 
    font-weight: 600; 
    color: var(--text-main); 
    background-color: #f8fafc; 
    border: 2px solid var(--border-slate); 
    border-radius: 10px; 
    outline: none; 
    transition: all 0.2s ease; 
    box-sizing: border-box; 
}

.form-control-field:focus { 
    border-color: var(--input-focus); 
    background-color: #ffffff; 
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1); 
}

.form-control-field:read-only { 
    background-color: #e2e8f0; 
    cursor: not-allowed; 
    color: #475569; 
}

select.form-control-field { 
    appearance: none; 
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E"); 
    background-repeat: no-repeat; 
    background-position: right 16px center; 
    background-size: 14px; 
    padding-right: 44px; 
    cursor: pointer; 
}

input[type="file"].form-control-field { 
    padding-top: 11px; 
    cursor: pointer; 
    background: #ffffff; 
}

.whatsapp-verify-container { 
    display: flex; 
    gap: 10px; 
}

.btn-verify-action { 
    height: 50px; 
    padding: 0 20px; 
    background-color: var(--primary-brand); 
    color: #ffffff; 
    border: none; 
    border-radius: 10px; 
    font-size: 13.5px; 
    font-weight: 700; 
    cursor: pointer; 
    transition: all 0.2s ease; 
    white-space: nowrap; 
}

.btn-verify-action:hover:not(:disabled) { 
    background-color: var(--accent-glow); 
}

.btn-verify-action.verified { 
    background-color: var(--success-emerald) !important; 
    cursor: not-allowed; 
    opacity: 1; 
}

#dynamic_pricing_wrapper { 
    grid-column: span 2; 
    width: 100%; 
}

.cash-details-box { 
    background: #fff5f5; 
    border: 2px dashed #fca5a5; 
    padding: 24px; 
    border-radius: 12px; 
    margin-bottom: 24px; 
    display: none; 
}

.legal-terms-box { 
    background: #f8fafc; 
    border: 1px solid #e2e8f0; 
    padding: 24px; 
    border-radius: 12px; 
    margin-bottom: 30px; 
}

.checkbox-item-row { 
    display: flex; 
    align-items: flex-start; 
    gap: 12px; 
    margin-bottom: 14px; 
}

.checkbox-item-row:last-child { margin-bottom: 0; }

.checkbox-item-row input[type="checkbox"] { 
    width: 20px; 
    height: 20px; 
    margin-top: 2px; 
    cursor: pointer; 
    accent-color: var(--accent-glow); 
    flex-shrink: 0; 
}

.checkbox-item-row label { 
    font-size: 13.5px; 
    font-weight: 600; 
    color: #475569; 
    line-height: 1.5; 
    cursor: pointer; 
}

.btn-form-submit { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    width: 100%; 
    height: 54px; 
    background-color: var(--primary-brand); 
    color: #ffffff; 
    font-size: 15px; 
    font-weight: 700; 
    border: none; 
    border-radius: 12px; 
    cursor: pointer; 
    transition: all 0.2s ease; 
}

.btn-form-submit:hover:not(:disabled) { 
    background-color: var(--accent-glow); 
}

.otp-modal-overlay { 
    position: fixed; 
    inset: 0; 
    background: rgba(15, 23, 42, 0.5); 
    backdrop-filter: blur(3px); 
    z-index: 9999; 
    align-items: center; 
    justify-content: center; 
    display: none; 
}

.otp-modal-box { 
    background: #ffffff; 
    width: 100%; 
    max-width: 400px; 
    padding: 35px; 
    border-radius: 16px; 
    text-align: center; 
}

/* Premium Package Grids CSS */
.package-cards-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px; 
    margin: 20px 0; 
    width: 100%; 
}

@media(max-width:600px){ 
    .package-cards-grid { grid-template-columns: 1fr; } 
}

.pricing-premium-box { 
    background: #ffffff; 
    border: 2px solid #e2e8f0; 
    border-radius: 12px; 
    padding: 20px; 
    position: relative; 
}

.pricing-premium-box.highlighted { 
    border-color: #2563eb; 
    background: #f0f7ff; 
}

.pricing-premium-box .badge-offer { 
    position: absolute; 
    top: 15px; 
    right: 15px; 
    background: #10b981; 
    color: #fff; 
    font-size: 10px; 
    font-weight: 800; 
    padding: 3px 8px; 
    border-radius: 12px; 
}

.pricing-premium-box .package-title { 
    font-size: 12px; 
    font-weight: 700; 
    color: #64748b; 
    text-transform: uppercase; 
    margin-bottom: 6px; 
}

.pricing-premium-box .package-price { 
    font-size: 24px; 
    font-weight: 800; 
    color: #0f172a; 
    display: flex; 
    align-items: baseline; 
    gap: 4px; 
}

.pricing-premium-box .package-price span { 
    font-size: 13px; 
    font-weight: 500; 
    color: #64748b; 
}

.pricing-premium-box .strike-old-price { 
    font-size: 13px; 
    text-decoration: line-through; 
    color: #94a3b8; 
    margin-top: 4px; 
    font-weight: 600; 
}

.spinner-loader {
    width: 14px;
    height: 14px;
    border: 2px solid #ffffff;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotationSpinner 0.6s linear infinite;
    margin-right: 6px;
    vertical-align: middle;
}

@keyframes rotationSpinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- PREMIUM PRICING GRID OVERHAUL DESIGN --- */
.premium-pricing-wrapper-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 25px 0 30px 0;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .premium-pricing-wrapper-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.ui-pricing-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    overflow: hidden;
}

/* Premium Green Scheme Highlighted Mode */
.ui-pricing-card.premium-deal-active {
    border-color: #10b981;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
    box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.08), 0 10px 10px -5px rgba(16, 185, 129, 0.04);
    transform: translateY(-2px);
}

.ui-pricing-card .premium-badge-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #059669 0%, #10b981 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    padding: 6px 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Compensate layout spaces if badge active */
.ui-pricing-card.premium-deal-active .card-meta-title {
    margin-top: 12px;
}

.ui-pricing-card .card-meta-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.ui-pricing-card.premium-deal-active .card-meta-title {
    color: #065f46;
}

.ui-pricing-card .card-main-price-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 16px;
}

.ui-pricing-card .currency-symbol {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
}

.ui-pricing-card .main-numeric-value {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -1px;
}

.ui-pricing-card.premium-deal-active .main-numeric-value,
.ui-pricing-card.premium-deal-active .currency-symbol {
    color: #047857;
}

.ui-pricing-card .duration-tag {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    margin-left: 4px;
}

.ui-pricing-card .card-pricing-footer-metrics {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px dashed #e2e8f0;
    padding-top: 14px;
    margin-top: 4px;
}

.ui-pricing-card.premium-deal-active .card-pricing-footer-metrics {
    border-top-color: #a7f3d0;
}

.ui-pricing-card .strike-old-price-tag {
    font-size: 14px;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: line-through;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 6px;
}

.ui-pricing-card .deal-validation-text {
    font-size: 12.5px;
    font-weight: 700;
    color: #059669;
}

.ui-pricing-card .term-split-badge {
    font-size: 12px;
    font-weight: 700;
    color: #1e40af;
    background: #eff6ff;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #bfdbfe;
    display: inline-block;
}