:root {
        --sp-green: #A2D471;
        --sp-blue: #0791E4;
        --sp-light-blue: #e8f4f8;
        --sp-gray: #4a5568;
        --sp-light-gray: #718096;
        --sp-white: #ffffff;
        --sp-border: #e2e8f0;
    }

            html,
        body {
            margin: 0 !important;
            padding: 0 !important
        }

        html,
        body,
        .sponsor-portal-body,
        .sponsor-portal-body input,
        .sponsor-portal-body button,
        .sponsor-portal-body select,
        .sponsor-portal-body textarea,
        .sponsor-portal-body label,
        .sponsor-portal-body p,
        .sponsor-portal-body h1,
        .sponsor-portal-body h2,
        .sponsor-portal-body h3,
        .sponsor-portal-body a {
            font-family: 'Montserrat', sans-serif !important;
            font-weight: 600
        }

    html {
        margin: 0;
        padding: 0;
        width: 100%;
    }

    body.sponsor-portal-body {
        font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif !important;
        font-weight: 500;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        min-width: 100%;
        min-height: 100vh;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .sponsor-split {
        display: flex;
        width: 100%;
        min-width: 100%;
        min-height: 100vh;
        flex-wrap: wrap;
        overflow-x: visible;
        overflow-y: visible;
    }

    /* Laptop and up: no page scroll; layout fits viewport, columns can scroll internally if needed */
    @media (min-width: 993px) {
        html,
        body.sponsor-portal-body {
            height: 100%;
            min-height: 100vh;
            overflow-y: hidden;
        }

        .sponsor-split {
            height: 100vh;
            min-height: 100vh;
            max-height: 100vh;
            flex-wrap: nowrap;
            overflow: hidden;
        }

        .sponsor-left {
            overflow-y: auto;
            overflow-x: hidden;
            min-height: 0;
            max-height: 100vh;
            -webkit-overflow-scrolling: touch;
        }

        .sponsor-right {
            min-height: 0;
            max-height: 100vh;
            overflow-y: auto;
            overflow-x: hidden;
            -webkit-overflow-scrolling: touch;
        }
    }

    /* Left Section - no scroll: content fits viewport; overflow visible so child images are not cut */
    .sponsor-left {
        flex: 1 1 38%;
        min-width: 320px;
        min-height: 0;
        background: var(--sp-light-blue);
        position: relative;
        overflow: visible;
        padding: 32px 24px 40px;
        display: flex;
        flex-direction: column;
    }

    .sponsor-left-header .sponsor-logo {
        margin-bottom: 20px;
    }

    .sponsor-left-header h1 {
        margin-bottom: 12px;
    }

    .sponsor-left .sponsor-logo {
        display: block;
        margin: 0 auto 24px;
        max-width: 160px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .sponsor-left-header h1,
    .sponsor-left h1 {
        font-size: 3.25rem;
        font-weight: 600;
        color: var(--sp-blue);
        margin-bottom: 14px;
        position: relative;
        z-index: 1;
        text-align: center;
    }

    .sponsor-left .lead-text {
        color: var(--sp-gray);
        line-height: 1.6;
        margin-bottom: 28px;
        position: relative;
        z-index: 1;
        text-align: center;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .sponsor-cards {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
        margin-bottom: 0;
        position: relative;
        z-index: 1;
        justify-content: center;
    }

    .sponsor-card {
        flex: 0 0 auto;
        width: 280px;
        min-width: 200px;
        background: #f8f9fa;
        border-radius: 16px;
        padding: 18px 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        display: flex;
        flex-direction: column;
    }

    .sponsor-card h3 {
        font-size: 1.35rem;
        font-weight: 600;
        color: #1a1a1a;
        margin: 0 0 10px 0;
        text-align: left;
    }

    .sponsor-card .card-desc {
        font-size: 11px;
        color: #333;
        line-height: 1.5;
        margin: 0 0 18px 0;
        text-align: justify;
        /* Match index page so both cards keep same height and motto lines align */
        min-height: 90px;
    }

    .sponsor-card .motto {
        font-size: 11px;
        margin: 0 0 18px 0;
        text-align: center;
    }

    .sponsor-card .btn-wrap {
        margin-top: auto;
        padding-top: 0;
        text-align: center;
    }

    .sponsor-card .btn-card {
        display: inline-block;
        background: var(--sp-green);
        color: white;
        padding: 12px 16px;
        border-radius: 10px;
        text-decoration: none;
        font-weight: 600;
        font-size: 1rem;
        transition: background 0.2s;
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .sponsor-card .btn-card:hover {
        background: #8fc95d;
        color: white;
    }

    /* Green button (.sponsor-card .btn-card) by viewport */
    @media (min-width: 1240px) {
        .sponsor-card .btn-card {
            padding: 12px 1px;
            font-size: 12px;
        }
    }

    @media (max-width: 1239px) and (min-width: 1050px) {
        .sponsor-card .btn-card {
            font-size: 10px;
            padding: 12px 1px;
        }
    }

    @media (max-width: 1049px) and (min-width: 993px) {
        .sponsor-card .btn-card {
            font-size: 9px;
            padding: 12px 1px;
        }
    }

    /* Child images at bottom corners of left section – visible only on large screens, never under cards */
    .sponsor-images {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 0;
        pointer-events: none;
        z-index: 1;
        overflow: visible;
    }

    .sponsor-img-boy,
    .sponsor-img-girl {
        position: absolute;
        bottom: 0;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .sponsor-img-boy {
        left: 0;
        max-width: 205px;
        max-height: 185px;
        object-position: left bottom;
    }

    .sponsor-img-girl {
        right: 0;
        max-width: 210px;
        max-height: 180px;
        object-position: right bottom;
    }

    /* Extra bottom padding so cards never overlap the children images on large screens */
    @media (min-width: 993px) {
        .sponsor-left {
            padding-bottom: 100px;
        }
    }

    /* Right Section */
    .sponsor-right {
        flex: 1 1 58%;
        min-width: 320px;
        min-height: 0;
        background: var(--sp-white);
        position: relative;
        overflow-y: auto;
        overflow-x: visible;
        padding: 50px 28px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .sponsor-right::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 200px;
        height: 200px;
        background: url('../images/sponsor_portal/top-right-corner-bubble-main-page.png') no-repeat top right;
        background-size: contain;
        pointer-events: none;
        z-index: 0;
    }

    .sponsor-right::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 180px;
        height: 180px;
        background: url('../images/sponsor_portal/bottom-right-corner-style-main-page.png') no-repeat bottom right;
        background-size: contain;
        pointer-events: none;
        z-index: 0;
    }

    .sponsor-right .sponsor-form-wrap {
        position: relative;
        z-index: 1;
    }

    .sponsor-form-wrap {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 20px;
    }

    .sponsor-form-wrap .sponsor-logo-right {
        display: block;
        margin: 12px auto 4px;
        max-width: 80px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .sponsor-form-wrap .login-headings {
        text-align: center;
        margin-bottom: 12px;
    }

    .sponsor-form-wrap .subtitle {
        color: var(--sp-blue);
        margin: 0 0 9px 0;
        text-align: center;
        font-weight: 600;
    }

    .sponsor-form-wrap .subtitle .text-sponsor {
        color: var(--sp-green);
    }

    .sponsor-form-wrap .brand-title {
        color: var(--sp-green);
        font-weight: 600;
        margin: 0 0 9px 0;
        text-align: center;
    }

    .sponsor-form-wrap .brand-title.brand-title-blue {
        color: var(--sp-blue);
    }

    .sponsor-form .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    @media (max-width: 576px) {
        .sponsor-form .form-row {
            grid-template-columns: 1fr;
        }
    }

    .sponsor-form-wrap .tagline {
        font-weight: 600;
        color: var(--sp-blue);
        margin: 0 0 10px 0;
        text-align: center;
    }

    .sponsor-form-wrap .desc {
        color: var(--sp-gray);
        line-height: 1.5;
        margin: 0 0 24px 0;
        text-align: center;
    }

    .sponsor-form .form-group {
        margin-bottom: 20px;
    }

    .sponsor-form label {
        display: block;
        font-size: 1.35rem;
        font-weight: 700;
        color: var(--sp-gray);
        margin-bottom: 6px;
    }

    .sponsor-form label .required-asterisk {
        color: #dc3545;
        margin-left: 2px;
    }

    .sponsor-form input {
        width: 100%;
        padding: 14px 16px;
        min-height: 44px;
        border: 1px solid var(--sp-border);
        border-radius: 10px;
        font-size: 1.05rem;
        transition: border-color 0.2s;
    }

    .sponsor-form input:focus {
        outline: none;
        border-color: var(--sp-green);
    }

    .pwd-wrap {
        position: relative;
    }

    .pwd-wrap input {
        padding-right: 45px;
    }

    .pwd-wrap .toggle-pwd {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #A2D471;
        cursor: pointer;
        padding: 0;
    }

    .forgot-link {
        display: block;
        text-align: right;
        margin-top: 8px;
        font-size: 1.05rem;
        color: var(--sp-green);
        text-decoration: none;
    }

    .forgot-link:hover {
        color: #8fc95d;
    }

    .or-divider {
        display: flex;
        align-items: center;
        margin: 25px 0;
    }

    .or-divider::before,
    .or-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--sp-border);
    }

    .or-divider span {
        padding: 0 15px;
        font-size: 1rem;
        color: var(--sp-light-gray);
    }

    .social-login {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-bottom: 25px;
    }

    .social-login a {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        border-radius: 0;
        flex-shrink: 0;
        background: transparent;
    }

    .social-login a:hover {
        opacity: 0.85;
    }

    .social-login a img {
        width: 24px;
        height: 24px;
        max-width: 24px;
        max-height: 24px;
        object-fit: contain;
    }

    .btn-login {
        width: 100%;
        padding: 14px;
        min-height: 44px;
        background: var(--sp-blue);
        color: white;
        border: none;
        border-radius: 10px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.2s;
    }

    .btn-login:hover {
        background: #067acc;
        color: white;
    }

    .signup-text {
        text-align: center;
        margin-top: 25px;
        font-size: 1.1rem;
        color: var(--sp-gray);
    }

    .signup-text a {
        color: var(--sp-blue);
        font-weight: 600;
        text-decoration: none;
    }

    .signup-text a:hover {
        text-decoration: underline;
    }

    /* Above 992px: left two boxes always side by side, responsive width */
    @media (min-width: 993px) {
        .sponsor-cards {
            flex-direction: row;
            flex-wrap: nowrap;
        }

        .sponsor-card {
            flex: 1 1 0;
            min-width: 180px;
            max-width: 320px;
            width: auto;
        }
    }

    /* 993px–1464px: left 45%, right 55% */
    @media (min-width: 993px) and (max-width: 1464px) {
        .sponsor-left {
            flex: 1 1 45%;
        }

        .sponsor-right {
            flex: 1 1 55%;
        }
    }

    /* Between 1300px (inclusive) and 992px (exclusive):
       slightly smaller logo and remove any top offset on heading */
    @media (max-width: 1299px) and (min-width: 993px) {
        .sponsor-left .sponsor-logo {
            max-width: 134px;
        }

        .sponsor-left-header h1,
        .sponsor-left h1 {
            margin-top: 0;
        }
    }

    /* Responsive */
    @media (max-width: 1200px) {
        .sponsor-left {
            min-width: 280px;
        }

        .sponsor-right {
            min-width: 280px;
        }

        .sponsor-right::before {
            width: 160px;
            height: 160px;
        }

        .sponsor-right::after {
            width: 140px;
            height: 140px;
        }
    }

    /* Keep left|right and two cards side-by-side below 1080px; tighten so no scroll */
    @media (max-width: 1080px) {
        .sponsor-split {
            flex-wrap: nowrap;
        }

        .sponsor-left {
            min-width: 260px;
            padding: 20px 20px 32px;
        }

        .sponsor-left .sponsor-logo {
            max-width: 140px;
            margin-bottom: 12px;
        }

        .sponsor-left h1 {
            font-size: 2.6rem;
            margin-bottom: 10px;
        }

        .sponsor-left .lead-text {
            font-size: 1rem;
            margin-bottom: 18px;
        }

        .sponsor-cards {
            gap: 14px;
            flex-wrap: nowrap;
        }

        .sponsor-card {
            min-width: 180px;
            padding: 16px 14px;
        }

        .sponsor-card h3 {
            font-size: 1.15rem;
            margin-bottom: 8px;
        }

        .sponsor-card .card-desc {
            font-size: 0.95rem;
            margin-bottom: 8px;
        }

        .sponsor-card .motto {
            font-size: 0.9rem;
            margin-bottom: 8px;
        }

        .sponsor-right {
            min-width: 260px;
            padding: 32px 24px;
        }

        .sponsor-right::before {
            width: 140px;
            height: 140px;
        }

        .sponsor-right::after {
            width: 120px;
            height: 120px;
        }

        .sponsor-form-wrap .tagline {
            font-size: 1.75rem;
        }

        .sponsor-form-wrap .brand-title {
            font-size: 1.85rem;
        }

        .sponsor-form-wrap .desc {
            font-size: 1rem;
            margin-bottom: 18px;
        }
    }

    /* Hide left child images and right corner decorations below 992px (inclusive); they appear above 992px only */
    @media (max-width: 992px) {
        .sponsor-images {
            display: none !important;
        }

        .sponsor-right::before,
        .sponsor-right::after {
            display: none !important;
        }
    }

    /* 841px–992px (stacked): vertically center the left (and right) section and center content inside left */
    @media (min-width: 841px) and (max-width: 992px) {
        .sponsor-split {
            align-items: center;
            overflow: visible;
        }

        .sponsor-left {
            justify-content: center;
        }
    }

    /* 992px and below: show both left and right stacked (up and down) with scroll; keep big-screen font sizes */
    @media (max-width: 992px) {
        .sponsor-split {
            flex-direction: column;
            flex-wrap: nowrap;
            height: 100vh;
            min-height: 100vh;
            overflow-x: visible;
            overflow-y: auto;
        }

        .sponsor-left,
        .sponsor-right {
            flex: 0 0 auto;
            min-width: 100%;
            width: 100%;
        }

        .sponsor-left {
            padding: 24px 20px 28px;
        }

        .sponsor-left h1 {
            font-size: 3.25rem;
        }

        .sponsor-left .lead-text {
            font-size: 1rem;
        }

        /* Keep two boxes side by side until 576px (stack only when UI would be disturbed) */
        .sponsor-cards {
            flex-direction: row;
            flex-wrap: nowrap;
        }

        .sponsor-card {
            flex: 1 1 0;
            min-width: 180px;
            max-width: none;
            width: auto;
        }

        .sponsor-card h3 {
            font-size: 1.35rem;
        }

        .sponsor-card .card-desc {
            font-size: 1rem;
        }

        .sponsor-card .motto {
            font-size: 1rem;
        }

        .sponsor-card .btn-card {
            font-size: 1rem;
        }

        .sponsor-right {
            padding: 32px 20px 40px;
        }

        .sponsor-form-wrap .tagline {
            font-size: 1.75rem;
        }

        .sponsor-form-wrap .brand-title {
            font-size: 1.85rem;
        }

        .sponsor-form-wrap .desc {
            font-size: 1rem;
        }

        /* Right side: keep big-screen font sizes below 992px */
        .sponsor-right .sponsor-form label,
        .sponsor-right .sponsor-form input,
        .sponsor-right .forgot-link { font-size: 1.05rem; }
        .sponsor-right .or-divider span { font-size: 1rem; }
        .sponsor-right .btn-login,
        .sponsor-right .signup-text { font-size: 1.1rem; }
    }

    /* Tighter spacing (577px–991px); no font size decrease below 992px */
    @media (max-width: 768px) {
        .sponsor-left {
            padding: 18px 20px 24px;
        }

        .sponsor-left .sponsor-logo {
            max-width: 120px;
            margin-bottom: 8px;
        }

        .sponsor-left h1 {
            margin-bottom: 8px;
        }

        .sponsor-left .lead-text {
            margin-bottom: 14px;
        }

        .sponsor-cards {
            gap: 12px;
        }

        .sponsor-card {
            padding: 14px 12px;
        }

        .sponsor-card h3 {
            margin-bottom: 6px;
        }

        .sponsor-card .card-desc {
            margin-bottom: 6px;
        }

        .sponsor-card .motto {
            margin-bottom: 6px;
        }

        .sponsor-card .btn-card {
            padding: 10px 12px;
        }

        .sponsor-right {
            padding: 24px 20px 36px;
        }

        .sponsor-right::before {
            width: 100px;
            height: 100px;
        }

        .sponsor-right::after {
            width: 90px;
            height: 90px;
        }

        .sponsor-form-wrap .desc {
            margin-bottom: 14px;
        }
    }

    @media (max-width: 576px) {

        /* Stack the two boxes when narrow (UI would be disturbed side by side) */
        .sponsor-cards {
            flex-direction: column;
            flex-wrap: wrap;
            align-items: center;
        }

        .sponsor-card {
            width: 100%;
            max-width: 360px;
            min-width: 0;
        }

        /* Small screens: both sections still shown stacked (from 992px); just tighten spacing */
        .sponsor-left {
            padding: 16px 20px 24px;
        }

        .sponsor-right {
            padding: 20px 16px 32px;
        }

        .sponsor-right::before {
            width: 80px;
            height: 80px;
        }

        .sponsor-right::after {
            width: 70px;
            height: 70px;
        }

        .sponsor-form-wrap .sponsor-logo-right {
            max-width: 52px;
        }

        .sponsor-form-wrap .desc {
            margin-bottom: 10px;
        }

        .sponsor-form .form-group {
            margin-bottom: 10px;
        }

        .sponsor-form input {
            padding: 8px 12px;
            min-height: 40px;
        }

        .or-divider {
            margin: 10px 0;
        }

        .social-login {
            margin-bottom: 10px;
        }

        .btn-login {
            padding: 8px;
            min-height: 40px;
        }

        .signup-text {
            margin-top: 10px;
            font-size: 0.9rem;
        }

        /* Right side: keep big-screen font size below 992px */
        .sponsor-right .signup-text {
            font-size: 1.1rem;
        }
    }











    body.sponsor-portal-body {
        font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif !important;
        font-weight: 500;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        min-width: 100%;
        min-height: 100vh;
        overflow-x: hidden;
        overflow-y: auto;
    }
    /* Laptop and up: no page scroll; layout fits viewport, columns can scroll internally if needed */
    @media (min-width: 993px) {
        html,
        body.sponsor-portal-body {
            height: 100%;
            min-height: 100vh;
            overflow-y: hidden;
        }

        .sponsor-split {
            height: 100vh;
            min-height: 100vh;
            max-height: 100vh;
            flex-wrap: nowrap;
            overflow: hidden;
        }

        .sponsor-left {
            overflow-y: auto;
            overflow-x: hidden;
            min-height: 0;
            max-height: 100vh;
            -webkit-overflow-scrolling: touch;
        }

        .sponsor-right {
            min-height: 0;
            max-height: 100vh;
            overflow-y: auto;
            overflow-x: hidden;
            -webkit-overflow-scrolling: touch;
        }
    }

    .sponsor-split {
        display: flex;
        width: 100%;
        min-width: 100%;
        min-height: 100vh;
        flex-wrap: wrap;
        overflow-x: visible;
        overflow-y: visible;
    }

    /* Left Section - no scroll: content fits viewport; overflow visible so child images are not cut */
    .sponsor-left {
        flex: 1 1 38%;
        min-width: 320px;
        min-height: 0;
        background: var(--sp-light-blue);
        position: relative;
        overflow: visible;
        padding: 32px 24px 40px;
        display: flex;
        flex-direction: column;
    }

    .sponsor-left-header .sponsor-logo {
        margin-bottom: 20px;
    }

    .sponsor-left-header h1 {
        margin-bottom: 12px;
    }

    .sponsor-left .sponsor-logo {
        display: block;
        margin: 0 auto 24px;
        max-width: 160px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .sponsor-left-header h1,
    .sponsor-left h1 {
        font-size: 3.25rem;
        font-weight: 600;
        color: var(--sp-blue);
        margin-bottom: 14px;
        position: relative;
        z-index: 1;
        text-align: center;
    }

    .sponsor-left .lead-text {
        color: var(--sp-gray);
        line-height: 1.6;
        margin-bottom: 28px;
        position: relative;
        z-index: 1;
        text-align: center;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .sponsor-cards {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
        margin-bottom: 0;
        position: relative;
        z-index: 1;
        justify-content: center;
    }

    .sponsor-card {
        flex: 0 0 auto;
        width: 280px;
        min-width: 200px;
        background: #f8f9fa;
        border-radius: 16px;
        padding: 18px 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        display: flex;
        flex-direction: column;
    }

    .sponsor-card h3 {
        font-size: 1.35rem;
        font-weight: 600;
        color: #1a1a1a;
        margin: 0 0 10px 0;
        text-align: left;
    }

    .sponsor-card .card-desc {
        font-size: 11px;
        color: #333;
        line-height: 1.5;
        margin: 0 0 18px 0;
        text-align: justify;
        /* Ensure both cards reserve the same vertical space for description
           so the motto lines align horizontally across cards */
        min-height: 90px;
    }

    .sponsor-card .motto {
        font-size: 11px;
        margin: 0 0 18px 0;
        text-align: center;
    }

    .sponsor-card .btn-wrap {
        margin-top: auto;
        padding-top: 0;
        text-align: center;
    }

    .sponsor-card .btn-card {
        display: inline-block;
        background: var(--sp-green);
        color: white;
        padding: 12px 16px;
        border-radius: 10px;
        text-decoration: none;
        font-weight: 600;
        font-size: 1rem;
        transition: background 0.2s;
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .sponsor-card .btn-card:hover {
        background: #8fc95d;
        color: white;
    }

    /* Green button (.sponsor-card .btn-card) by viewport */
    @media (min-width: 1240px) {
        .sponsor-card .btn-card {
            padding: 12px 1px;
            font-size: 12px;
        }
    }

    @media (max-width: 1239px) and (min-width: 1050px) {
        .sponsor-card .btn-card {
            font-size: 10px;
            padding: 12px 1px;
        }
    }

    @media (max-width: 1049px) and (min-width: 993px) {
        .sponsor-card .btn-card {
            font-size: 9px;
            padding: 12px 1px;
        }
    }

    /* Child images at bottom corners of left section – visible only on large screens, never under cards */
    .sponsor-images {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 0;
        pointer-events: none;
        z-index: 1;
        overflow: visible;
    }

    .sponsor-img-boy,
    .sponsor-img-girl {
        position: absolute;
        bottom: 0;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .sponsor-img-boy {
        left: 0;
        max-width: 205px;
        max-height: 185px;
        object-position: left bottom;
    }

    .sponsor-img-girl {
        right: 0;
        max-width: 210px;
        max-height: 180px;
        object-position: right bottom;
    }

    /* Extra bottom padding so cards never overlap the children images on large screens */
    @media (min-width: 993px) {
        .sponsor-left {
            padding-bottom: 100px;
        }
    }

    /* Right Section */
    .sponsor-right {
        flex: 1 1 58%;
        min-width: 320px;
        min-height: 0;
        background: var(--sp-white);
        position: relative;
        overflow-y: auto;
        overflow-x: visible;
        padding: 50px 28px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sponsor-right::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 200px;
        height: 200px;
        background: url('../images/sponsor_portal/top-right-corner-bubble-main-page.png') no-repeat top right;
        background-size: contain;
        pointer-events: none;
        z-index: 0;
    }

    .sponsor-right::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 180px;
        height: 180px;
        background: url('../images/sponsor_portal/bottom-right-corner-style-main-page.png') no-repeat bottom right;
        background-size: contain;
        pointer-events: none;
        z-index: 0;
    }

    .sponsor-right .sponsor-form-wrap {
        position: relative;
        z-index: 1;
    }

    .sponsor-form-wrap {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 20px;
    }

    .sponsor-form-wrap .sponsor-logo-right {
        display: block;
        margin: 12px auto 4px;
        max-width: 80px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .sponsor-form-wrap .login-headings {
        text-align: center;
        margin-bottom: 12px;
    }

    .sponsor-form-wrap .subtitle {
        color: var(--sp-blue);
        margin: 0 0 9px 0;
        text-align: center;
        font-weight: 600;
    }

    .sponsor-form-wrap .subtitle .text-sponsor {
        color: var(--sp-green);
    }

    .sponsor-form-wrap .brand-title {
        color: var(--sp-green);
        font-weight: 600;
        margin: 0 0 9px 0;
        text-align: center;
    }

    .sponsor-form-wrap .tagline {
        font-weight: 600;
        color: var(--sp-blue);
        margin: 0 0 10px 0;
        text-align: center;
    }

    .sponsor-form-wrap .desc {
        color: var(--sp-gray);
        line-height: 1.5;
        margin: 0 0 24px 0;
        text-align: center;
    }

    .sponsor-form .form-group {
        margin-bottom: 20px;
    }

    .sponsor-form label {
        display: block;
        font-size: 1.35rem;
        font-weight: 700;
        color: var(--sp-gray);
        margin-bottom: 6px;
    }

    .sponsor-form label .required-asterisk {
        color: #dc3545;
        margin-left: 2px;
    }

    .sponsor-form input {
        width: 100%;
        padding: 14px 16px;
        min-height: 44px;
        border: 1px solid var(--sp-border);
        border-radius: 10px;
        font-size: 1.05rem;
        transition: border-color 0.2s;
    }

    .sponsor-form input:focus {
        outline: none;
        border-color: var(--sp-green);
    }

    .pwd-wrap {
        position: relative;
    }

    .pwd-wrap input {
        padding-right: 45px;
    }

    .pwd-wrap .toggle-pwd {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #A2D471;
        cursor: pointer;
        padding: 0;
    }

    .forgot-link {
        display: block;
        text-align: right;
        margin-top: 8px;
        font-size: 1.05rem;
        color: var(--sp-green);
        text-decoration: none;
    }

    .forgot-link:hover {
        color: #8fc95d;
    }

    .or-divider {
        display: flex;
        align-items: center;
        margin: 25px 0;
    }

    .or-divider::before,
    .or-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--sp-border);
    }

    .or-divider span {
        padding: 0 15px;
        font-size: 1rem;
        color: var(--sp-light-gray);
    }

    .social-login {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-bottom: 25px;
    }

    .social-login a {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        border-radius: 0;
        flex-shrink: 0;
        background: transparent;
    }

    .social-login a:hover {
        opacity: 0.85;
    }

    .social-login a img {
        width: 24px;
        height: 24px;
        max-width: 24px;
        max-height: 24px;
        object-fit: contain;
    }

    .btn-login {
        width: 100%;
        padding: 14px;
        min-height: 44px;
        background: var(--sp-blue);
        color: white;
        border: none;
        border-radius: 10px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.2s;
    }

    .btn-login:hover {
        background: #067acc;
        color: white;
    }

    .signup-text {
        text-align: center;
        margin-top: 25px;
        font-size: 1.1rem;
        color: var(--sp-gray);
    }

    .signup-text a {
        color: var(--sp-blue);
        font-weight: 600;
        text-decoration: none;
    }

    .signup-text a:hover {
        text-decoration: underline;
    }

    /* Above 992px: left two boxes always side by side, responsive width */
    @media (min-width: 993px) {
        .sponsor-cards {
            flex-direction: row;
            flex-wrap: nowrap;
        }

        .sponsor-card {
            flex: 1 1 0;
            min-width: 180px;
            max-width: 320px;
            width: auto;
        }
    }

    /* 993px–1464px: left 45%, right 55% */
    @media (min-width: 993px) and (max-width: 1464px) {
        .sponsor-left {
            flex: 1 1 45%;
        }

        .sponsor-right {
            flex: 1 1 55%;
        }
    }

    /* Between 1300px (inclusive) and 992px (exclusive):
       slightly smaller logo and remove any top offset on heading */
    @media (max-width: 1299px) and (min-width: 993px) {
        .sponsor-left .sponsor-logo {
            max-width: 134px;
        }

        .sponsor-left-header h1,
        .sponsor-left h1 {
            margin-top: 0;
        }
    }

    /* Responsive */
    @media (max-width: 1200px) {
        .sponsor-left {
            min-width: 280px;
        }

        .sponsor-right {
            min-width: 280px;
        }

        .sponsor-right::before {
            width: 160px;
            height: 160px;
        }

        .sponsor-right::after {
            width: 140px;
            height: 140px;
        }
    }

    /* Keep left|right and two cards side-by-side below 1080px; tighten so no scroll */
    @media (max-width: 1080px) {
        .sponsor-split {
            flex-wrap: nowrap;
        }

        .sponsor-left {
            min-width: 260px;
            padding: 20px 20px 32px;
        }

        .sponsor-left .sponsor-logo {
            max-width: 140px;
            margin-bottom: 12px;
        }

        .sponsor-left h1 {
            font-size: 2.6rem;
            margin-bottom: 10px;
        }

        .sponsor-left .lead-text {
            font-size: 1rem;
            margin-bottom: 18px;
        }

        .sponsor-cards {
            gap: 14px;
            flex-wrap: nowrap;
        }

        .sponsor-card {
            min-width: 180px;
            padding: 16px 14px;
        }

        .sponsor-card h3 {
            font-size: 1.15rem;
            margin-bottom: 8px;
        }

        .sponsor-card .card-desc {
            font-size: 0.95rem;
            margin-bottom: 8px;
        }

        .sponsor-card .motto {
            font-size: 0.9rem;
            margin-bottom: 8px;
        }

        .sponsor-right {
            min-width: 260px;
            padding: 32px 24px;
        }

        .sponsor-right::before {
            width: 140px;
            height: 140px;
        }

        .sponsor-right::after {
            width: 120px;
            height: 120px;
        }

        .sponsor-form-wrap .tagline {
            font-size: 1.75rem;
        }

        .sponsor-form-wrap .brand-title {
            font-size: 1.85rem;
        }

        .sponsor-form-wrap .desc {
            font-size: 1rem;
            margin-bottom: 18px;
        }
    }

    /* Hide left child images and right corner decorations below 992px (inclusive); they appear above 992px only */
    @media (max-width: 992px) {
        .sponsor-images {
            display: none !important;
        }

        .sponsor-right::before,
        .sponsor-right::after {
            display: none !important;
        }
    }

    /* 841px–992px (stacked): vertically center the left (and right) section and center content inside left */
    @media (min-width: 841px) and (max-width: 992px) {
        .sponsor-split {
            align-items: center;
            overflow: visible;
        }

        .sponsor-left {
            justify-content: center;
        }
    }

    /* 992px and below: show both left and right stacked (up and down) with scroll; keep big-screen font sizes */
    @media (max-width: 992px) {
        .sponsor-split {
            flex-direction: column;
            flex-wrap: nowrap;
            height: 100vh;
            min-height: 100vh;
            overflow-x: visible;
            overflow-y: auto;
        }

        .sponsor-left,
        .sponsor-right {
            flex: 0 0 auto;
            min-width: 100%;
            width: 100%;
        }

        .sponsor-left {
            padding: 24px 20px 28px;
        }

        .sponsor-left h1 {
            font-size: 3.25rem;
        }

        .sponsor-left .lead-text {
            font-size: 1rem;
        }

        /* Keep two boxes side by side until 576px (stack only when UI would be disturbed) */
        .sponsor-cards {
            flex-direction: row;
            flex-wrap: nowrap;
        }

        .sponsor-card {
            flex: 1 1 0;
            min-width: 180px;
            max-width: none;
            width: auto;
        }

        .sponsor-card h3 {
            font-size: 1.35rem;
        }

        .sponsor-card .card-desc {
            font-size: 1rem;
        }

        .sponsor-card .motto {
            font-size: 1rem;
        }

        .sponsor-card .btn-card {
            font-size: 1rem;
        }

        .sponsor-right {
            padding: 32px 20px 40px;
        }

        .sponsor-form-wrap .tagline {
            font-size: 1.75rem;
        }

        .sponsor-form-wrap .brand-title {
            font-size: 1.85rem;
        }

        .sponsor-form-wrap .desc {
            font-size: 1rem;
        }

        /* Right side: keep big-screen font sizes below 992px */
        .sponsor-right .sponsor-form label,
        .sponsor-right .sponsor-form input,
        .sponsor-right .forgot-link { font-size: 1.05rem; }
        .sponsor-right .or-divider span { font-size: 1rem; }
        .sponsor-right .btn-login,
        .sponsor-right .signup-text { font-size: 1.1rem; }
    }

    /* Tighter spacing (577px–991px); no font size decrease below 992px */
    @media (max-width: 768px) {
        .sponsor-left {
            padding: 18px 20px 24px;
        }

        .sponsor-left .sponsor-logo {
            max-width: 120px;
            margin-bottom: 8px;
        }

        .sponsor-left h1 {
            margin-bottom: 8px;
        }

        .sponsor-left .lead-text {
            margin-bottom: 14px;
        }

        .sponsor-cards {
            gap: 12px;
        }

        .sponsor-card {
            padding: 14px 12px;
        }

        .sponsor-card h3 {
            margin-bottom: 6px;
        }

        .sponsor-card .card-desc {
            margin-bottom: 6px;
        }

        .sponsor-card .motto {
            margin-bottom: 6px;
        }

        .sponsor-card .btn-card {
            padding: 10px 12px;
        }

        .sponsor-right {
            padding: 24px 20px 36px;
        }

        .sponsor-right::before {
            width: 100px;
            height: 100px;
        }

        .sponsor-right::after {
            width: 90px;
            height: 90px;
        }

        .sponsor-form-wrap .desc {
            margin-bottom: 14px;
        }
    }

    @media (max-width: 576px) {

        /* Stack the two boxes when narrow (UI would be disturbed side by side) */
        .sponsor-cards {
            flex-direction: column;
            flex-wrap: wrap;
            align-items: center;
        }

        .sponsor-card {
            width: 100%;
            max-width: 360px;
            min-width: 0;
        }

        /* Small screens: both sections still shown stacked (from 992px); just tighten spacing */
        .sponsor-left {
            padding: 16px 20px 24px;
        }

        .sponsor-right {
            padding: 20px 16px 32px;
        }

        .sponsor-right::before {
            width: 80px;
            height: 80px;
        }

        .sponsor-right::after {
            width: 70px;
            height: 70px;
        }

        .sponsor-form-wrap .sponsor-logo-right {
            max-width: 52px;
        }

        .sponsor-form-wrap .desc {
            margin-bottom: 10px;
        }

        .sponsor-form .form-group {
            margin-bottom: 10px;
        }

        .sponsor-form input {
            padding: 8px 12px;
            min-height: 40px;
        }

        .or-divider {
            margin: 10px 0;
        }

        .social-login {
            margin-bottom: 10px;
        }

        .btn-login {
            padding: 8px;
            min-height: 40px;
        }

        .signup-text {
            margin-top: 10px;
            font-size: 0.9rem;
        }

        /* Right side: keep big-screen font size below 992px */
        .sponsor-right .signup-text {
            font-size: 1.1rem;
        }
    }

    .swal2-popup {
        font-size: 1.2rem !important;
        width: 450px !important;
    }

    .swal2-title {
        font-size: 26px !important;
    }

    .swal2-html-container {
        font-size: 16px !important;
    }

    .profile-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:18px;
margin-top:10px;
}

.profile-field label{
font-size:1rem;
color:var(--sp-light-gray);
margin-bottom:4px;
display:block;
}

.profile-field input{
width:100%;
padding:10px 12px;
border-radius:8px;
border:1px solid var(--sp-border);
font-size:1rem;
}

.profile-field input:disabled{
background:#f1f5f9;
}

.profile-actions{
margin-top:20px;
}

.profile-field label{
    font-size:1.15rem;
    font-weight:600;
    color:var(--sp-gray);
    margin-bottom:6px;
}

.profile-field input{
    width:100%;
    padding:12px 14px;
    border-radius:10px;
    border:1px solid var(--sp-border);
    font-size:1.15rem;
    font-weight:500;
}

.profile-field input:disabled{
    background:#e9eef3;
    color:#6b7280;
}

.profile-actions{
    margin-top:22px;
}

.profile-avatar-section{
    display:flex;
    align-items:center;
    gap:20px;
    margin-bottom:25px;
}

.profile-avatar{
    width:90px;
    height:90px;
    border-radius:50%;
    overflow:hidden;
    border:3px solid var(--sp-border);
}

.profile-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.upload-btn{
    cursor:pointer;
}

.support-card{
    background:#fff;
    padding:25px;
    border-radius:12px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,0.05);
    transition:0.3s;
}

.support-card:hover{
    transform:translateY(-5px);
}

.support-card i{
    font-size:30px;
    color:#0791E4;
    margin-bottom:10px;
}

.faq-item{
    border-bottom:1px solid #eee;
}

.faq-question{
    width:100%;
    text-align:left;
    padding:15px;
    background:none;
    border:none;
    font-weight:600;
    cursor:pointer;
}

.faq-answer{
    display:none;
    padding:0 15px 15px;
    color:#666;
}

.contact-item{
    display:flex;
    gap:15px;
    align-items:center;
    margin-bottom:15px;
}

.contact-item i{
    font-size:20px;
    color:#0791E4;
}