

body {
    background: #ffffff;
    color: var(--main-brand-body-color) !important;
    font-family: var(--main-brand-font) !important;
    font-weight: 400;
    font-size: var(--main-brand-font-size) !important;
    margin: 0;
    padding: 0;
}

.v2-sso-main-wrap {
    max-width: var(--main-brand-container-width);
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

.v2-content-div {
    margin: 0rem;
    padding: 1em;
    width: -webkit-fill-available;
}

.v2-p-0 {
    padding: 0px;
}

.v2-p-1 {
    padding: 1rem;
}

.v2-px-1 {
    padding: 0 1rem;
}

.v2-pt-point-5 {
    padding-top: 0.5rem;
}

.v2-pt-1 {
    padding-top: 1rem;
}

.v2-pt-2 {
    padding-top: 2rem;
}

    .v2-pt-2:nth-child(3n+1) {
        padding-top: 0;
    }

.v2-m-0 {
    margin: 0px;
}

.v2-my-2 {
    margin: 2rem 0rem;
}

.v2-mt-0 {
    margin-top: 0rem;
}

.v2-mt-1 {
    margin-top: 1rem;
}

.v2-mt-2 {
    margin-top: 2rem;
}

.v2-mb-1 {
    margin-bottom: 1rem;
}

.v2-mb-2 {
    margin-bottom: 2rem;
}

h1.v2-h1 {
    font-size: 2em;
    font-family: var(--main-brand-font);
}

.section-form-row {
    /*margin-bottom: 0.5em;*/
}


.v2-asterisk::after {
    content: "*";
    color: red;
}

label.section-form-label {
    display: block;
    margin-bottom: 0.4em;
    font-weight: var(--main-brand-input-label-font-weight);
    font-size: var(--main-brand-font-size);
}

.section-input-field {
    font-family: var(--main-brand-font);
    border-radius: var(--main-brand-input-border-radius);
    border: var(--main-brand-input-border-color);
    box-sizing: border-box;
    font-size: var(--main-brand-font-size);
   /* margin-bottom: 0.7em;*/
    padding: 15px;
    width: 100%;
    background-color: var(--main-brand-input-bg-color);
    font-weight: 400 !important;
}

    .section-input-field[readonly] {
        background-color: var(--main-brand-readOnly-input-bg-color);
        border: var(--main-brand-readOnly-input-border);
        cursor: not-allowed;
    }


/*for dropdown and input placeholder*/
::placeholder, select:required:invalid {
    color: var(--main-brand-body-color);
    opacity: 0.6;
}

::-webkit-input-placeholder, option[value=""] {
    color: var(--main-brand-body-color);
}

select option {
    color: var(--main-brand-body-color);
}

.v2-textarea-wrapper textarea {
    resize: vertical;
    min-height: 120px;
    max-height: 600px;
}

.v2-fieldInstruction {
    font-size: 14px;
    color: var(--main-brand-field-instruction-color);
}

.section-resp-w100 {
    width: 100% !important;
}

.section-border-bottom {
    border-bottom: var(--main-brand-card-border);
}

.v2-form-check {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.v2-form-check-input {
    width: 24px;
    height: 24px;
    accent-color: var(--main-brand-color);
}

.v2-login-text {
    text-align: center;
}


/* ================================================ TEXT DECORATION ================================================== */

.v2-text-decoration-none {
    text-decoration: none !important;
}

.v2-text-decoration-underline {
    text-decoration: underline !important;
}

/* ================================================ END OF TEXT DECORATION ================================================== */

/* ================================================ BUTTONS ================================================== */
.v2-portal-button {
    font-family: var(--main-brand-font);
    font-size: var(--main-brand-font-size);
    font-weight: var(--main-brand-button-font-weight) !important;
    padding: var(--main-brand-button-padding);
    border-radius: var(--main-brand-button-border-radius);
    border: var(--main-brand-portal-border-color) !important;
    background: var(--main-brand-portal-button-bg) !important;
    color: var(--main-brand-portal-button-color) !important;
    text-decoration: none;
    cursor: pointer;
}

    .v2-portal-button:hover {
        border: var(--main-brand-portal-border-hover-color) !important;
        color: var(--main-brand-portal-button-hover-color) !important;
        background: var(--main-brand-portal-button-hover-bg) !important;
        text-decoration: none;
    }


.v2-primary-button {
    font-family: var(--main-brand-font);
    font-size: var(--main-brand-font-size);
    font-weight: var(--main-brand-button-font-weight) !important;
    padding: var(--main-brand-button-padding);
    border-radius: var(--main-brand-button-border-radius);
    border: var(--main-brand-primary-border-color) !important;
    background: var(--main-brand-primary-button-bg) !important;
    color: var(--main-brand-primary-button-color) !important;
    text-decoration: none;
    cursor: pointer;
}

    .v2-primary-button:hover {
        border: var(--main-brand-primary-border-hover-color) !important;
        color: var(--main-brand-primary-button-hover-color) !important;
        background: var(--main-brand-primary-button-hover-bg) !important;
        text-decoration: none;
    }

.v2-secondary-button {
    font-family: var(--main-brand-font);
    font-size: var(--main-brand-font-size);
    font-weight: var(--main-brand-button-font-weight) !important;
    padding: var(--main-brand-button-padding);
    border-radius: var(--main-brand-button-border-radius);
    border: var(--main-brand-secondary-border-color) !important;
    background: var(--main-brand-secondary-button-bg) !important;
    color: var(--main-brand-secondary-button-color) !important;
    text-decoration: none;
    cursor: pointer;
}

    .v2-secondary-button:hover {
        border: var(--main-brand-secondary-border-hover-color) !important;
        color: var(--main-brand-secondary-button-hover-color) !important;
        background: var(--main-brand-secondary-button-hover-bg) !important;
        text-decoration: none;
    }

.v2-portal-button, .v2-primary-button, .v2-secondary-button {
    width: -webkit-fill-available;
    text-align: center;
}

@media (min-width: 768px) {
    .v2-portal-button, .v2-primary-button, .v2-secondary-button {
        width: auto;
    }
}


/* =============================================== END OF BUTTONS =========================================== */


/* =============================================== START OF PORTAL LINKS =========================================== */

.v2-dashboard-link {
    color: var(--main-brand-dashboard-link-color);
    font-size: var(--main-brand-font-size);
    font-style: normal;
    font-weight: 600 !important;
    line-height: normal;
    text-decoration-line: underline;
    cursor: pointer;
}

    .v2-dashboard-link:hover {
        color: var(--main-brand-dashboard-link-hover-color);
        text-decoration: underline;
    }

    .v2-dashboard-link svg path,
    .v2-dashboard-link svg line {
        stroke: var(--main-brand-dashboard-link-color);
        transition: stroke 0.3s ease;
    }

    .v2-dashboard-link:hover svg path,
    .v2-dashboard-link:hover svg line {
        stroke: var(--main-brand-dashboard-link-hover-color);
    }

    .v2-dashboard-link i {
        stroke: var(--main-brand-dashboard-link-color);
        transition: stroke 0.3s ease;
    }

    .v2-dashboard-link:hover i {
        stroke: var(--main-brand-dashboard-link-hover-color);
    }


.v2-portal-primary-link {
    color: var(--main-brand-primary-link-color);
    font-size: var(--main-brand-font-size);
    font-style: normal;
    font-weight: 600 !important;
    line-height: normal;
    text-decoration-line: underline;
    cursor: pointer;
}

    .v2-portal-primary-link:hover {
        color: var(--main-brand-primary-link-hover-color);
        text-decoration: underline !important;
    }

.v2-portal-secondary-link {
    color: var(--main-brand-secondary-link-color);
    font-size: var(--main-brand-font-size);
    font-style: normal;
    font-weight: 600 !important;
    line-height: normal;
    text-decoration-line: underline;
    cursor: pointer;
}

    .v2-portal-secondary-link:hover {
        color: var(--main-brand-secondary-link-hover-color);
        text-decoration: underline !important;
    }

.v2-portal-link {
    color: var(--main-brand-body-color) !important;
    font-weight: 600 !important;
    cursor: pointer;
    text-decoration: none;
}

    .v2-portal-link:hover {
        color: var(--main-brand-portal-link-hover-color);
        text-decoration: underline !important;
    }

.section-login-links {
    margin: 1.4em 0;
    text-align: center;
    padding-bottom: 1.4em;
}

.v2-action-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .v2-action-link {
        display: flex;
        flex-direction: row;
    }
}

/* =============================================== END OF PORTAL LINKS =========================================== */

.v2-list-styling {
    list-style: none;
    padding-left: 10px;
}



.errorMessage, .validation {
    display: none;
}

/*message styling*/
.validation, .errorMessage {
    margin-bottom: 1em;
    color: red;
    font-size: 14px;
}

.v2-textarea-wrapper, .v2-textbox-wrapper {
    position: relative;
}

span.v2-textarea-counter, .v2-char-counter {
    font-size: 14px;
    position: absolute;
    bottom: -5px;
    right: 0.3rem;
    color: #555;
}

.v2-notification {
    padding: 1em;
    background-color: #F4F7FB !important;
    border-radius: var(--main-brand-border-radius);
    border: 1px solid #D2DDEE !important;
    color: var(--main-brand-body-color);
}

.v2-notification-success, .success {
    background-color: #E5FFF0 !important;
    border-color: #12D25F !important;
}

.v2-notification-warning, .failure {
    background-color: #FFF6E9 !important;
    border-color: #FF9900 !important;
}

.v2-notification-alert {
    background-color: #FFEFED !important;
    border-color: #FF5336 !important;
}

.v2-notification h4 {
    font-size: 1.2em;
    margin: 0 0 .5em 0;
}

.v2-notification p {
    margin: 0;
}

.v2-card-alert {
    border-left: 5px solid #ff8b5f !important;
    background: #fdf2ed !important;
}

/*remove default edge eye icon*/
input::-ms-reveal,
input::-ms-clear {
    display: none;
}

/*eye icon align center*/
.password-container {
    position: relative;
}

.field-icon {
    position: absolute !important;
    right: 10px !important;
    transform: translateY(100%) !important;
    cursor: pointer;
}

/*strength bar*/
.password-strength-bar {
    display: flex;
    gap: 4px;
    margin-top: 15px;
    height: 8px;
    width: 100%;
    justify-content: space-between;
}

    .password-strength-bar .dash {
        flex: 1;
        height: 100%;
        background-color: #ddd;
        border-radius: 4px;
        transition: background-color 0.3s ease;
    }

        .password-strength-bar .dash.very-weak {
            background-color: red;
        }

        .password-strength-bar .dash.weak {
            background-color: orange;
        }

        .password-strength-bar .dash.good {
            background-color: yellowgreen;
        }

        .password-strength-bar .dash.strong {
            background-color: green;
        }

.password-strength-text {
    margin-top: 5px;
    font-size: 14px;
    color: #666;
    text-align: right;
}

#password-requirements .valid {
    color: green;
}


@media (min-width: 1100px) {
    .section-form {
        max-width: var(--main-brand-container-width);
    }

    .v2-content-div {
        margin: 0rem 0rem 2rem 0rem;
        padding: 1em;
        width: 60%;
    }

    .v2-list-styling {
        padding-left: 20px;
    }



    .v2-portal-button, .v2-primary-button {
        width: auto;
    }
}

/*Login form Template*/
.section-login-form {
    margin: auto;
    padding: 2em 1em;
}

.section-login-heading {
    font-size: 24px;
    text-align: center;
}

@media (min-width: 600px) {
    .section-login-form {
        max-width: 450px;
    }

    .section-login-heading {
        font-size: 40px;
    }
}


/* web form builder css clean later*/
.v2-webform-banner-bg {
    background: var(--main-brand-hero-bg);
    /*padding: 10px;*/
    color: var(--main-brand-hero-color);
}

.v2-main-wrap {
    max-width: var(--main-brand-container-width);
    margin-left: auto;
    margin-right: auto;
}

.v2-webform-flex {
    display: flex;
    flex-direction: column;
    /* gap: 2rem;
   padding: 1rem;*/
    justify-content: center;
}

span.memberform-badge {
    border-radius: 6px;
    background-color: var(--main-brand-web-form-badge-bg-color);
    font-weight: 500;
    padding: 5px 30px;
    font-size: 18px;
    color: var(--main-brand-web-form-badge-color);
}

.v2-memform-bg-color {
    background: var(--main-brand-web-form-sec-bg-color);
    border: var(--main-brand-web-form-sec-border);
    border-radius: var(--main-brand-web-form-sec-border-radius);
}

.v2-memform-h3 {
    background: var(--main-brand-web-form-header-bg-color);
    color: var(--main-brand-web-form-header-color);
    /*padding: 1em;
    margin: 0;*/
    border-radius: var(--main-brand-web-form-header-border-radius);
}

.v2-form-wrap {
    flex-grow: 1;
}

.v2-form-left-progress-wrap {
    flex-shrink: 0;
}

.v2-form-checkbox-flex {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 0.7em;
}

.v2-web-form-checkbox, .v2-web-form-radio-button {
    height: 20px;
    width: 20px;
    accent-color: var(--main-brand-color);
    flex-shrink: 0;
    margin: 0;
}

.v2-details-action-link {
    display: flex;
    gap: 1rem;
    flex-direction: row;
}

.v2-progressbar-list {
    /*padding-left: 0;*/
    /*font-size: 20px;*/
    list-style: none;
}

.v2-form-menu-steps {
    background: var(--nav-card);
    border: 1px solid var(--nav-border);
    border-radius: var(--nav-radius);
    box-shadow: var(--nav-shadow);
    padding: var(--nav-padding);
    position: sticky;
    
}

    .v2-form-menu-steps.v2-menu-link-active, .v2-form-menu-steps:hover {
        background-color: var(--main-brand-sidemenu-active-bg-color);
        border-left: var(--main-brand-sidemenu-active-borderLeft-color);
        color: var(--main-brand-sidemenu-active-color);
        font-weight: 500;
    }

    .v2-form-menu-steps.v2-menu-link-visited {
        text-decoration: underline;
        font-weight: 600;
    }
:root {
    --bg: #f6f8fb;
    --card: #ffffff;
    --text: #1b2430;
    --muted: #667085;
    --brand: #0b5cab;
    --brand2: #ff6a00;
    --border: #e6eaf0;
    --focus: #2a7de1;
    --danger: #d92d20;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(16,24,40,.08);
    --shadow: 0 14px 35px rgba(15, 23, 42, .10);
    --shadow-soft: 0 10px 22px rgba(15, 23, 42, .08);
    --radius: 16px;
    --radius-lg: 20px;
}
/* Steps */
.steps, .v2-nav-menu {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 14px;
    position: sticky;
    top: 14px;
}

@media (max-width: 900px) {
    .steps {
        position: relative;
        top: 0
    }
}

.steps h2 {
    font-size: 15px;
    margin: 2px 0 10px 0;
    color: var(--muted);
    font-weight: 700;
}

.step, .v2-nav-menu-steps {
    display: flex;
    gap: 10px;
    padding: 10px 10px;
    border-radius: 12px;
    color: var(--muted);
    font-size: 14px;
    align-items: flex-start;
}

    .step .dot, .v2-nav-menu-steps .dot {
        width: 22px;
        height: 22px;
        border-radius: 999px;
        border: 2px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 700;
        flex: 0 0 auto;
        margin-top: 1px;
        background: #fff;
    }

    .step.active, .v2-nav-menu-steps.v2-nav-menu-active {
        background: #f0f6ff;
        color: var(--text);
        border: 1px solid #d7e6ff;
    }

        .step.active .dot, .v2-nav-menu-steps.v2-nav-menu-active .dot {
            border-color: var(--brand);
            color: var(--brand);
        }

    .step small {
        display: block;
        color: var(--muted);
        margin-top: 2px;
    }

.helper {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fbfcff;
    border: 1px dashed var(--border);
    font-size: 13px;
    color: var(--muted);
}


/* fix spacing on top and bottom form sections*/
.v2-pt-point-5:has(.v2-card-para) {
    padding-top: 0;
}
section > .v2-form-row:last-of-type {
    margin-bottom: 0 !important;
}



@media (width >= 1024px) {
    .v2-webform-flex {
        flex-direction: row;
    }

    /*.v2-form-left-progress-wrap {
        width: 30%;
    }*/

   /* .v2-one-col-width {
        width: 60%;
    }*/
}


@media (320px <= width <= 500px ) {
    .v2-details-action-link {
        flex-direction: column;
    }

    /*.v2-form-left-progress-wrap {
        width: 100%;
    }*/
}


.v2-hide-upload-button {
    cursor: pointer;
    height: 100%;
    position: absolute;
    filter: alpha(opacity = 1);
    -moz-opacity: 0;
    opacity: 0;
    width: 100%;
    margin: -11px 0px 0px -26px;
}

.v2-drop-zone {
    min-height: 200px;
    border: var(--main-brand-file-upload-border-color);
    border-radius: var(--main-brand-input-border-radius);
    text-align: center;
    margin: 10px auto;
    position: relative;
    cursor: pointer;
    background: #ffffff !important;
    padding: 1rem;
}

.v2-upload-svg i {
    font-size: 61px;
    color: var(--main-brand-color);
    margin-top: 40px;
    margin-bottom: 15px;
}

.v2-file-upload i {
    color: var(--main-brand-color);
}

.v2-file-upload label {
    display: block;
}

.v2-drag-text {
    display: inline;
    color: var(--main-brand-body-color) !important;
}

.v2-drop-zone.dragover {
    border-color: var(--main-brand-body-color);
    color: var(--main-brand-body-color);
}

div#uploadedFile a {
    color: #3d2499;
    font-size: 20px;
    gap: 6px;
    display: flex;
    align-items: center;
}

.v2-uploaded-file-name {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    margin-top: .5rem;
    word-break: break-word;
}

@media (320px <= width <= 500px ) {
    .v2-uploaded-file-name {
        flex-direction: column;
        align-items: flex-start;
    }
}

.v2-visited {
    font-weight: 600;
}

.v2-active {
    font-weight: 600;
    text-decoration: underline;
}

.v2-datepicker-wrap {
    position: relative;
}

    .v2-datepicker-wrap span {
        position: absolute;
        top: 17px;
        right: 20px;
        pointer-events: none;
        color: var(--main-brand-icons-color);
    }

.v2-data-grid-list {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.v2-grid-item-bg {
    padding: 1rem;
    background: var(--main-brand-membership-form-grid-bg-color);
    border-bottom: 1px solid;
    border-radius: var(--main-brand-input-border-radius);
}

    .v2-grid-item-bg:last-child {
        border-bottom: none;
    }

.list-style-none {
    list-style: none;
}

.v2-lists {
    width: 80%;
}

.v2-portal-card {
    background-color: var(--main-brand-card-background);
    border-radius: var(--main-brand-border-radius);
    border: var(--main-brand-card-border);
    padding: 20px;
}

.v2-radio-button-flex-wrap {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.v2-radio-button-flex {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 1em;
    font-size: 16px;
    color: var(--main-brand-body-color);
}



/* ===== PADDING ===== */

.v2-p-point-5 {
    padding: .5em;
}

.v2-pt-point-5 {
    padding-top: .5em;
}

.v2-pb-point-5 {
    padding-bottom: .5em;
}

.v2-pl-point-5 {
    padding-left: .5em;
}

.v2-pr-point-5 {
    padding-right: .5em;
}

.v2-px-point-5 {
    padding-top: .5em;
    padding-bottom: .5em;
}

.v2-py-point-5 {
    padding-top: .5em;
    padding-bottom: .5em;
}

.v2-p-0 {
    padding: 0;
}

.v2-p-1 {
    padding: 1em;
}

.v2-p-2 {
    padding: 2em;
}

.v2-p-3 {
    padding: 3em;
}

.v2-p-4 {
    padding: 4em;
}

.v2-pt-0 {
    padding-top: 0em;
}

.v2-pt-1 {
    padding-top: 1em;
}

.v2-pt-2 {
    padding-top: 2em;
}

.v2-pt-3 {
    padding-top: 3em;
}

.v2-pt-4 {
    padding-top: 4em;
}

.v2-pb-0 {
    padding-bottom: 0em;
}

.v2-pb-1 {
    padding-bottom: 1em;
}

.v2-pb-2 {
    padding-bottom: 2em;
}

.v2-pb-3 {
    padding-bottom: 3em;
}

.v2-pb-4 {
    padding-bottom: 4em;
}

.v2-pl-0 {
    padding-left: 0em;
}

.v2-pl-1 {
    padding-left: 1em;
}

.v2-pl-2 {
    padding-left: 2em;
}

.v2-pl-3 {
    padding-left: 3em;
}

.v2-pl-4 {
    padding-left: 4em;
}

.v2-pr-0 {
    padding-right: 0em;
}

.v2-pr-1 {
    padding-right: 1em;
}

.v2-pr-2 {
    padding-right: 2em;
}

.v2-pr-3 {
    padding-right: 3em;
}

.v2-pr-4 {
    padding-right: 4em;
}

.v2-px-0 {
    padding-left: 0em;
    padding-right: 0em;
}

.v2-px-1 {
    padding-left: 1em !important;
    padding-right: 1em !important;
}

.v2-px-2 {
    padding-left: 2em;
    padding-right: 2em;
}

.v2-px-3 {
    padding-left: 3em;
    padding-right: 3em;
}

.v2-px-4 {
    padding-left: 4em;
    padding-right: 4em;
}

.v2-py-0 {
    padding-top: 0em;
    padding-bottom: 0em;
}

.v2-py-1 {
    padding-top: 1em;
    padding-bottom: 1em;
}

.v2-py-2 {
    padding-top: 2em;
    padding-bottom: 2em;
}

.v2-py-3 {
    padding-top: 3em;
    padding-bottom: 3em;
}

.v2-py-4 {
    padding-top: 4em;
    padding-bottom: 4em;
}

/* ===== END OF PADDING ===== */

/* ===== MARGIN ===== */

.v2-m-point-5 {
    margin: .5em;
}

.v2-mt-point-5 {
    margin-top: .5em;
}

.v2-mb-point-5 {
    margin-bottom: .5em;
}

.v2-mx-point-5 {
    margin-top: .5em;
    margin-bottom: .5em;
}

.v2-my-point-5 {
    margin-top: .5em;
    margin-bottom: .5em;
}

.v2-m-0 {
    margin: 0;
}

.v2-m-1 {
    margin: 1em;
}

.v2-m-2 {
    margin: 2em;
}

.v2-m-3 {
    margin: 3em;
}

.v2-m-4 {
    margin: 4em;
}

.v2-mt-0 {
    margin-top: 0em;
}

.v2-mt-1 {
    margin-top: 1em;
}

.v2-mt-2 {
    margin-top: 2em;
}

.v2-mt-3 {
    margin-top: 3em;
}

.v2-mt-4 {
    margin-top: 4em;
}

.v2-mb-0 {
    margin-bottom: 0em;
}

.v2-mb-1 {
    margin-bottom: 1em;
}

.v2-mb-2 {
    margin-bottom: 2em;
}

.v2-mb-3 {
    margin-bottom: 3em;
}

.v2-mb-4 {
    margin-bottom: 4em;
}

.v2-mx-0 {
    margin-left: 0em;
    margin-right: 0em;
}

.v2-mx-1 {
    margin-left: 1em;
    margin-right: 1em;
}

.v2-mx-2 {
    margin-left: 2em;
    margin-right: 2em;
}

.v2-mx-3 {
    margin-left: 3em;
    margin-right: 3em;
}

.v2-mx-4 {
    margin-left: 4em;
    margin-right: 4em;
}

.v2-my-0 {
    margin-top: 0em;
    margin-bottom: 0em;
}

.v2-my-1 {
    margin-top: 1em;
    margin-bottom: 1em;
}

.v2-my-2 {
    margin-top: 2em;
    margin-bottom: 2em;
}

.v2-my-3 {
    margin-top: 3em;
    margin-bottom: 3em;
}

.v2-my-4 {
    margin-top: 4em;
    margin-bottom: 4em;
}

/* ===== END OF MARGIN ===== */


/* ===== HEADING ===== */

h1.v2-h1 {
    font-size: 2em;
}

h2.v2-h2 {
    font-size: 1.5em;
}

h3.v2-h3 {
    font-size: 1.17em;
}

h4.v2-h4 {
    font-size: 1.0em;
}

h5.v2-h5 {
    font-size: 0.83em;
}

h6.v2-h6 {
    font-size: 0.67em;
}

[class^="v2-h"],
[class*=" v2-h"] {
    color: var(--main-brand-tabs-sections-heading-color);
}

.v2-main-wrap h1 {
    color: var(--main-brand-tabs-banner-heading-color);
}
/* ===== END OF HEADING ===== */


/* ===== FONT WEIGHT ===== */
.v2-weight-400 {
    font-weight: 400;
}

.v2-weight-500 {
    font-weight: 500;
}

.v2-weight-600 {
    font-weight: 600;
}

.v2-weight-700 {
    font-weight: 700;
}

.v2-weight-800 {
    font-weight: 800;
}

.v2-weight-900 {
    font-weight: 900;
}

/* ===== END OF FONT WEIGHT ===== */

/* ===== TEXT ALIGNMENT  =====*/

.v2-text-center {
    text-align: center !important;
}

.v2-text-left {
    text-align: left !important;
}

.v2-text-right {
    text-align: right !important;
}


/* ===== END OF TEXT ALIGNMENT  =====*/



/* ===== FLEX  =====*/

.v2-flex {
    display: flex;
}
.v2-flex-wrap {
    flex-wrap: wrap;
}

.v2-flex-nowrap {
    flex-wrap: nowrap;
}
/* ===== END OF FLEX =====*/

/* ===== FLEX DIRCETION =====*/

.v2-flex-direction-row {
    flex-direction: row;
}

.v2-flex-direction-col {
    flex-direction: column;
}

.v2-flex-direction-row-reverse {
    flex-direction: row-reverse;
}

.v2-flex-direction-col-reverse {
    flex-direction: column-reverse;
}

/* ===== END OF FLEX DIRCETION =====*/


/* ===== FLEX ALIGIN ITEMS ===== */
.v2-item-start {
    align-items: flex-start;
}

.v2-item-end {
    align-items: flex-end;
}

.v2-item-center {
    align-items: center;
}

.v2-item-baseline {
    align-items: baseline;
}

.v2-item-stretch {
    align-items: stretch;
}

/* ===== END OF FLEX ALIGIN ITEMS ===== */

/* ===== FLEX JUSTIFY CONTENT ===== */

.v2-justify-start {
    justify-content: flex-start;
}

.v2-justify-end {
    justify-content: flex-end;
}

.v2-justify-center {
    justify-content: center;
}

.v2-justify-space-between {
    justify-content: space-between;
}

.v2-justify-space-around {
    justify-content: space-around;
}

.v2-justify-space-evenly {
    justify-content: space-evenly;
}

/* ===== END OF FLEX JUSTIFY CONTENT ===== */

/* ===== FLEX GAP ===== */

.v2-gap-0 {
    gap: 0em;
}

.v2-gap-10px {
    gap: 10px;
}

.v2-gap-point-5 {
    gap: .5em;
}

.v2-gap-1 {
    gap: 1em;
}

.v2-gap-2 {
    gap: 2em;
}

.v2-gap-3 {
    gap: 3em;
}

.v2-gap-4 {
    gap: 4em;
}

.v2-gap-5 {
    gap: 5em;
}
/* ===== END OF FLEX GAP ===== */

/* ===== START OF FLEX GROW ===== */
.v2-flex-grow {
    flex-grow: 1;
}

/* ===== END OF FLEX GROW ===== */


/* ===== START OF FLEX SHRINK ===== */

.v2-flex-shrink-0 {
    flex-shrink: 0;
}


/* ===== END OF FLEX SHRINK ===== */




/* ===== START OF CONTENT WIDTH ===== */

.v2-inherit-width {
    width: inherit;
}

.v2-min-width {
    width: min-content;
}

.v2-max-width {
    width: max-content;
}

.v2-auto-width {
    width: auto;
}

.v2-fit-width {
    width: fit-content;
}
.v2-fill-available-width {
    width: -webkit-fill-available;
}

/* ===== END OF CONTENT WIDTH ===== */


/* ===== START OF POSITION ===== */


.v2-position-relative{
    position:relative;
}

.v2-position-absolute{
    position: absolute;
}

.v2-position-center{
    position: center;
}

.v2-position-fixed{
    position: fixed;
}


/* ===== END OF POSITION ===== */


/* =====PORTAL LAYOUT===== */

.v2-web-portal-wrap {
    max-width: var(--main-brand-container-width);
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    gap: 1rem;
}


/* =====PORTAL LAYOUT===== */

.v2-web-portal-wrap {
    max-width: var(--main-brand-container-width);
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    gap: 1rem;
}


/* ===== LEFT MENU ===== */

#mob-menu {
    display: flex;
    cursor: pointer;
    z-index: 2100;
    flex-direction: column;
}


/* ===== Menu Item Styles ===== */
.v2-web-portal-sidebar ul {
    margin-top: 0;
    padding: 0;
    list-style: none;
}

.v2-web-portal-sidebar li {
    margin: 0;
    position: relative;
}

.v2-menu-link {
    align-items: center;
    border-radius: var(--main-brand-button-border-radius);
    display: flex;
    font-weight: 600;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--main-brand-body-color);
    transition: all 0.3s ease;
}

    .v2-menu-link:hover {
        background-color: var(--main-brand-sidemenu-hover-bg-color);
        text-decoration: underline;
        border-left: var(--main-brand-sidemenu-hover-borderLeft-color);
        color: var(--main-brand-sidemenu-hover-color);
    }

    .v2-menu-link img {
        max-width: 24px;
        max-height: 24px;
        margin-right: 10px;
    }

.v2-active-portal-sidebar-link {
    background: var(--main-brand-color);
    color: #ffffff !important;
}

    .v2-active-portal-sidebar-link svg path {
        fill: #ffffff;
    }

/* ===== Submenu Styles ===== */
.has-submenu .submenu {
    list-style: none;
    padding-left: 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.has-submenu:hover .submenu {
    max-height: 500px;
}

.submenu .v2-menu-link {
    padding: 10px 20px;
    font-size: 15px;
}

    .submenu .v2-menu-link:hover {
        background-color: #F3F9FA;
        border-left: 3px solid var(--main-brand-color);
    }

.submenu-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.has-submenu:hover .submenu-arrow {
    transform: rotate(180deg);
}

.v2-menu-link.v2-menu-link-active {
    background-color: var(--main-brand-sidemenu-active-bg-color);
    border-width: var(--main-brand-sidemenu-active-border-width);
    border: var(--main-brand-sidemenu-active-border-color);
    color: var(--main-brand-sidemenu-active-color);
    font-weight: 500;
}

.v2-menu-link.v2-menu-link-visited {
    text-decoration: underline;
}

@media (max-width: 1023px) {

    .v2-web-portal-sidebar, .v2-form-left-progress-wrap {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        background: #fff;
        z-index: 20000;
        transition: left 0.3s ease;
    }

    body.v2-mobile-sidebar-open .v2-web-portal-sidebar, body.v2-mobile-sidebar-open .v2-form-left-progress-wrap {
        left: 0;
    }

    .v2-sidebar-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1500;
    }

    body.v2-mobile-sidebar-open .v2-sidebar-backdrop {
        display: block;
    }
 }
@media (min-width: 1024px) {

    .v2-web-portal-sidebar, .v2-form-left-progress-wrap {
        min-width: 250px;
        transition: min-width 0.3s ease;
    }

    body.v2-sidebar-collapsed .v2-web-portal-sidebar, body.v2-sidebar-collapsed .v2-form-left-progress-wrap {
        min-width: 80px;
    }

    body.v2-sidebar-collapsed .v2-menu-text {
        display: none;
    }

    body.v2-sidebar-collapsed .v2-chevron {
        transform: rotate(180deg);
    }
    .v2-web-portal-wrap {
        flex-direction: row;
        margin-top: 2em;
        margin-bottom: 2em;
        gap: 30px;
    }
}

.v2-hamburger {
    width: 24px;
    height: 18px;
    position: relative;
}

    .v2-hamburger span {
        position: absolute;
        width: 100%;
        height: 2px;
        background: #16161c;
        left: 0;
        transition: all 0.3s ease;
    }

        .v2-hamburger span:nth-child(1) {
            top: 0;
        }

        .v2-hamburger span:nth-child(2) {
            top: 8px;
        }

        .v2-hamburger span:nth-child(3) {
            top: 16px;
        }

/* OPEN */
body.v2-mobile-sidebar-open .v2-hamburger span:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
}

body.v2-mobile-sidebar-open .v2-hamburger span:nth-child(2) {
    opacity: 0;
}

body.v2-mobile-sidebar-open .v2-hamburger span:nth-child(3) {
    top: 8px;
    transform: rotate(-45deg);
}


/* ===== ICON VISIBILITY ===== */

.v2-hamburger {
    display: inline-block;
}

.v2-angle {
    display: none;
    transition: transform 0.3s ease;
}

/* Desktop */
@media (min-width: 1024px) {
    .v2-hamburger {
        display: none;
    }

    .v2-angle {
        display: inline-block;
    }

    body.v2-sidebar-collapsed .v2-angle {
        transform: rotate(180deg); 
    }
    .v2-toggle-icon {
        right: -5px;
        top: -5px;
        background: var(--main-brand-toggle-icon-bg-color);
        color: var(--main-brand-toggle-icon-color);
        border-radius: 100%;
        padding: 5px 8px;
        text-align: center;
    }
    .v2-portal-sidenav-menu {
        background: var(--main-brand-side-menu-bg-color);
        border-radius: var(--main-brand-border-radius, 1rem);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        border: var(--main-brand-card-border, #e5e5e5);
        height: max-content;
    }
}

/* Mobile */
@media (max-width: 1023px) {
    .v2-angle {
        display: none;
    }
    .v2-toggle-icon {
        right: 8px;
    }

}



/*card css updated for side by side content like on my account*/
.v2-card-preview-block p {
    margin: 5px 0;
}

.v2-card-preview-block {
    display: flex;
    gap: 10px;
}

.v2-card-preview-intro {
    color: color-mix(in srgb, var(--main-brand-card-preview-intro-color) 80%, transparent);
    word-break: break-word;
}

.v2-card-preview-intro-color {
    color: var(--main-brand-card-preview-intro-color);
    word-break: break-word;
}

.v2-card-preview-value {
    font-weight: 600;
    word-break: break-word;
}

.v2-card-preview-intro-width,
.v2-card-preview-value-width {
    width: 100%;
}

.v2-card-preview-intro-Mwidth,
.v2-card-preview-value-Mwidth {
    width: 50%;
}

.v2-flex-payment-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


/* styles for tablets */
@media (min-width: 400px) {
    .v2-card-preview-intro-Mwidth {
        width: 30%;
    }

    .v2-card-preview-block {
        gap: 20px;
    }

    .v2-flex-payment-card {
        flex-direction: column;
    }
}

/* styles for desktops */
@media (min-width: 900px) {
    .v2-card-preview-intro-Mwidth {
        width: 25%;
    }

    .v2-card-preview-block {
        gap: 30px;
    }

    .v2-flex-payment-card {
        flex-direction: row;
    }
}

/* styles for large desktops */
@media (min-width: 1200px) {
    .v2-card-preview-intro-Mwidth {
        width: 20%;
    }

    .v2-card-preview-block {
        gap: 40px;
    }

    .v2-flex-payment-card {
        flex-direction: row;
    }

    .td-formal-title-width {
        width: 35%;
    }
}
/* =========================================== end =========================================== */


/* ===========================================  CARD =========================================== */
.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.card-container {
    box-sizing: border-box;
}

.Full {
    flex: 0 0 100%;
}

.Half {
    flex: 0 0 calc(50% - 10px);
}

.One-Third {
    flex: 0 0 calc(33.333% - 13.33px);
}


.card-box {
    padding: 20px;
    background: var(--main-brand-card-bg-color);
    border-radius: var(--main-brand-border-radius, 1rem);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: var(--main-brand-card-border, #e5e5e5);
}

    .card-box h3 {
        margin-top: 0;
        font-size: var(--main-brand-font-size);
        font-weight: bold;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

@media (max-width: 768px) {
    .Half, .One-Third {
        flex: 0 0 100%;
    }

    .v2-flex-col-mob {
        flex-direction: column;
    }
}


/* =============================================== CARD =========================================== */

/* =============================================== START OF STATUS BADGE =========================================== */
.v2-badge {
    padding: 5px 10px;
}

.v2-active-badge {
    background: #aaeb76;
    padding: 5px 10px;
}

.v2-pending-badge {
    background: #e7dc95;
    padding: 5px 10px;
}

.v2-lapsed-badge {
    background: #bebebe;
    padding: 5px 10px;
}

/* =============================================== END OF STATUS BADGE =========================================== */

/* =============================================== BANNER LIST =========================================== */

.v2-banner-list {
    width: 90%;
    line-height: 1.5;
    font-size: 16px;
}

/* =============================================== END OF BANNER LIST =========================================== */


/* =============================================== BANNER BUTTONS =========================================== */
.v2-notification button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.v2-notification svg {
    transition: transform 0.3s ease;
}

.v2-notification.collapsed .collapse-icon {
    transform: rotate(180deg);
}

/* =============================================== END OF BANNER BUTTONS =========================================== */

/* =============================================== START OF LISTING GRID [TABLE]  =========================================== */

table.v2-card-table {
    border-collapse: collapse;
    color: var(--main-brand-body-color) !important;
    font-family: var(--main-brand-font) !important;
    font-weight: 400 !important;
    font-size: var(--main-brand-font-size);
    width: 100%;
}

    table.v2-card-table thead {
        background: var(--main-brand-table-header-bg) !important;
        color: var(--main-brand-table-header-color) !important;
    }

    table.v2-card-table td,
    table.v2-card-table th {
        text-align: center;
        padding: 12px;
    }

table.dataTable > tbody > tr > td {
    text-align: center;
}

table.dataTable > thead > tr > th {
    text-align: center;
}

table.v2-card-table tr {
    border-bottom: 1px solid #dedede;
}

    table.v2-card-table tr:last-child {
        border-bottom: none;
    }

    table.v2-card-table tr:nth-child(even) {
        background-color: #FAFAFA;
    }

table.v2-card-table tbody tr:hover {
    background-color: #e9edf1;
}

.align-table-container {
    width: 100%;
    padding: 10px;
}

/*added for table responsiveness*/
@media screen and (max-width: 600px) {
    table.v2-card-table {
        border: 0;
    }

        table.v2-card-table thead {
            border: none;
            clip: rect(0 0 0 0);
            height: 1px;
            margin: -1px;
            overflow: hidden;
            padding: 0;
            position: absolute;
            width: 1px;
        }

        table.v2-card-table tr {
            display: block;
            margin-bottom: .625em;
        }

        table.v2-card-table td {
            border-bottom: 1px solid #ddd;
            display: block;
            font-size: .8em;
            text-align: right !important;
        }

            table.v2-card-table td::before {
                content: attr(data-label);
                float: left;
                font-weight: bold;
                text-transform: uppercase;
            }

            table.v2-card-table td:last-child {
                border-bottom: 0;
            }

    table.dataTable > tbody > tr > td {
        text-align: right;
    }
}

/* =============================================== END OF LISTING GRID [TABLE] =========================================== */


/* =============================================== START OF PAYMENT TABLE  =========================================== */

table.v2-payment-table {
    border-collapse: collapse;
    color: var(--main-brand-body-color) !important;
    font-family: var(--main-brand-font) !important;
    font-weight: 400 !important;
    font-size: var(--main-brand-font-size);
    width: 100%;
}

    table.v2-payment-table td,
    table.v2-payment-table th {
        text-align: left;
        padding: 12px;
    }

    table.v2-payment-table tr {
        border-bottom: 1px solid #dedede;
    }

    table.v2-payment-table tbody tr:last-child {
        border-bottom: none;
    }

.align-table-container {
    width: 100%;
    padding: 10px;
}

/*added for table responsiveness*/
@media screen and (max-width: 600px) {
    table.v2-payment-table {
        border: 0;
    }

        table.v2-payment-table thead {
            border: none;
            clip: rect(0 0 0 0);
            height: 1px;
            margin: -1px;
            overflow: hidden;
            padding: 0;
            position: absolute;
            width: 1px;
        }

        table.v2-payment-table tr {
            display: block;
            margin-bottom: .625em;
        }

        table.v2-payment-table td {
            border-bottom: 1px solid #ddd;
            display: block;
            font-size: .8em;
            text-align: right !important;
        }

            table.v2-payment-table td::before {
                content: attr(data-label);
                float: left;
                font-weight: bold;
                text-transform: uppercase;
            }

            table.v2-payment-table td:last-child {
                border-bottom: 0;
            }

    table.dataTable > tbody > tr > td {
        text-align: right;
    }
}

/* =============================================== END OF PAYMENT TABLE =========================================== */


/* =============================================== START OF DAILOG BOX =========================================== */

.ui-widget-header {
    border: 1px solid #dddddd;
    background: var(--main-brand-delete-dialog-model-header-bg) !important;
    color: var(--main-brand-delete-dialog-model-header-color) !important;
}
/* =============================================== END OF DAILOG BOX =========================================== */


/* =============================================== START OF THANKS =========================================== */

.v2-thanks-heading {
    font-size: 34px;
    margin-top: 0;
}

.v2-msg-view-wrap {
    text-align: center;
    margin: 1rem 0;
}

    .v2-msg-view-wrap svg {
        width: -webkit-fill-available;
    }

@media (min-width: 1024px) {
    .v2-msg-view-wrap {
        text-align: center;
        margin: 3rem 0;
    }

    .v2-thanks-heading {
        font-size: 54px;
        margin-top: 3rem;
    }
}

/* =============================================== END OF THANKS =========================================== */

/* =============================================== START OF PAYMENT SUMMARY =========================================== */
@media (min-width: 1024px) {
    .v2-width-60 {
        width: 60% !important;
    }

    .v2-width-50 {
        width: 50% !important;
    }
}

.v2-payment-radio {
    display: flex !important;
    flex-direction: row !important;
    align-items: start;
    gap: 10px;
}

.v2-muted-text {
    font-size: 80%;
    color: var(--main-brand-input-label-color);
    /*white-space: pre-line;
    display: inline-block;*/
}

.v2-payment-summary {
    background: var(--main-brand-payment-summary-card-bg);
    border-radius: var(--main-brand-card-border-radius);
    padding: 20px;
    border: var(--main-brand-payment-summary-card-border);
}

    .v2-payment-summary .v2-payment-total {
        margin-top: 20px;
        font-size: 1.3rem;
        font-weight: bold;
        color: var(--main-brand-color);
    }

.v2-flex-payment-card {
    display: grid;
    gap: 1em;
    margin-top: 2em;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.v2-mem-card-flex {
    display: flex;
    flex-direction: column;
}
/* =============================================== END OF PAYMENT SUMMARY =========================================== */

/* =============================================== START OF LINE HEIGHT =========================================== */

.v2-line-height-1 {
    line-height: 1;
}

.v2-line-height-sm {
    line-height: 1.25;
}

.v2-line-height-base {
    line-height: 1.5;
}

.v2-line-height-lg {
    line-height: 2;
}


/* =============================================== END OF LINE HEIGHT =========================================== */


/* =============================================== START OF DASHBOARD =========================================== */

/* --- HERO SECTION --- */
.v2-dashboard-hero-container {
    position: relative;
    /*background: url('') center center/cover no-repeat;*/
    color: #fff;
    padding: 3rem 1rem;
}

.v2-dashboard-hero-container-bg-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.5), rgba(0,0,0,0.1));
}

.v2-dashboard-inner-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

    .v2-dashboard-inner-content h1 {
        font-size: 2rem;
        font-weight: 600;
        color: var(--main-brand-dashboard-hero-color);
        margin-bottom: 1rem;
    }

    .v2-dashboard-inner-content p, .v2-dashboard-inner-content p a {
        font-size: 1rem;
        line-height: 1.5;
        color: var(--main-brand-dashboard-hero-color);
    }

        .v2-dashboard-inner-content p a, v2-dashboard-inner-content a {
            text-decoration: underline;
        }

/* --- DASHBOARD ACTION CARDS --- */
.v2-dashboard-inner-actions-wrap {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
    gap: 1rem;
}

.v2-dashboard-inner-action-link {
    display: block;
    background: var(--main-brand-dashboard-hero-card-bg);
    border-radius: var(--main-brand-border-radius) !important;
    padding: 1rem;
    color: var(--main-brand-body-color);
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: all 0.2s ease-in-out;
}

    .v2-dashboard-inner-action-link:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        text-decoration: none;
        color: var(--main-brand-body-color);
    }

    .v2-dashboard-inner-action-link h3 {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

.v2-dashoard-inner-hero {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    flex-direction: column;
}

.v2-dashboard-hero-bg {
    background: var(--main-brand-dashboard-hero-bg);
    color: var(--main-brand-dashboard-hero-color);
    width: fit-content;
    padding: var(--main-brand-dashboard-hero-padding);
    border-radius: var(--main-brand-dashboard-hero-border-radius);
    font-size: var(--main-brand-dashboard-hero-font-size);
    font-weight: var(--main-brand-dashboard-hero-font-weight);
}

.v2-dashboard-hero-banner-bg, .v2-dashboard-hero-banner-bg a, .v2-dashboard-hero-banner-bg a:hover {
    background: var(--main-brand-dashboard-hero-banner-bg);
    color: var(--main-brand-dashboard-hero-banner-color);
    padding: var(--main-brand-dashboard-hero-banner-padding);
    border-radius: var(--main-brand-dashboard-hero-banner-border-radius);
    font-size: var(--main-brand-dashboard-hero-banner-font-size);
    font-weight: var(--main-brand-dashboard-hero-banner-font-weight);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 800px) {
    .v2-dashoard-inner-hero {
        align-items: center;
        gap: 2rem;
        flex-direction: row;
    }
}

.v2-dashboard-inner-content {
    flex: 1 1 40%;
}

.v2-dashboard-inner-actions {
    flex: 1 1 60%;
}

.v2-dashboard-more-features-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.v2-dashboard-feature-card {
    background: #fff;
    border: var(--main-brand-card-border);
    border-radius: var(--main-brand-border-radius) !important;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: all 0.2s ease-in-out;
}

    .v2-dashboard-feature-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

a.v2-dashboard-feature-card-anchor {
    color: var(--main-brand-body-color) !important;
    text-decoration: none !important;
}

.v2-dashboard-feature-card-img img {
    width: 100%;
    height: 222px;
    object-fit: cover;
    display: block;
}

.v2-dashboard-feature-card-content {
    padding: 1rem;
}

    .v2-dashboard-feature-card-content h3 {
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    .v2-dashboard-feature-card-content p {
        font-size: 0.95rem;
        color: #555;
        line-height: 1.4;
    }

.v2-half-divider {
    width: 110px;
    height: 5px;
    background-color: var(--main-brand-half-divider-bg-color);
    margin: 10px 0;
}
/* =============================================== END OF DASHBOARD =========================================== */

/* =============================================== START OF LABEL MORE INFO =========================================== */
.v2-form-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

    .v2-form-label i {
        color: var(--main-brand-color);
    }


.info-text {
    background-color: #f8f9fa;
    border-left: 4px solid var(--main-brand-color);
    padding: 10px 15px;
    margin-top: 8px;
    font-size: 0.95rem;
    color: #333;
    border-radius: 4px;
}


/* =============================================== END OF LABEL MORE INFO =========================================== */


/* =============================================== START OF FONT SIZE =========================================== */

.v2-font-xs {
    font-size: 0.75rem; /* 12px */
}

.v2-font-sm {
    font-size: 0.875rem; /* 14px */
}

.v2-font-base {
    font-size: 1rem; /* 16px */
}

.v2-font-lg {
    font-size: 1.125rem; /* 18px */
}

.v2-font-xl {
    font-size: 1.25rem; /* 20px */
}

.v2-font-2xl {
    font-size: 1.5rem; /* 24px */
}

.v2-font-3xl {
    font-size: 1.875rem; /* 30px */
}

.v2-font-4xl {
    font-size: 2.25rem; /* 36px */
}

/* =============================================== END OF FONT SIZE  =========================================== */


/* =============================================== START OF DIRECTORY VIEW  =========================================== */

.v2-image img {
    width: 8.75rem;
    max-width: 100%;
    height: auto;
    border-radius: var(--main-brand-border-radius);
}
/* =============================================== END OF DIRECTORY VIEW  =========================================== */


/* =============================================== START OF CUSTOM CHECKBOX =========================================== */
label.custom-checkbox {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin: 0px;
    font-size: 16px;
    user-select: none;
    color: var(--main-brand-body-color);
    transition: color 0.25s ease, border-color 0.25s ease;
}

    /* Hide native radio */
    label.custom-checkbox input[type="checkbox"] {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

.custom-checkbox .checkmark {
    position: relative;
    height: 20px;
    width: 20px;
    min-width: 20px;
    background-color: #fff;
    border: var(--main-brand-input-border-color);
    border-radius: 4px;
    margin-right: 10px;
    transition: all 0.25s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Hover effect (label + box) */
.custom-checkbox:hover {
    color: var(--main-brand-color);
}

    .custom-checkbox:hover .checkmark {
        border-color: var(--main-brand-color);
        box-shadow: 0 0 5px color-mix(in srgb, var(--main-brand-color) 45%, transparent);
    }

/* When checked */
.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--main-brand-color);
    border-color: var(--main-brand-color);
    box-shadow: 0 0 6px color-mix(in srgb, var(--main-brand-color) 45%, transparent);
}

/* Also color the label when checked */
.custom-checkbox input:checked ~ span:last-child {
    color: var(--main-brand-color);
}

/* Checkmark tick */
.custom-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show tick when checked */
.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Tick styling */
.custom-checkbox .checkmark:after {
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Preview-only checkbox (non-clickable) */
.preview-checkbox {
    pointer-events: none; /* Disable interaction without grey disabled style */
    opacity: 1 !important; /* Prevent faded look */
}

    .preview-checkbox input[type="checkbox"] {
        pointer-events: none;
    }

/* =============================================== END OF CUSTOM CHECKBOX AND RADIO BUTTON =========================================== */

/* =============================================== START OF CUSTOM RADIO BUTTON =========================================== */
.custom-radio-wrap {
    display: flex;
    flex-direction: column;
}

label.custom-radio {
    position: relative;
    display: inline-flex;
    align-items: start;
    cursor: pointer;
    margin: 8px 12px;
    font-size: 16px;
    user-select: none;
    color: var(--main-brand-body-color);
    transition: color 0.2s ease;
}

/* Hide native radio */
.custom-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Circular radio style */
.custom-radio .checkmark {
    position: relative;
    height: 20px;
    width: 20px;
    min-width: 20px;
    background-color: #fff;
    border: var(--main-brand-input-border-color);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.25s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Hover effect */
.custom-radio:hover span {
    color: var(--main-brand-color);
}

.custom-radio:hover .checkmark {
    border-color: var(--main-brand-color);
    box-shadow: 0 0 5px color-mix(in srgb, var(--main-brand-color) 45%, transparent);
}

/* When checked */
.custom-radio input:checked ~ .checkmark {
    background-color: var(--main-brand-color);
    border-color: var(--main-brand-color);
    box-shadow: 0 0 6px color-mix(in srgb, var(--main-brand-color) 45%, transparent);
}

/* Inner dot */
.custom-radio .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show dot when checked */
.custom-radio input:checked ~ .checkmark:after {
    display: block;
}

.custom-radio .checkmark:after {
    top: 6px;
    left: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}
/* =============================================== END OF CUSTOM RADIO BUTTON =========================================== */

/* =============================================== START OF CARD LISTING =========================================== */
.v2-width-100{
    width: 100%;
}
.listing-card-height{
    height:250px;
}
.v2-listing-card-meta a {
    color: inherit !important;
    text-decoration: none !important;
    word-break: break-word;
}
.v2-listing-card-meta a:hover {
    opacity: 0.8;
}
/* SECTION */
.v2-listing-section {
    /*margin: 32px 0;*/
}

.v2-listing-header {
    margin-bottom: 24px;
}

.v2-listing-intro {
    color: #555;
    max-width: 800px;
}

/* GRID */
.v2-listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* CARD */
.v2-listing-card {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    transition: transform .v2-25s ease, box-shadow .25s ease;
}

    .v2-listing-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 32px rgba(0,0,0,0.12);
    }

/* IMAGE */
.v2-listing-card-image {
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.v2-listing-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TEXT */
.v2-listing-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.v2-listing-card-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* META */
.v2-listing-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.v2-listing-card-meta i {
    color: #0077cc;
    font-size: 14px;
}

.v2-listing-card-meta a {
    color: #0077cc;
    text-decoration: none;
}

    .v2-listing-card-meta a:hover {
        text-decoration: underline;
    }

/* =============================================== END OF CARD LISTING =========================================== */


/* =================================== DIRECTORY CARD - Updated for Custom HTML Structure =================================== */

.directory-card {
    background: var(--main-brand-card-bg-color, white);
    border-radius: var(--main-brand-card-border-radius, 1rem);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: var(--main-brand-card-border, 1px solid #e5e5e5);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.directory-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* CARD IMAGE */
.directory-card .card-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    background: var(--gray-200, #e5e5e5);
    flex-shrink: 0;
}

    .directory-card .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform 0.4s ease;
        display: block;
    }

.directory-card:hover .card-image img {
    transform: scale(1.08);
}

/* Fallback gradient if no image */
.directory-card .card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #2d5016 0%, #4a7024 100%);
    z-index: 0;
}

.directory-card .card-image img {
    position: relative;
    z-index: 1;
}

/* Image overlay for better contrast */
.directory-card .card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

/* CARD CONTENT */
.directory-card .card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 1.25rem 1.25rem 0.5rem 1.25rem;
    line-height: 1.3;
    color: var(--main-brand-body-color, #1a1a1a);
}

.directory-card .card-subtitle {
    font-size: 0.875rem;
    color: var(--main-brand-portal-link-color, #737373);
    margin: 0 1.25rem 1rem 1.25rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* CARD INFO */
.directory-card .card-info {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.375rem 1.25rem;
    font-size: 0.875rem;
    color: var(--main-brand-body-color, #4a4a4a);
    line-height: 1.4;
}

    .directory-card .card-info:last-of-type {
        padding-bottom: 1.25rem;
    }

    .directory-card .card-info i {
        flex-shrink: 0;
        font-size: 1rem;
        color: var(--main-brand-icons-color, var(--main-brand-color, #e6004c));
        width: 18px;
        text-align: center;
    }

    .directory-card .card-info a {
        color: var(--main-brand-primary-link-color, #4a90a4);
        text-decoration: none;
        word-break: break-word;
        transition: color 0.2s;
    }

        .directory-card .card-info a:hover {
            color: var(--main-brand-color, #e6004c);
            text-decoration: underline;
        }

    .directory-card .card-info span {
        word-break: break-word;
    }

/* ===================================
   DIRECTORY GRID
   =================================== */

.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 1.5rem;
}

/* ===================================
   LIST VIEW
   =================================== */

.directory-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

    .directory-list .directory-card {
        flex-direction: row;
        height: auto;
    }

        .directory-list .directory-card .card-image {
            width: 280px;
            height: auto;
            min-height: 200px;
            flex-shrink: 0;
        }

        .directory-list .directory-card .card-title,
        .directory-list .directory-card .card-subtitle,
        .directory-list .directory-card .card-info {
            margin-left: 0;
            margin-right: 0;
        }

        .directory-list .directory-card .card-title {
            margin-top: 1.25rem;
            padding: 0 1.25rem;
        }

        .directory-list .directory-card .card-subtitle {
            padding: 0 1.25rem;
        }

        .directory-list .directory-card .card-info {
            padding-left: 1.25rem;
            padding-right: 1.25rem;
        }

/* ===================================
   VIEW TOGGLE - HIDE ON MOBILE
   =================================== */

.view-toggle {
    display: none; /* Hidden on mobile by default */
    gap: 0.375rem;
    background: var(--gray-100, #f5f5f5);
    padding: 0.25rem;
    border-radius: 0.5rem;
}

.view-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

    .view-btn.active {
        background: white;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .view-btn:hover:not(.active) {
        background: rgba(255,255,255,0.5);
    }

/* Show view toggle on tablet and desktop */
@media (min-width: 768px) {
    .view-toggle {
        display: flex;
    }
}

/* ===================================
   STATS BAR - RESPONSIVE
   =================================== */

.stats-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: white;
    border-radius: var(--main-brand-border-radius, 1rem) 0px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid var(--gray-200, #e5e5e5);
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.stats-info {
    font-size: 0.9375rem;
    color: var(--main-brand-body-color, #4a4a4a);
}

    .stats-info strong {
        color: var(--main-brand-body-color, #1a1a1a);
        font-weight: 700;
    }

.view-controls {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.sort-select {
    padding: 0.625rem 1rem;
    border: 2px solid var(--gray-200, #e5e5e5);
    border-radius: 0.5rem;
    font-family: var(--main-brand-font, 'Noto Sans', sans-serif);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9375rem;
    background: white;
    min-width: 180px;
}

    .sort-select:focus {
        outline: none;
        border-color: var(--main-brand-color, #e6004c);
    }

/* ===================================
   FILTERS SECTION
   =================================== */

.filters-section {
    background: white;
    border-radius: var(--main-brand-border-radius, 1rem);
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid var(--gray-200, #e5e5e5);
    margin-bottom: 1.5rem;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

    .filters-header h2 {
        font-size: clamp(1rem, 3vw, 1.25rem);
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--main-brand-tabs-sections-heading-color, var(--main-brand-secondary-color, #003E7E));
    }

.filter-toggle-btn {
    background: var(--main-brand-color, #e6004c);
    color: white;
    padding: 0.625rem 1rem;
    border: none;
    border-radius: var(--main-brand-button-border-radius, 25px);
    font-weight: var(--main-brand-button-font-weight, 600);
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

    .filter-toggle-btn:hover {
        opacity: 0.9;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(230, 0, 76, 0.3);
    }

.filters-content {
    transition: all 0.3s ease-in-out;
    max-height: 2000px;
    overflow: hidden;
}

    .filters-content.collapsed {
        max-height: 0;
        opacity: 0;
    }

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-label {
    font-weight: var(--main-brand-input-label-font-weight, 400);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--main-brand-input-label-color, var(--main-brand-body-color, #1a1a1a));
}

.filter-input,
.filter-select {
    width: 100%;
    padding: 0.75rem;
    border: var(--main-brand-input-border-color, 1px solid rgba(213, 215, 218, 1));
    border-radius: var(--main-brand-input-border-radius, 8px);
    font-family: var(--main-brand-font, 'Noto Sans', sans-serif);
    transition: border-color 0.2s;
    font-size: var(--main-brand-font-size, 18px);
    background: var(--main-brand-input-bg-color, white);
}

    .filter-input:focus,
    .filter-select:focus {
        outline: none;
        border-color: var(--main-brand-color, #e6004c);
        box-shadow: 0 0 0 3px rgba(230, 0, 76, 0.1);
    }

    .filter-input::placeholder {
        color: var(--gray-400, #a3a3a3);
        opacity: 0.6;
    }

.radio-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.625rem 0.875rem;
    border-radius: 0.5rem;
    transition: background 0.2s;
    border: 2px solid var(--gray-200, #e5e5e5);
    font-size: 0.9375rem;
}

    .radio-label:hover {
        background: var(--gray-100, #f5f5f5);
    }

    .radio-label input[type="radio"] {
        accent-color: var(--main-brand-color, #e6004c);
        cursor: pointer;
        width: 20px;
        height: 20px;
    }

.filter-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.btn-apply {
    background: var(--main-brand-primary-button-bg, var(--main-brand-color, #e6004c));
    color: var(--main-brand-primary-button-color, white);
    padding: var(--main-brand-button-padding, 10px 18px);
    border: var(--main-brand-primary-border-color, 2px solid var(--main-brand-color, #e6004c));
    border-radius: var(--main-brand-button-border-radius, 25px);
    font-weight: var(--main-brand-button-font-weight, 600);
    cursor: pointer;
    transition: all 0.2s;
    font-size: var(--main-brand-font-size, 18px);
    font-family: var(--main-brand-font, 'Noto Sans', sans-serif);
}

    .btn-apply:hover {
        background: var(--main-brand-primary-button-hover-bg, white);
        color: var(--main-brand-primary-button-hover-color, var(--main-brand-color, #e6004c));
        border: var(--main-brand-primary-border-hover-color, 2px solid var(--main-brand-color, #e6004c));
    }

.btn-reset {
    background: var(--main-brand-secondary-button-bg, white);
    color: var(--main-brand-secondary-button-color, var(--main-brand-color, #e6004c));
    padding: var(--main-brand-button-padding, 10px 18px);
    border: var(--main-brand-secondary-border-color, 2px solid var(--main-brand-color, #e6004c));
    border-radius: var(--main-brand-button-border-radius, 25px);
    font-weight: var(--main-brand-button-font-weight, 600);
    cursor: pointer;
    transition: all 0.2s;
    font-size: var(--main-brand-font-size, 18px);
    font-family: var(--main-brand-font, 'Noto Sans', sans-serif);
}

    .btn-reset:hover {
        background: var(--main-brand-secondary-button-hover-bg, var(--main-brand-color, #e6004c));
        color: var(--main-brand-secondary-button-hover-color, white);
        border: var(--main-brand-secondary-border-hover-color, 2px solid var(--main-brand-color, #e6004c));
    }

/* ===================================
   RESPONSIVE - MOBILE
   =================================== */

@media (max-width: 767px) {
    .directory-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .directory-card .card-image {
        height: 180px;
    }

    .stats-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
    }

    .stats-info {
        text-align: center;
        font-size: 0.875rem;
    }

    .view-controls {
        flex-direction: column;
        width: 100%;
    }

    .sort-select {
        width: 100%;
    }

    .filters-section {
        padding: 1rem;
    }

    .filters-grid {
        grid-template-columns: 1fr;
    }

    .radio-group {
        flex-direction: column;
    }

    .radio-label {
        width: 100%;
    }

    .filter-actions {
        flex-direction: column-reverse;
        width: 100%;
    }

    .btn-apply,
    .btn-reset {
        width: 100%;
        text-align: center;
    }

    /* Force list view on mobile if card is in list mode */
    .directory-list .directory-card {
        flex-direction: column;
    }

        .directory-list .directory-card .card-image {
            width: 100%;
            height: 180px;
        }
}

/* ===================================
   RESPONSIVE - TABLET
   =================================== */

@media (min-width: 768px) and (max-width: 1023px) {
    .directory-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* ===================================
   RESPONSIVE - DESKTOP
   =================================== */

@media (min-width: 1024px) {
    .directory-grid {
        gap: 2rem;
    }

    .stats-bar {
        padding: 1.5rem 2rem;
    }

    .filters-section {
        padding: 1rem 2rem;
    }
}

/* ===================================
   IMAGE ERROR HANDLING
   =================================== */

.directory-card .card-image img[src=""],
.directory-card .card-image img:not([src]),
.directory-card .card-image img[src="#"] {
    display: none;
}

/* Show fallback gradient when image is missing or broken */
.directory-card .card-image:has(img[src=""]),
.directory-card .card-image:has(img:not([src])),
.directory-card .card-image:has(img[src="#"]) {
    background: linear-gradient(135deg, #2d5016 0%, #4a7024 100%);
}

/* Alternative fallback for older browsers */
.directory-card .card-image img[alt="Image"] {
    min-height: 200px;
}

/*.signoutCSS,
.members-area {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 600;
    transition: all .25s ease;
}

.signoutCSS {
    background: linear-gradient(135deg, #ff5f6d, #ffc371);
    color: #fff;
}

    .signoutCSS:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(0,0,0,.2);
    }

.members-area {
    background: linear-gradient(135deg, #36d1dc, #5b86e5);
    color: #fff;
}

    .members-area:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(0,0,0,.2);
    }

.btn-text {
    white-space: nowrap;
}*/
/* Alerts */
.v2-alert {
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 600;
    line-height: 1.35;
    box-shadow: 0 10px 22px rgba(0,0,0,.08);
}

.v2-alert-success {
    background: rgba(34,197,94,.12);
    border: 1px solid rgba(34,197,94,.28);
}

.v2-alert-danger {
    background: rgba(239,68,68,.12);
    border: 1px solid rgba(239,68,68,.28);
}

.v2-alert .small {
    display: block;
    margin-top: 4px;
    font-weight: 500;
    opacity: .85;
}

.v2-btn-secondary {
    border-radius: 999px;
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.10);
}

    .v2-btn-secondary:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 22px rgba(0,0,0,.14);
    }
/* Validation block */
.bank-validation-block {
    margin-top: 14px;
}

/* Secondary button */
.v2-btn-secondary {
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
    border: 1px solid rgba(0,0,0,.08);
    transition: all .25s ease;
}

    .v2-btn-secondary:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 22px rgba(0,0,0,.14);
    }
.v2-alert-error {
    color: #c62828; /* red text */
    background-color: #fdecea; /* light red background */
    border: 1px solid #f5c2c7;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 14px;
}
.btn-svg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-svg svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}
/* ===== Payment Summary (beautified) – scoped to this view ===== */
.ps-methods {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px
}

@media (max-width:980px) {
    .ps-methods {
        grid-template-columns: 1fr
    }
}

.ps-method {
    border: 1px solid rgba(15,23,42,.10);
    border-radius: 16px;
    background: linear-gradient(180deg,#fff,#fbfdff);
    box-shadow: 0 10px 18px rgba(2,6,23,.06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

    .ps-method:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 28px rgba(2,6,23,.10);
        border-color: rgba(11,79,134,.25)
    }

.ps-radio-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

    .ps-radio-row input[type=radio] {
        flex: 0 0 auto;
        margin-top: 2px;
    }

    .ps-radio-row .checkmark {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        margin-top: 2px !important;
        flex: 0 0 18px;
    }

    .ps-radio-row .ps-icon3d {
        margin-top: 2px;
    }

    /*  .ps-radio-row .v2-flex-grow {
            min-width: 180px;
            flex: 1 1 180px;
        }
 */
    .ps-radio-row > span:last-child {
        margin-left: auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

.ps-icon3d {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    flex: 0 0 44px;
    overflow: hidden;
    position: relative;
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -12px 18px rgba(0,0,0,.10), 0 14px 22px rgba(2,6,23,.14);
}

    .ps-icon3d:after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 22% 18%, rgba(255,255,255,.65), rgba(255,255,255,0) 55%);
        pointer-events: none;
    }

    .ps-icon3d svg {
        width: 26px;
        height: 26px;
        position: relative;
        z-index: 1
    }

.ps-t-card {
    background: radial-gradient(circle at 25% 20%, #bfe7ff, #0ea5e9 55%, #0b4f86 100%)
}

.ps-t-worldpay {
    background: radial-gradient(circle at 25% 20%, #ffd2b8, #f36b21 55%, #b63a06 100%)
}

.ps-t-paypal {
    background: radial-gradient(circle at 25% 20%, #c7e8ff, #2563eb 55%, #0b3b8f 100%)
}

.ps-t-recurring {
    background: radial-gradient(circle at 25% 20%, #d9f99d, #22c55e 55%, #15803d 100%)
}

.ps-t-bank {
    background: radial-gradient(circle at 25% 20%, #fde68a, #f59e0b 55%, #b45309 100%)
}

.ps-t-invoice {
    background: radial-gradient(circle at 25% 20%, #e9d5ff, #8b5cf6 55%, #5b21b6 100%)
}

.ps-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(11,79,134,.07);
    border: 1px solid rgba(11,79,134,.16);
    color: var(--main-brand-color);
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap
}

.ps-hint {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: linear-gradient(180deg,#fff7f2,#fff);
    border: 1px solid rgba(243,107,33,.25);
    color: #9a3c0f;
    font-weight: 700;
}

.ps-summary {
    position: sticky;
    top: 16px;
    overflow: hidden
}

.ps-summary-head {
    padding: 16px;
    background: linear-gradient(140deg, rgba(11,79,134,.10), rgba(243,107,33,.10));
    border-bottom: 1px solid rgba(15,23,42,.08);
}

.ps-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(15,23,42,.10);
    font-size: .95rem
}

    .ps-summary-row:last-child {
        border-bottom: none
    }

.ps-summary-label {
    color: #64748b;
    font-weight: 700
}

.ps-summary-val {
    font-variant-numeric: tabular-nums;
    font-weight: 900
}

.ps-total {
    margin: 14px 0;
    padding: 14px 14px;
    border-radius: 16px;
    background: linear-gradient(180deg,#fff7f2,#fff);
    border: 1px solid rgba(243,107,33,.25);
    box-shadow: 0 12px 22px rgba(243,107,33,.12)
}

    .ps-total .amt {
        font-size: 1.35rem;
        font-weight: 1000;
        color: #c2410c;
        font-variant-numeric: tabular-nums
    }

/* Provider mini-badges (replaces flat Worldpay/PayPal logos inside cards) */
.ps-brandbadge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(15,23,42,.10);
    background: linear-gradient(180deg,#ffffff,#f7fbff);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 10px 18px rgba(2,6,23,.06);
    margin-left: auto;
    line-height: 1;
    white-space: nowrap;
}

    .ps-brandbadge .ps-mini3d {
        width: 18px;
        height: 18px;
        border-radius: 7px;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -8px 12px rgba(0,0,0,.10), 0 10px 16px rgba(2,6,23,.12);
        overflow: hidden;
        flex: 0 0 18px;
        position: relative;
    }

        .ps-brandbadge .ps-mini3d:after {
            content: "";
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at 25% 18%, rgba(255,255,255,.70), rgba(255,255,255,0) 58%);
            pointer-events: none;
        }

    .ps-brandbadge .ps-btext {
        font-size: 11px;
        font-weight: 900;
        letter-spacing: .15px;
        color: #0b4f86;
    }

.ps-b-worldpay {
    border-color: rgba(243,107,33,.25);
    background: linear-gradient(180deg,#fff7f2,#ffffff);
}

    .ps-b-worldpay .ps-mini3d {
        background: radial-gradient(circle at 25% 20%, #ffd2b8, #f36b21 55%, #b63a06 100%);
    }

.ps-b-paypal {
    border-color: rgba(37,99,235,.25);
    background: linear-gradient(180deg,#f2f7ff,#ffffff);
}

    .ps-b-paypal .ps-mini3d {
        background: radial-gradient(circle at 25% 20%, #c7e8ff, #2563eb 55%, #0b3b8f 100%);
    }

.consent {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border: 1px dashed rgba(11,79,134,.25);
    background: rgba(11,79,134,.03);
    padding: 12px;
    border-radius: 12px;
}

.ps-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.total {
    margin: 1rem 0;
    border-radius: 16px;
    padding: 14px 14px;
    background: linear-gradient(180deg, #fff7f2, #ffffff);
    border: 1px solid rgba(243,107,33,.25);
    box-shadow: 0 12px 22px rgba(243,107,33,.12);
}

    .total .t1 {
        color: #9a3c0f;
        font-size: 12px;
        font-weight: 900;
        letter-spacing: .2px;
    }

    .total .t2 {
        margin-top: 6px;
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 10px;
    }

    .total .amount {
        font-size: 22px;
        font-weight: 1000;
        color: #c2410c;
        font-variant-numeric: tabular-nums;
    }

    .total .badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 7px 10px;
        border-radius: 999px;
        background: rgba(11,79,134,.08);
        border: 1px solid rgba(11,79,134,.18);
        color: #0b4f86;
        font-size: 11px;
        font-weight: 900;
        white-space: nowrap;
    }

.secure {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

    .secure .lock {
        width: 28px;
        height: 28px;
        flex: 0 0 28px;
        border-radius: 10px;
        background: radial-gradient(circle at 30% 30%, #dbeafe, #93c5fd 55%, #3b82f6 100%);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 12px 18px rgba(59,130,246,.22);
        display: grid;
        place-items: center;
    }

.ps-summary .head {
    padding: 18px;
    background: linear-gradient(140deg, rgba(11,79,134,.10), rgba(243,107,33,.10));
    border-bottom: 1px solid #edf2fb;
}

.ps-summary h2 {
    margin: 0;
    font-size: 18px;
    color: #0b4f86;
    letter-spacing: .2px;
}

.sub {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.35;
}
.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f2f7ff;
    border: 1px solid #e3ecfb;
    color: #0a3f6a;
    font-size: 11px;
    font-weight: 800;
    width: fit-content;
}







