:root {
    --primary-colour: #4b0983;
    --primary-colour-hover: #6a0fb8;
    --primary-colour-disable: #a88cc4;
    --light-primary-color: #865aab;
    --secondary-colour: #ff43bf;
    --secondary-colour-hover: #f46fc8;
    --neutral-colour: #aaaaaa;
    --light-purple: #f1e0ff;
    --default-font-size: 16px;
    --light-gray: #4c4c4c;
    --success-colour: #55d638;
    --success-colour-hover: #58e438;
    --green-colour: #008000;
    --green-colour-hover: #009e00;
    --warning-colour: #ffef72;
    --danger-colour: #af2722;
    --default-text-colour: #171a1c;
    --disabled-colour: #f0f4f8;
    --disabled-text-colour: #9fa6ad;

    --swiper-navigation-size: 20px;
    --swiper-navigation-padding: 18px;
    --swiper-navigation-total-width: calc(
        var(--swiper-navigation-size) +
            calc(var(--swiper-navigation-padding) * 2)
    );
    --swiper-pagination-color: #c6c6c6;
    --swiper-pagination-bullet-inactive-color: #d4d4d480;
    --swiper-pagination-bullet-inactive-opacity: 1;

    --progress-step-width: 35px;
    --bs-border-width: 5px;

    --bs-text-opacity: 1;

    --bs-amber-50: #fffbeb;
    --bs-amber-100: #fef3c7;
    --bs-amber-200: #fde68a;
    --bs-amber-400: #fbbf24;
    --bs-amber-500: #f59e0b;
    --bs-amber-600: #d97706;
    --bs-amber-900: #78350f;
    --bs-slate-50: #f8fafc;
    --bs-slate-100: #f1f5f9;
    --bs-slate-200: #e2e8f0;
    --bs-slate-300: #cbd5e1;
    --bs-slate-400: #94a3b8;
    --bs-slate-500: #64748b;
    --bs-slate-600: #475569;
    --bs-slate-800: #0f172a;
    --bs-emerald-50: #ecfdf5;
    --bs-emerald-100: #d1fae5;
    --bs-emerald-200: #a7f3d0;
    --bs-emerald-300: #6ee7b7;
    --bs-emerald-400: #34d399;
    --bs-emerald-500: #10b981;
    --bs-emerald-600: #059669;
    --bs-emerald-700: #047857;
    --bs-indigo-50:  #eef2ff;
    --bs-indigo-100: #e0e7ff;
    --bs-indigo-200: #c7d2fe;
    --bs-indigo-300: #a5b4fc;
    --bs-indigo-400: #818cf8;
    --bs-indigo-500: #6366f1;
    --bs-indigo-600: #4f46e5;
    --bs-indigo-700: #4338ca;
    --bs-indigo-800: #3730a3;
    --bs-indigo-900: #312e81;
    --bs-indigo-950: #1e1b4b;
    --bs-pink-50: #fdf2f8;
    --bs-pink-400: #f472b6;
    --bs-pink-500: #ec4899;
    --bs-pink-600: #db2777;
    --bs-blue-50: #eff6ff;
    --bs-blue-400: #60a5fa;
    --bs-blue-500: #3b82f6;
    --bs-blue-600: #2563eb;
    --bs-red-50: #fef2f2;
    --bs-red-400: #f87171;
    --bs-red-500: #ef4444;
    --bs-red-600: #dc2626;

    /* DYNAMIC COLOR CLASSES */
    .bg-emerald-500 {
        background-color: var(--bs-emerald-500) !important;
    }

    .text-emerald-500 {
        color: var(--bs-emerald-500) !important;
    }

    .shadow-emerald-500-30 {
        box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3) !important;
    }

    .bg-indigo-500 {
        background-color: var(--bs-indigo-500) !important;
    }

    .text-indigo-500 {
        color: var(--bs-indigo-500) !important;
    }

    .shadow-indigo-500-30 {
        box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3) !important;
    }

    .bg-pink-500 {
        background-color: var(--bs-pink-500) !important;
    }

    .text-pink-500 {
        color: var(--bs-pink-500) !important;
    }

    .shadow-pink-500-30 {
        box-shadow: 0 10px 15px -3px rgba(236, 72, 153, 0.3) !important;
    }

    .bg-amber-500 {
        background-color: var(--bs-amber-500) !important;
    }

    .text-amber-500 {
        color: var(--bs-amber-500) !important;
    }

    .shadow-amber-500-30 {
        box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.3) !important;
    }

    .bg-blue-500 {
        background-color: var(--bs-blue-500) !important;
    }

    .text-blue-500 {
        color: var(--bs-blue-500) !important;
    }

    .shadow-blue-500-30 {
        box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3) !important;
    }

    .bg-red-500 {
        background-color: var(--bs-red-500) !important;
    }

    .text-red-500 {
        color: var(--bs-red-500) !important;
    }

    .shadow-red-500-30 {
        box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.3) !important;
    }

    /* Helpers */
    .text-amber-600 {
        color: var(--bs-amber-600);
    }

    .text-slate-800 {
        color: var(--bs-slate-800);
    }

    .text-slate-500 {
        color: var(--bs-slate-500);
    }

    .text-slate-400 {
        color: var(--bs-slate-400);
    }

    /* ✨ RGB versions (Updated to match hex) */
    --primary-rgb: 75, 9, 130;
    --primary-hover-rgb: 93, 70, 52;
    --secondary-rgb: 212, 167, 82;
    --secondary-hover-rgb: 226, 190, 122;
    --neutral-rgb: 170, 170, 170;
    --light-navy-rgb: 230, 235, 245;
    --light-gray-rgb: 76, 76, 76;
    --success-rgb: 85, 214, 56;
    --success-hover-rgb: 88, 228, 56;
    --green-rgb: 0, 128, 0;
    --green-hover-rgb: 0, 158, 0;

    --swiper-navigation-size: 20px;
    --swiper-navigation-padding: 18px;
    --swiper-navigation-total-width: calc(
        var(--swiper-navigation-size) +
            calc(var(--swiper-navigation-padding) * 2)
    );
    --swiper-pagination-color: #c6c6c6;
    --swiper-pagination-bullet-inactive-color: #d4d4d480;
    --swiper-pagination-bullet-inactive-opacity: 1;

    --progress-step-width: 35px;
    --bs-border-width: 2px;

    /* font size (default: 16px) */
    --fs-default: 1rem;
    --fs-900: 4.5rem;
    /* 72px */
    --fs-800: 3.5rem;
    /* 56px */
    --fs-700: 2rem;
    /* 32px */
    --fs-600: 1.75rem;
    /* 28px */
    --fs-550: 1.5rem;
    /* 24px */
    --fs-500: 1.25rem;
    /* 20px */
    --fs-400: 1.125rem;
    /* 18px */
    --fs-300: 1rem;
    /* 16px */
    --fs-200: 0.875rem;
    /* 14px */
    --fs-100: 0.75rem;
    /* 12px */
    --fs-000: 0.75rem;
    /* 9px */

    /* font weight */
    --fw-900: 900;
    --fw-700: 700;
    --fw-600: 600;
    --fw-normal: normal;
}

/* included in Bootstrap 5.3 */
.fs-1 {
    font-size: calc(1.375rem + 1.5vw) !important;
}

.fs-2 {
    font-size: calc(1.325rem + 0.9vw) !important;
}

.fs-3 {
    font-size: calc(1.3rem + 0.6vw) !important;
}

.fs-4 {
    font-size: calc(1.275rem + 0.3vw) !important;
}

.fs-5 {
    font-size: 1.25rem !important;
}

.fs-6 {
    font-size: 1rem !important;
}

/* Not included in Bootstrap 5.3 by default */
.fs-7 {
    font-size: 0.75rem !important;
}

/* Not included in Bootstrap 5.3 by default */
.fs-7 {
    font-size: 0.875rem !important;
}


body {
    font-size: var(--fs-default) !important;
    /* font-family: "Rethink Sans", sans-serif !important; */
    background-color: var(--bs-slate-50);
    color: #0f172a;
    background: #F4F6F9;
    font-family: "Poppins";

}

/* make sure the footer is always at the bottom */
.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.wrapper > :not(.footer-wrapper) {
    flex-shrink: 0;
}

.footer-wrapper {
    margin-top: auto;
}

.footer-anchor{
    font-weight: bold;
    color:white;
}

.footer-anchor:hover{
    color:white;
}


.form-control::placeholder,
.form-select::placeholder,
.form-control-custom::placeholder {
    color: var(--bs-slate-400) !important;
    opacity: 0.8 !important;
    font-weight: 400 !important;
}

.form-control,
.form-select {
    color: var(--bs-slate-800) !important;
    font-weight: 500 !important;
    border-color: var(--bs-slate-200);
    /* padding: 0.75rem 1rem; */
    border-radius: 0.5rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--bs-indigo-400);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-control[readonly]{
    background-color: #f6f6f6 !important;
}

.select2-container--bootstrap-5 .select2-selection {
    border-color: var(--bs-border-color);
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: var(--bs-indigo-400) !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1) !important;
}

.select2-container--bootstrap-5 .select2-search__field:focus {
    border-color: var(--bs-indigo-400) !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1) !important;
}

.select2-container--bootstrap-5 .select2-dropdown {
    border-color: var(--bs-indigo-400) !important;
}

.uppercase-input {
    text-transform: uppercase;
}

.checkbox-card-wrapper {
    border: 2px solid var(--bs-slate-200);
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.form-select {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkbox-card-wrapper:hover {
    background: var(--bs-slate-50);
}
.checkbox-card-wrapper:has(input:checked) {
    border-color: var(--primary-colour);
    background: rgba(var(--primary-rgb), 0.05);
}

/* Primary Button */
.btn.btn-primary-app {
    color: #fff;
    background-color: var(--primary-colour);
    border-color: var(--primary-colour);
}

.btn.btn-primary-app:hover {
    color: #fff;
    background-color: var(--primary-colour-hover);
    border-color: var(--primary-colour-hover);
}

.btn.btn-primary-app:focus,
.btn.btn-primary-app.focus {
    color: #fff;
    background-color: var(--primary-colour-hover);
    border-color: var(--primary-colour-hover);
    box-shadow: 0 0 0 0.25rem rgba(49, 132, 253, 0.25);
}

.btn.btn-primary-app:active,
.btn.btn-primary-app.active,
.show > .btn.btn-primary-app.dropdown-toggle {
    color: #fff;
    background-color: var(--primary-colour-hover);
    border-color: var(--primary-colour-hover);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn.btn-primary-app:disabled,
.btn.btn-primary-app.disabled {
    color: #fff;
    background-color: var(--primary-colour);
    border-color: var(--primary-colour);
    opacity: 0.65;
}


/* Secondary Button */
.btn.btn-secondary-app {
    color: #fff;
    background-color: var(--secondary-colour);
    border-color: var(--secondary-colour);
}

.btn.btn-secondary-app:hover {
    color: #fff;
    background-color: var(--secondary-colour-hover);
    border-color: var(--secondary-colour-hover);
}

.btn.btn-secondary-app:focus,
.btn.btn-secondary-app.focus {
    color: #fff;
    background-color: var(--secondary-colour-hover);
    border-color: var(--secondary-colour-hover);
    box-shadow: 0 0 0 0.25rem rgba(49, 132, 253, 0.25);
}

.btn.btn-secondary-app:active,
.btn.btn-secondary-app.active,
.show > .btn.btn-secondary-app.dropdown-toggle {
    color: #fff;
    background-color: var(--secondary-colour-hover);
    border-color: var(--secondary-colour-hover);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn.btn-secondary-app:disabled,
.btn.btn-secondary-app.disabled {
    color: #fff;
    background-color: var(--secondary-colour);
    border-color: var(--secondary-colour);
    opacity: 0.65;
}

.web-action-btn {
    width: 200px !important;
}
/* ============================= */
/* ======== Step Progress ======== */
/* ============================= */

.progress-container {
    position: relative;
    margin: 20px 5% 20px 5%; /* Bottom margin for labels */
    --step-percent: calc(100% / var(--total-steps));
}

.progress {
    position: absolute;
    top: calc(var(--progress-step-width) / 2);
    left: calc(var(--step-percent) / 2);
    width: calc(100% - var(--step-percent));
    height: 4px;
    background: #ddd;
    z-index: 1;
    transform: translateY(-50%); /* Clean vertical centering */
    --bs-progress-bar-bg: var(--primary-colour) !important;
    --bs-progress-height: 0.25rem !important;
    border-radius: 10px;
}

.progress-bar {
    height: 100%;
    width: 0%;
    transition: width 0.4s ease-in-out;
    border-radius: 10px;
    background-color: var(--primary-colour) !important;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.step-wrapper {
    flex: 1;
    text-align: center;
}

.step {
    width: var(--progress-step-width);
    height: var(--progress-step-width);
    background: #eaeaea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #aaaaaa;
    transition: 0.3s;
    margin: 0 auto;
    font-size: 0.9rem;
    z-index: 3;
}

.step.active,
.step.completed {
    background: var(--primary-colour);
    color: #fff;
}

.step.completed {
    cursor: pointer;
}

.step-label {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: normal;
    color: #1d1729;
}

.step-panel {
    display: none;
}

.step-panel.active {
    display: block;
}


/* ========================== */
/* ========== NAV ========== */
/* ========================== */

.img-logo {
    max-width: 175px;
    height: auto;
    width: 100%;
}

.nav-lang-pill {
    background: #ffffff;
    border: 1px solid var(--bs-slate-200);
    border-radius: 50rem;
    padding: 0.4rem 1rem 0.4rem 0.85rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    color: var(--bs-slate-600);
}

.nav-lang-pill:hover,
.nav-lang-pill[aria-expanded="true"] {
    background: var(--bs-slate-50);
    border-color: var(--bs-amber-300);
    box-shadow: 0 6px 15px rgba(245, 158, 11, 0.1);
    transform: translateY(-1px);
}

.nav-lang-pill::after {
    display: none !important;
}

.transition-transform {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;

    /* Existing Styles */
    border: 1px solid var(--bs-slate-200);
    border-radius: 1rem;
    padding: 0.5rem;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    min-width: 140px;
    margin-top: 0.5rem !important;
    animation: fadeInDropdown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.premium-dropdown-menu .dropdown-item {
    font-family: "Poppins", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bs--600);
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
    background-color: transparent;
    border: none;
}

.premium-dropdown-menu .dropdown-item:hover,
.premium-dropdown-menu .dropdown-item:focus {
    background: var(--bs-slate-50);
    color: var(--bs-slate-900);
}

.premium-dropdown-menu .dropdown-item.active,
.premium-dropdown-menu .dropdown-item:active {
    background: var(--bs-indigo-50);
    color: var(--primary-colour);
}

.custom-vh {
    min-height: calc(100vh - 110px);
}

.nav-lang-text{
    color: var(--primary-colour);
    font-size: 0.85rem;
    font-family: 'Poppins', sans-serif;
}

.eligibility-title-section{
    justify-content: center;
    align-items: center;
    align-self: stretch;
    text-align:center
}

.eligibility-title{
    font-weight: 700;
    font-size:30px;
}

.eligibility-subtitle{
    color:#32383E;
    font-size:16px;
}

.eligibility-description{
    font-weight: 600;
    font-size: 18px;
}

.complete-payment-title{
    font-weight: 700;
    font-size:32px;
}

.complete-payment-subtitle{
    color:#32383E;
    font-size:18px;
}


.card{
    box-shadow: 0 0 20px 2px rgba(206, 218, 236, 0.30);
    border-radius: 16px;
}

/* Background Colors */
.bg-primary-app {
    background: var(--primary-colour) !important;
}

.bg-secondary-app {
    background: var(--secondary-colour) !important;
}

.fw-400{
    font-weight: 400;
}

.fw-500{
    font-weight: 500;
}

.fw-600{
    font-weight: 600;
}

.eligibility-inside-card{
    box-shadow: 0 0 20px 2px rgba(206, 218, 236, 0.30);
    border-radius: 12px;
    background: #F4F4F4;
}

.warning-icon{
    width: 44px;
    height: 44px;
    aspect-ratio: 1/1;
}

.purple-check-icon{
    width: 20px;
    height: 20px;
    margin-top:2px;
}

.pointer{
    cursor: pointer !important;
}

.occupation{
    padding-left:5px;
    font-size:16px;
    color:#32383E;
}

.eligible-no-btn{
    border-radius: 60px;
    background: var(--primary-colour);
    color: white;
    font-size: var(--fs-default);
}

.eligible-no-btn:hover {
    background: var(--primary-colour-hover);
    color: white;
}

.eligible-no-btn:disabled {
    background: var(--primary-colour-disable);
    color: #f5f5f5;
    cursor: not-allowed;
    opacity: 1;
}


.eligible-yes-btn{
    border-radius: 60px;
    background: #F0F4F8;
    color: #9FA6AD;
    font-size: var(--fs-default);
}

.eligible-yes-btn:hover {
    background: #dfe7ef; /* darker shade */
    color: #9FA6AD;
}

.red-warning-icon{
    width: auto;
    height: 58px;
}

.yes-modal-content {
    border-radius: 8px !important;
    border: none !important;
}

.form-label{
    font-weight: 500;
    font-size: 14px;
}


/* ========================== */
/* ========== Nationality radio button ========== */
/* ========================== */

/* Each label acts as a single selectable control */
.nat {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap);
    padding: 20px 12px;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s, transform 0.12s;
    margin-bottom: 8px;
    border: var(--bs-border-width) solid var(--bs-border-color);
    font-weight: medium;
}

.nat:has(input[type="radio"]:disabled) {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
    background-color: var(--bs-primary-bg, #e9ecef);
    border-color: var(--bs-border-color);
}

.nat > input[type="radio"]:disabled {
    cursor: not-allowed;
}

/* subtle hover/focus states */
.nat:hover {
    background: rgba(var(--primary-rgb), 0.06);
    transform: translateY(-1px);
}

.nat:focus-within {
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.08);
}

/* Hide the native radio/checkbox but keep it accessible */
.nat input[type="radio"],
.nat input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: auto;
}

/* Style the whole card when either radio OR checkbox is checked */
.nat:has(input[type="radio"]:checked),
.nat:has(input[type="checkbox"]:checked) {
    background: rgba(var(--primary-rgb), 0.1);
    border: 2px solid var(--primary-colour);
    color: var(--primary-colour);
    font-weight: 600;
}

/* check icon container — positioned above the control */
.check-icon {
    position: absolute;
    top: -10px;
    /* lifts it above the control */
    left: 50%;
    /* align center */
    transform: translate(-50%, -2px) scale(0);
    transform-origin: center;
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    background: var(--primary-colour);
    color: white;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    box-shadow: 0 6px 14px rgba(var(--primary-rgb), 0.18);
    transition: transform 0.16s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.12s;
    opacity: 0;
    pointer-events: none;
}

/* Label text styling */
.label-text {
    font-size: 14px;
    color: var(--light-gray);
}

/* When radio/checkbox is checked: show check icon + change border */
.nat input[type="radio"]:checked + .check-icon,
.nat input[type="checkbox"]:checked + .check-icon {
    transform: translate(-50%, -2px) scale(1);
    opacity: 1;
}

.nat input[type="radio"]:checked + .check-icon + .custom-radio,
.nat input[type="checkbox"]:checked + .check-icon + .custom-radio {
    border-color: rgba(var(--primary-rgb), 0.95);
    box-shadow: 0 4px 18px rgba(var(--primary-rgb), 0.07);
}

.nat input[type="radio"]:checked + .check-icon + .custom-radio::after,
.nat input[type="checkbox"]:checked + .check-icon + .custom-radio::after {
    transform: scale(1);
}

.purple-btn{
    background: var(--primary-colour);
    color:white
}

.purple-btn:hover {
    background: var(--primary-colour-hover);
    color: white;
}

/* .next-btn{
    border-radius: 60px;
    display: flex;
    width: 100px;
    height: 44px;
    padding: 4px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
} */

.benefit-banner{
    border-radius:8px
}

.benefit-item {
    display: flex;
    gap: 10px;
    align-items: center;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.benefit-item span {
    flex: 1;
    min-width: 0;
}

.personal-edit-btn {
    color: #0d6efd;
    text-decoration: underline;
    cursor: pointer;
}

.personal-edit-btn:hover,
.personal-edit-btn:focus {
    color: #0a58ca;
    text-decoration: underline;
}

.custom-checkbox {
    width: 24px;
    height: 24px;
    margin-top: 0 !important;
}

.radio-box {
    padding: 16px;
    border-radius: 0.7rem !important;
    cursor: pointer !important;
}

.radio-box .d-flex {
    gap: 0.8rem;
}

.radio-box input {
    margin-top: 0px;
}

.radio-box label {
    margin-top: 0px;
    cursor: pointer !important;
}

.form-check-input:checked {
    background-color: var(--primary-colour) !important;
    border-color: var(--primary-colour) !important;
}

.form-check-input[type="checkbox"]:indeterminate {
    background-color: var(--bs-form-check-bg) !important;
    border-color: var(--bs-border-color) !important;
    --bs-form-check-bg-image: unset !important;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(79, 70, 229, 0.25);
}


/* .radio-box {
    border-radius: 0.7rem !important;
    cursor: pointer !important;
}

.radio-box .d-flex {
    gap: 0.8rem;
}

.radio-box input {
    margin-top: 0px;
}

.radio-box > label {
    padding: 16px;
    margin-top: 0px;
    padding-left: 45px;
}

.radio-box * {
    cursor: pointer !important;
} */

.payment-logos {
    object-fit: contain !important;
    width: auto !important;
    height: 48px !important;
}

.payment-small-text{
    font-size:11px
}

.voucher-section{
    border-radius: 12px;
    background-color: #F5F7FC;
    padding-top:18px;
    padding-bottom:18px;
}

.discount-icon{
    height: 16px;
    width: 16px;
}

.redeem-checkbox {
    width: 3rem !important;
    height: 1.5rem !important;
}

.pink-line-before-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 18px;
    background-color: #FF43BF; /* pink */
    margin-right: 8px;
    vertical-align: middle;
    border-radius: 2px;
}

hr{
    background:#D6DEE4;
}

.total-payment-section{
    background: #FF43BF;
    color:white;
    border-radius: 12px;
}

#payment-pink-bg {
    height: 54px;
    padding: 12px 20px;
}

#payment-pink-bg > div {
    width: 100%;
}

#payment-pink-bg > div > span {
    width: 30%;
}

#payment-pink-bg > div > div {
    width: 70%;
    text-align: right;
}

.total-payable-rm {
    font-size: 0.7rem;
}

.total-payable {
    font-size: 1.2rem;
}

.total-monthly-rm {
    font-size: 0.8rem;
}

.monthly-charge-amount {
    font-size: 1.2rem;
}

/* Mobile Only */
.monthly-charge-wrapper .monthly-charge-amount {
    font-size: 1.8rem;
}

.summary-total-payable {
    font-size: 1.2rem !important;
}

.important-note-section{
    font-size: 14px;
    background: #F3F3F3;
    color:black;
    padding: var(--2, 16px);
    border-radius: 12px;
}

.pidm-logo{
    width:50px;
    height:auto;
}

.indent {
    margin-bottom: 2px;
    padding-left: 12px;
}

.bottom-summary-price{
    color: #F020A8;
    font-weight: 600;
    font-size:20px;
}

.bottom-summary-price .mobile-rm{
    font-size:0.6rem;
}

.mobile-eye-icon{
    font-size:12px;
    color: var(--primary-colour);
    cursor: pointer;
}


.checkout-btn{
    height: 48px;
    border-radius: 50rem;
    background: var(--primary-colour);
    color:white
}

.checkout-btn:hover {
    background: var(--primary-colour-hover);
    color: white;
}

.checkout-btn:disabled {
    background: var(--primary-colour-disable);
    color: #f5f5f5;
    cursor: not-allowed;
    opacity: 1;
}

#mobilePaymentDetails .card{
    height:100vh
}

.cursor-pointer{
    cursor: pointer;
}

/* voucher */
.providerVoucherBtnText,
.platformVoucherBtnText {
    font-size: 0.9rem;
}

.voucher-radio-wrapper:has(input[type="radio"]:checked) {
    /* border: 2px solid var(--primary-colour) !important; */
    box-shadow: 0px 1px 5px 0px var(--primary-colour) !important;
    /* box-shadow: 0 0 0 0.15rem rgba(var(--primary-colour), 0.25) !important; */
}

.voucher-modal .modal-content {
    max-height: 85dvh;
}

.voucher-modal .modal-body {
    overflow-y: auto;
    padding-bottom: 0;
}

.vouchers-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.voucher-wrapper {
    position: relative;
    flex: 1;
    border-radius: 12px;
    border: 2px solid #ddd;
    min-height: 120px;
    min-width: 300px;
    display: flex;
    gap: 0.8rem;
    cursor: pointer;
}

.voucher-wrapper:last-of-type {
    flex: 0;
}

.voucher-icon-box {
    position: relative;
    background: var(--primary-colour);
    min-width: 120px;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 16px 0px 0px 16px;
    margin: -2px 0px -2px -2px;

    & > img {
        position: absolute;
        width: 100%;
        left: -40%;
    }
}

.voucher-detail-box {
    display: flex;
    flex-direction: column;
    justify-content: center;

    & p {
        margin: 0;
    }

    & .voucher-type {
        width: max-content;
        background-color: var(--secondary-colour);
        padding: 2px 8px;
        border-radius: 18px;
        color: #fff;
        font-size: 12px;
    }

    & .voucher-amount {
        margin-top: 9px;
        line-height: 90%;
        font-size: 18px;
        font-weight: 700;

        & span {
            font-size: 12px;
            font-weight: normal;
        }
    }

    & .voucher-period {
        margin-top: 9px;
        font-size: 12px;
    }
}

.voucher-option {
    position: absolute;
    top: 10px;
    right: 30px;
}

.voucher-radio {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 16px;
    height: 16px;
    border: 2px solid #ddd;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.voucher-option:checked + .voucher-radio {
    border-color: var(--primary-colour);
    background-color: var(--primary-colour);
}

.voucher-radio::after {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease;
}

.voucher-option:checked + .voucher-radio::after {
    transform: translate(-50%, -50%) scale(1);
}

.voucher-action-box {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    align-items: flex-end;
}

.mobile-chevron-right{
    font-size:12px
}

.bg-payment {
    background-color: #f7f7f7 !important;
}

.error-modal {
    border-radius: 16px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.error-modal-btn {
    top: 20px;
    right: 20px;
    opacity: 0.6;
}

.lottie-error-container {
    width: 55px;
    height: 55px;
}

.error-modal-click-btn {
    padding: 0.5rem 3rem !important;
    border-radius: 50px !important;
}

/* Sidebar end  */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading .spinner {
    font-size: 2.5rem;
    color: var(--primary-colour);
}

.text-primary-app {
    color: var(--primary-colour) !important;
}

.text-secondary-app {
    color: var(--secondary-colour) !important;
}

.back-btn-line{
    color: var(--primary-colour) !important;
}

.back-btn-line:hover{
    color: var(--primary-colour-hover) !important;
}

#web-pricing-outer-wrapper {
    margin-top: 5rem;
}

#web-pricing-detail-wrapper {
    /* Existing styles */
    border-top-style: none;
    border-top-width: 1px;

    /* Custom top shadow for high contrast */
    box-shadow: 0 -10px 15px -3px rgba(0, 0, 0, 0.1),
        0 -4px 6px -2px rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Bigger state when monthly charge is gone */
.is-single-price .summary-total-payable {
    font-size: 1.5rem !important;
    transition: font-size 0.2s ease; /* Optional smooth resizing */
}

/* Tracking utility for slightly spaced-out text */
.tracking-wide {
    letter-spacing: 0.5px;
    border-right: 2px solid var(--secondary-colour);
}

.payment-complete-card{
    background-color: #F4F4F4;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius:16px;
}

/* Mobile payment detail slide-up panel */
.mobile-payment-card {
    position: relative;
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border: none;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

/* Fallback for browsers that don't support dvh */
@supports not (height: 100dvh) {
    .mobile-payment-card {
        height: 100vh;
        max-height: 100vh;
    }
}

/* Header containing X button */
.mobile-payment-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    height: 60px;

    background: #fff;
    z-index: 100;

    display: flex;
    align-items: center;

    padding: 10px 15px;

}

/* Payment content */
.mobile-payment-body {
    height: 100%;
    overflow-y: auto;

    padding: 75px 15px 30px 15px;

    -webkit-overflow-scrolling: touch;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1300px;
    }
}

/* Extra Large (XL) */
@media (max-width: 1200px) {
    .monthly-charge-amount {
        font-size: 1rem;
    }

    .monthly-charge-wrapper .monthly-charge-amount {
        font-size: 1.5rem;
    }
}

/* Large (LG) */
@media (max-width: 992px) {

    .monthly-charge-wrapper .monthly-charge-amount {
        font-size: 1.5rem !important;
    }

    .btn.checkout-btn {
        font-size: 1rem !important;
        padding-top: 0.6rem !important;
        padding-bottom: 0.6rem !important;
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }

    .summary-total-payable {
        font-size: 0.9rem !important;
    }

}

@media only screen and (max-width: 576px) {

    body {
        font-size: var(--fs-200) !important;
    }

    .eligibility-title{
        font-size:20px;
    }

    .eligibility-subtitle{
        font-size:14px;
    }

    .eligibility-description{
        font-size: 16px;
    }

    .eligible-yes-btn, .eligible-no-btn{
        font-size: var(--fs-200) !important;
    }

    .warning-icon{
        width: 28px;
        height: 28px;
    }

    .purple-check-icon{
        width: 16px;
        height: 16px;
    }

    .occupation{
        font-size:14px;
    }

    .red-warning-icon{
        width: auto;
        height: 50px;
    }


    .benefit-icon {
        width: 32px;
        height: 32px;
    }

    .custom-checkbox {
        width: 18px;
        height: 18px;
    }

    .important-note-section{
        font-size: 12px;
    }

    .pidm-logo{
        width:43px;
    }

    .radio-box > label {
        padding-left: 35px;
    }

    .complete-payment-title{
        font-size:22px;
    }

    .complete-payment-subtitle{
        font-size:16px;
    }

    .voucher-type {
        font-size: 10px !important;
    }

    .nat-label-text{
        font-size:12px !important;
    }

    .mobile-checkout-btn {
        font-size: 0.8rem !important;
    }

    .btn.checkout-btn {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

}
