 :root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --bg-light-blue: #f0f9ff;
    --glass-white: rgba(255, 255, 255, 0.95);
    --text-slate: #1e293b;
    --border-light: #e2e8f0;
    --shadow-sm: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

body {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 50%, #e0f2fe 100%);
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-slate);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* --- Navigation Header --- */
.premium-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.nav-logo img {
    height: 35px;
    width: auto;
}

.btn-glass-back {
    text-decoration: none;
    color: var(--text-slate);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 8px 16px;
    background: var(--glass-white);
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
    white-space: nowrap;
}

.btn-glass-back:hover {
    background: var(--primary);
    color: white;
    transform: translateX(-3px);
}

/* --- Split Container --- */
.registration-wrapper {
    display: flex;
    gap: 4px;
    max-width: 1118px;
    margin: 0 auto;
    padding: 10px 20px 40px 20px;
}

.section-card {
    background: var(--glass-white);
    /*backdrop-filter: blur(10px);*/
    border-radius: 24px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.left-section { 
    flex: 1.4; 
}

.right-section { 
    flex: 1; 
}

.card-heading {
    margin-bottom: 25px;
    border-left: 4px solid var(--primary);
    padding-left: 12px;
}

.card-heading h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
}

/* --- Grid Layout --- */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.full-width { 
    grid-column: span 2; 
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.form-control, .form-select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    background: #ffffff;
    font-size: 0.9rem;
    transition: 0.3s;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

/* --- Select2 Custom Fixes --- */
/*.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    height: 45px;
    border: 1px solid var(--border-light) !important;
    border-radius: 12px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 45px !important;
    padding-left: 14px !important;
    font-size: 0.9rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 43px !important;
    right: 10px !important;
}

.select2-dropdown {
    border: 1px solid var(--border-light) !important;
    border-radius: 12px !important;
    overflow: hidden;
    z-index: 9999 !important;
}*/

/* --- Right Section Payment Styling --- */
.package-selector {
    background: #f8fafc;
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 20px;
    border: 1px solid var(--border-light);
}

.payment-badge {
    background: white;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border-light);
}

.qr-frame {
    background: white;
    display: inline-block;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 12px;
}

.qr-frame img { 
    width: 120px; 
    display: block;
}

.address-box {
    background: #f1f5f9;
    border-radius: 10px;
    padding: 4px;
    display: flex;
    align-items: center;
    margin-top: 15px;
    border: 1px solid var(--border-light);
}

.address-box input {
    background: transparent;
    border: none;
    padding: 10px 12px;
    flex: 1;
    font-family: monospace;
    font-size: 0.8rem;
    color: #475569;
    width: 70%;
}

.copy-trigger {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.75rem;
    white-space: nowrap;
    transition: 0.3s;
}

.copy-trigger:hover {
    background: var(--primary-dark);
}

.btn-submit-premium {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s;
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.2);
}

.btn-submit-premium:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(14, 165, 233, 0.3);
}

/* --- Mobile Responsive Fixes --- */
@media (max-width: 900px) {
    .registration-wrapper {
        flex-direction: column;
        padding: 10px 15px 30px 15px;
        gap: 15px;
    }
    
    .section-card {
        padding: 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .full-width { 
        grid-column: span 1; 
    }
    
    .premium-nav {
        padding: 10px 15px;
    }
    
    .nav-logo img {
        height: 30px;
    }
    
    .btn-glass-back {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    /* Fix for select2 on mobile */
  /*  .select2-container--default .select2-selection--single {
        height: 42px;
    }
    
    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 42px !important;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Ensure dropdown is properly positioned */
    /*.select2-container {
        z-index: 9999;
    }*/*/
    
  /*  .select2-dropdown {
        position: fixed !important;
        top: auto !important;
        left: 15px !important;
        right: 15px !important;
        width: auto !important;
        max-width: calc(100% - 30px) !important;
        margin: 0 auto !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }*/
    
    /* Form inputs */
    .form-control, .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px;
    }
    
    /* Payment section */
    .qr-frame img {
        width: 100px;
    }
    
    .address-box {
        flex-wrap: wrap;
    }
    
    .address-box input {
        width: 100%;
        font-size: 12px;
    }
    
    .copy-trigger {
        width: 100%;
        margin-top: 5px;
    }
    
    .btn-submit-premium {
        padding: 14px;
        font-size: 0.95rem;
    }
    
    /* Terms checkbox */
    .mt-4.text-center label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.85rem;
    }
    
    input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin: 0;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .section-card {
        padding: 15px;
    }
    
    .card-heading h3 {
        font-size: 1.1rem;
    }
    
    .form-group label {
        font-size: 0.7rem;
    }
    
    .payment-badge {
        padding: 15px;
    }
    
    .qr-frame img {
        width: 90px;
    }
    
    .address-box input {
        font-size: 11px;
        padding: 8px;
    }
}

/* Prevent body scroll when select2 is open on mobile */
/*.select2-container--open {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90% !important;
    max-width: 400px;
    z-index: 10000;
}*/

/* Fix for iOS */
input, select, textarea {
    -webkit-appearance: none;
    appearance: none;
    border-radius: 12px;
}

/* Spinner */
.spinner-border {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}
    :root {
        --primary: #0ea5e9;
        --primary-dark: #0284c7;
        --bg-light-blue: #f0f9ff;
        --glass-white: rgba(255, 255, 255, 0.9);
        --text-slate: #1e293b;
    }

    body {
        background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 50%, #e0f2fe 100%);
        font-family: 'Plus Jakarta Sans', sans-serif;
        color: var(--text-slate);
        margin: 0;
        padding: 0;
        min-height: 100vh;
    }

    /* --- Navigation Header --- */
    .premium-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 40px;
        max-width: 1300px;
        margin: 0 auto;
    }

    .nav-logo img {
        height: 45px;
        width: auto;
    }

    .btn-glass-back {
        text-decoration: none;
        color: var(--text-slate);
        font-weight: 700;
        font-size: 0.85rem;
        padding: 10px 20px;
        background: var(--glass-white);
        border-radius: 50px;
        display: flex;
        align-items: center;
        gap: 8px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        transition: 0.3s;
    }

    .btn-glass-back:hover {
        background: var(--primary);
        color: white;
        transform: translateX(-5px);
    }

    /* --- Split Container --- */
    .registration-wrapper {
        display: flex;
    gap: 4px;
    max-width: 1118px;
    margin: 0 auto;
    padding: 10px 20px 40px 20px;
    }

    .section-card {
        background: var(--glass-white);
        /*backdrop-filter: blur(10px);*/
        border-radius: 30px;
        padding: 40px;
        border: 1px solid rgba(255, 255, 255, 0.5);
        box-shadow: 0 20px 40px -15px rgba(0,0,0,0.05);
    }

    .left-section { flex: 1.4; } /* Personal Data */
    .right-section { flex: 1; }   /* Payment Data */

    .card-heading {
        margin-bottom: 30px;
        border-left: 5px solid var(--primary);
        padding-left: 15px;
    }

    .card-heading h3 {
        margin: 0;
        font-size: 1.3rem;
        font-weight: 800;
        color: #0f172a;
    }

    /* --- Grid Layout --- */
    .form-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .full-width { grid-column: span 2; }

    .form-group label {
        display: block;
        font-size: 0.8rem;
        font-weight: 700;
        color: #64748b;
        margin-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .form-control, .form-select {
        width: 100%;
        padding: 12px 16px;
        border-radius: 12px;
        border: 1px solid #e2e8f0;
        background: #fff;
        font-size: 0.95rem;
        transition: 0.3s;
    }

    .form-control:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
    }

    /* --- Right Section Payment Styling --- */
    .package-selector {
        background: #f8fafc;
        padding: 20px;
        border-radius: 20px;
        margin-bottom: 25px;
        border: 1px solid #e2e8f0;
    }

    .payment-badge {
        background: white;
        border-radius: 20px;
        padding: 25px;
        text-align: center;
        border: 1px solid #e2e8f0;
    }

    .qr-frame {
        background: white;
        display: inline-block;
        padding: 10px;
        border-radius: 15px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        margin-bottom: 15px;
    }

    .qr-frame img { width: 140px; }

    .address-box {
        background: #f1f5f9;
        border-radius: 10px;
        padding: 5px;
        display: flex;
        align-items: center;
        margin-top: 10px;
    }

    .address-box input {
        background: transparent;
        border: none;
        padding: 10px;
        flex: 1;
        font-family: monospace;
        font-size: 0.8rem;
        color: #475569;
    }

    .copy-trigger {
        background: var(--primary);
        color: white;
        border: none;
        padding: 8px 15px;
        border-radius: 8px;
        cursor: pointer;
        font-weight: 700;
        font-size: 0.75rem;
    }

    .btn-submit-premium {
        width: 100%;
        padding: 18px;
        background: var(--primary);
        color: white;
        border: none;
        border-radius: 50px;
        font-size: 1.1rem;
        font-weight: 800;
        cursor: pointer;
        margin-top: 25px;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
    }

    .btn-submit-premium:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 15px 25px rgba(14, 165, 233, 0.4);
    }

    /* --- Responsive --- */
    @media (max-width: 1100px) {
        .registration-wrapper { flex-direction: column; }
        .form-grid { grid-template-columns: 1fr; }
        .full-width { grid-column: span 1; }
    }:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --bg-light-blue: #f0f9ff;
    --glass-white: rgba(255, 255, 255, 0.95);
    --text-slate: #1e293b;
    --border-light: #e2e8f0;
    --shadow-sm: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

body {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 50%, #e0f2fe 100%);
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-slate);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* --- Navigation Header --- */
.premium-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.nav-logo img {
    height: 100px;
    width: auto;
}

.btn-glass-back {
    text-decoration: none;
    color: var(--text-slate);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 8px 16px;
    background: var(--glass-white);
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
    white-space: nowrap;
}

.btn-glass-back:hover {
    background: var(--primary);
    color: white;
    transform: translateX(-3px);
}

/* --- Split Container --- */
.registration-wrapper {
   display: flex;
    gap: 4px;
    max-width: 1118px;
    margin: 0 auto;
    padding: 10px 20px 40px 20px;
}

.section-card {
    background: var(--glass-white);
    /*backdrop-filter: blur(10px);*/
    border-radius: 24px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.left-section { 
    flex: 1.4; 
}

.right-section { 
    flex: 1; 
}

.card-heading {
    margin-bottom: 25px;
    border-left: 4px solid var(--primary);
    padding-left: 12px;
}

.card-heading h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
}

/* --- Grid Layout --- */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.full-width { 
    grid-column: span 2; 
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.form-control, .form-select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    background: #ffffff;
    font-size: 0.9rem;
    transition: 0.3s;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

/* --- Select2 Custom Fixes --- */
/*.select2-container {
    width: 100% !important;
    position: relative !important;
}

.select2-container--default .select2-selection--single {
    height: 45px !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 12px !important;
    background: #ffffff !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 45px !important;
    padding-left: 14px !important;
    font-size: 0.9rem;
    color: var(--text-slate) !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 43px !important;
    right: 10px !important;
}

/* Fix for dropdown positioning */
.select2-container--open {
    z-index: 999999 !important;
}

.select2-dropdown {
    border: 1px solid var(--border-light) !important;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
    z-index: 999999 !important;
}

.select2-results__option {
    padding: 10px 14px !important;
    font-size: 0.9rem;
}

.select2-results__option--highlighted[aria-selected] {
    background-color: var(--primary) !important;
}*/

/* --- Right Section Payment Styling --- */
.package-selector {
    background: #f8fafc;
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 20px;
    border: 1px solid var(--border-light);
}

.payment-badge {
    background: white;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border-light);
}

.qr-frame {
    background: white;
    display: inline-block;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 12px;
}

.qr-frame img { 
    width: 120px; 
    display: block;
}

.address-box {
    background: #f1f5f9;
    border-radius: 10px;
    padding: 4px;
    display: flex;
    align-items: center;
    margin-top: 15px;
    border: 1px solid var(--border-light);
}

.address-box input {
    background: transparent;
    border: none;
    padding: 10px 12px;
    flex: 1;
    font-family: monospace;
    font-size: 0.8rem;
    color: #475569;
    width: 70%;
}

.copy-trigger {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.75rem;
    white-space: nowrap;
    transition: 0.3s;
}

.copy-trigger:hover {
    background: var(--primary-dark);
}

.btn-submit-premium {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s;
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.2);
}

.btn-submit-premium:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(14, 165, 233, 0.3);
}

/* --- Mobile Responsive Fixes --- */
@media (max-width: 900px) {
    .registration-wrapper {
        flex-direction: column;
        padding: 10px 15px 30px 15px;
        gap: 15px;
    }
    
    .section-card {
        padding: 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .premium-nav {
        padding: 10px 15px;
    }
    
    .nav-logo img {
        /*height: 30px;*/
    }
    
    .btn-glass-back {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    /* Fix for select2 on mobile */
   /* .select2-container--default .select2-selection--single {
        height: 42px !important;
    }
    
    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 42px !important;
        font-size: 16px;
    }*/
    
    /* Ensure dropdown appears above everything */
    /*.select2-container--open {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 90% !important;
        max-width: 400px !important;
        z-index: 999999 !important;
    }
    
    .select2-dropdown {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        max-height: 300px !important;
        overflow-y: auto !important;
    }*/
    
    /* Form inputs */
    .form-control, .form-select {
        font-size: 16px;
        padding: 12px;
    }
    
    /* Payment section */
    .qr-frame img {
        width: 100px;
    }
    
    .address-box {
        flex-wrap: wrap;
    }
    
    .address-box input {
        width: 100%;
        font-size: 12px;
    }
    
    .copy-trigger {
        width: 100%;
        margin-top: 5px;
    }
    
    .btn-submit-premium {
        padding: 14px;
        font-size: 0.95rem;
    }
    
    /* Terms checkbox */
    .d-flex.align-items-center.gap-2 {
        gap: 10px !important;
    }
    
    input[type="checkbox"] {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }
    
    .small {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .section-card {
        padding: 15px;
    }
    
    .card-heading h3 {
        font-size: 1.1rem;
    }
    
    .form-group label {
        font-size: 0.7rem;
    }
    
    .payment-badge {
        padding: 15px;
    }
    
    .qr-frame img {
        width: 90px;
    }
}

/* Overlay when select2 is open on mobile */
/*.select2-container--open + .select2-overlay {
    display: block;
}

.select2-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
}
*/
/* Fix for iOS */
input, select, textarea {
    -webkit-appearance: none;
    appearance: none;
    border-radius: 12px;
}

/* Spinner */
.spinner-border {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}/* Fix for checkbox visibility */
.d-flex.align-items-center.gap-2 {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    cursor: pointer;
    padding: 8px 0;
}

/* Ensure checkbox is visible */
input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer;
    accent-color: var(--primary);
    border: 2px solid var(--border-light) !important;
    border-radius: 4px !important;
    background: white !important;
    -webkit-appearance: checkbox !important;
    appearance: checkbox !important;
    display: inline-block !important;
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* For older browsers */
input[type="checkbox"]::before {
    display: none !important;
}

/* Checkbox checked state */
input[type="checkbox"]:checked {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

/* Label styling */
.d-flex.align-items-center.gap-2 span.small {
    font-size: 0.9rem;
    color: var(--text-slate);
    line-height: 1.5;
    flex: 1;
}

/* Link styling */
.d-flex.align-items-center.gap-2 span.small a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.d-flex.align-items-center.gap-2 span.small a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .d-flex.align-items-center.gap-2 {
        gap: 10px !important;
        padding: 10px 0;
    }
    
    input[type="checkbox"] {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        min-height: 22px !important;
    }
    
    .d-flex.align-items-center.gap-2 span.small {
        font-size: 0.85rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    input[type="checkbox"] {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
    }
    
    .d-flex.align-items-center.gap-2 {
        align-items: flex-start !important;
    }
    
    .d-flex.align-items-center.gap-2 span.small {
        line-height: 1.4;
    }
}.address-box{
    display:flex;
    align-items:center;
    gap:10px;
}

.address-box input{
    flex:1;
}

.copy-trigger{
    white-space:nowrap;
}.payment-badge{
    margin-bottom:15px; /* reduce bottom space */
}

.qr-frame{
    text-align:center;
    margin-bottom:8px; /* reduce gap */
}

.payment-badge p{
    margin-bottom:10px;
}

.address-box{
    display:flex;
    align-items:center;
    width:100%;
}

.address-box input{
    flex:1;
    padding:8px 10px;
    border:1px solid #ddd;
    border-right:0;
    border-radius:6px 0 0 6px;
    font-size:14px;
}

.copy-trigger{
    padding:8px 16px;
    background:#3b82f6;
    color:#fff;
    border:none;
    border-radius:0 6px 6px 0;
    cursor:pointer;
    font-size:14px;
}

.copy-trigger:hover{
    background:#2563eb;
}.address-box {
    width: 100%;
}

.address-box .d-flex {
    width: 100%;
}

.address-box input[type="text"] {
    flex: 1 1 auto;
    min-width: 0; /* Prevents flex item from overflowing */
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.address-box .copy-trigger {
    padding: 8px 16px;
    background: #0ea5e9;
    border: 1px solid #ddd;
    border-left: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.address-box .copy-trigger:hover {
    background: #0ea5e9;
} :root {
        --primary: #2c3e50;
        --primary-dark: #1a252f;
        --danger: #e74c3c;
        --border: #e1e8ed;
        --text: #4a5568;
        --text-light: #718096;
        --white: #ffffff;
        --transition: all 0.2s ease;
    }

    /* Two column layout */
    .two-column-layout {
        display: flex;
        gap: 25px;
        /*align-items: flex-start;*/
        max-width: 1200px;
        margin: 0 auto;
        padding: 0px;
    }

    /* Left Column - Form */
    .form-column {
        flex: 2;

        /*background: #f8f9fa;*/
    /*padding: 17px;*/
    border-radius: 20px;
    }

    /* Right Column - Summary */
    .summary-column {
        flex: 1;
        position: sticky;
        top: 20px;
    }

    /* Form sections */
    .form-section {
        margin-bottom: 25px;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--border);
    }

    .form-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .section-header {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 15px;
    }

    .section-icon {
        width: 28px;
        height: 28px;
        background: #f0f2f5;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
        font-size: 0.9rem;
    }

    .section-header h3 {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--primary);
        margin: 0;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Form grid */
    .form-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .form-group {
        margin-bottom: 0;
    }

    .form-label {
        display: block;
        font-size: 0.75rem;
        font-weight: 500;
        color: var(--text);
        margin-bottom: 4px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    .form-control, .form-select {
        width: 100%;
        padding: 8px 12px;
        font-size: 0.85rem;
        border: 1.5px solid var(--border);
        border-radius: 6px;
        transition: var(--transition);
        background: var(--white);
        color: var(--text);
    }

    .form-control:focus, .form-select:focus {
        border-color: var(--primary);
        outline: none;
        box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
    }

    /* Readonly input */
    .form-control[readonly] {
        background-color: #f8f9fa;
        cursor: default;
    }

    /* Summary card - minimal styling */
    .summary-card {
        background: #f8f9fa;
        border-radius: 10px;
        padding: 20px;
        margin-bottom: 20px;
    }

    .summary-card:last-child {
        margin-bottom: 0;
    }

    .summary-title {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--primary);
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    /* QR Code */
    .qr-container {
        text-align: center;
        padding: 15px;
        background: var(--white);
        border-radius: 10px;
        margin-bottom: 15px;
    }

    .qr-image {
        width: 100px;
        height: 100px;
        margin: 0 auto 8px;
        padding: 6px;
        background: var(--white);
        border-radius: 8px;
        border: 1px solid var(--border);
    }

    .qr-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .qr-label {
        font-size: 0.75rem;
        color: var(--text-light);
        margin: 0;
    }

    /* Wallet address */
    .wallet-container {
        background: var(--white);
        border-radius: 8px;
        padding: 12px;
        margin-bottom: 15px;
    }

    .wallet-label {
        font-size: 0.65rem;
        text-transform: uppercase;
        color: var(--text-light);
        margin-bottom: 6px;
        font-weight: 500;
    }

    .wallet-box {
        display: flex;
        gap: 6px;
    }

    .wallet-box input {
        flex: 1;
        font-size: 0.7rem;
        padding: 6px 8px;
        border: 1px solid var(--border);
        border-radius: 4px;
        background: #f8f9fa;
        font-family: monospace;
    }

    .btn-copy {
        padding: 6px 10px;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 4px;
        font-size: 0.65rem;
        font-weight: 500;
        color: var(--text);
        cursor: pointer;
        transition: var(--transition);
    }

    .btn-copy:hover {
        background: var(--primary);
        color: var(--white);
        border-color: var(--primary);
    }

    /* File upload */
    .upload-container {
        background: var(--white);
        border-radius: 8px;
        padding: 12px;
        margin-bottom: 15px;
    }

    .file-input {
        width: 100%;
        padding: 6px;
        font-size: 0.75rem;
        border: 1px dashed var(--border);
        border-radius: 4px;
        background: #f8f9fa;
        cursor: pointer;
    }

    .file-input:hover {
        border-color: var(--primary);
    }

    /* Terms */
    .terms-container {
        background: var(--white);
        border-radius: 8px;
        padding: 12px;
        margin-bottom: 15px;
    }

    .checkbox-wrapper {
        display: flex;
        align-items: flex-start;
        gap: 8px;
    }

    .checkbox-wrapper input[type="checkbox"] {
        width: 14px;
        height: 14px;
        margin-top: 2px;
        cursor: pointer;
    }

    .checkbox-wrapper label {
        font-size: 0.8rem;
        color: var(--text);
        cursor: pointer;
        line-height: 1.4;
    }

    .checkbox-wrapper label a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 500;
    }

    .checkbox-wrapper label a:hover {
        text-decoration: underline;
    }

    /* Submit button */
    .btn-submit {
        width: 100%;
        padding: 12px;
        background: var(--primary);
        color: var(--white);
        border: none;
        border-radius: 6px;
        font-size: 0.9rem;
        font-weight: 500;
        cursor: pointer;
        transition: var(--transition);
        margin-bottom: 12px;
    }

    .btn-submit:hover {
        background: var(--primary-dark);
    }

    .btn-submit:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

    /* Login link */
    .login-link {
        text-align: center;
        font-size: 0.8rem;
        color: var(--text-light);
    }

    .login-link a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
        margin-left: 4px;
    }

    .login-link a:hover {
        text-decoration: underline;
    }

    /* Validation */
    .text-danger {
        font-size: 0.65rem;
        color: var(--danger);
        margin-top: 2px;
    }

    #sponsor_full_name {
        font-size: 0.65rem;
        display: block;
        margin-top: 2px;
    }

    /* Select2 customization */
    .select2-container--default .select2-selection--single {
        height: 36px;
        border: 1.5px solid var(--border);
        border-radius: 6px;
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 33px;
        font-size: 0.85rem;
        color: var(--text);
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 34px;
    }

    /* Text muted */
    .text-muted {
        color: var(--text-light);
        font-size: 0.7rem;
        margin-top: 4px;
    }

    /* Premium nav adjustments */
    .premium-nav {
        margin-bottom: 10px;
    }

    /* Responsive */
    @media (max-width: 900px) {
        .two-column-layout {
            flex-direction: column;
            /*padding: 15px;*/
        }
        
        .summary-column {
            position: static;
            width: 100%;
        }
        
        .form-grid {
            grid-template-columns: 1fr;
            gap: 12px;
        }
    }
      .payment-option-card {
        cursor: pointer;
        transition: all 0.3s ease;
        /*border: 2px solid transparent;*/
        border-radius: 12px;
        padding: 15px;
        background: linear-gradient(145deg, #ffffff 0%, #f8faff 100%);
        margin-bottom: 15px;
    }
    
    .payment-option-card.selected {
        border-color: #667eea;
        box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
        transform: translateY(-2px);
    }
    
    .payment-option-card.bnb.selected {
        border-color: #d2d2d2;
    }
    
    .payment-option-card.usdt.selected {
        border-color: #dadada;
    }
    
    .payment-option-header {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .payment-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        color: white;
    }
    
    .payment-icon.bnb {
        background: linear-gradient(135deg, #d2d2d2 0%, #f8d12f 100%);
    }
    
    .payment-icon.usdt {
        background: linear-gradient(135deg, #dadada 0%, #2ecc71 100%);
    }
    
    .payment-info {
        flex: 1;
    }
    
    .payment-name {
        font-weight: 600;
        margin-bottom: 4px;
    }
    
    .payment-network {
        font-size: 12px;
        color: #6c757d;
    }
    
    .radio-custom {
        width: 20px;
        height: 20px;
        border: 2px solid #dee2e6;
        border-radius: 50%;
        display: inline-block;
        position: relative;
    }
    
    .payment-option-card.selected .radio-custom {
        border-color: #667eea;
    }
    
    .payment-option-card.selected .radio-custom::after {
        content: '';
        width: 12px;
        height: 12px;
        background: #667eea;
        border-radius: 50%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .payment-option-card.bnb.selected .radio-custom {
        border-color: #d2d2d2;
    }
    
    .payment-option-card.bnb.selected .radio-custom::after {
        background: #d2d2d2;
    }
    
    .payment-option-card.usdt.selected .radio-custom {
        border-color: #dadada;
    }
    
    .payment-option-card.usdt.selected .radio-custom::after {
        background: #dadada;
    }
    
    .qr-section {
        display: none;
        animation: fadeIn 0.5s ease;
    }
    
    .qr-section.active {
        display: block;
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }