/* ================================================================
   loginbgcss.css � "Unified Orange" layout
   One full-page orange background.
   Left: floating light glass card.  Right: promo content.
   ================================================================ */

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* -- FULL-PAGE ORANGE BACKGROUND -------------------------------- */
.mainbg {
    position: fixed;
    inset: 0;
    overflow: hidden;
    /* Rich 4-stop orange gradient � fills the entire viewport */
    background: -webkit-linear-gradient(148deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0) 26%, rgba(0, 0, 0, 0.10) 56%, rgba(0, 0, 0, 0.24) 100%), #D32F2F;
    background:         linear-gradient(148deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0) 26%, rgba(0, 0, 0, 0.10) 56%, rgba(0, 0, 0, 0.24) 100%), #D32F2F;
}

/* Diagonal pinstripe texture across the whole background */
.mainbg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -55deg,
        rgba(255, 255, 255, 0.025) 0px,
        rgba(255, 255, 255, 0.025) 1px,
        transparent 1px,
        transparent 26px
    );
    pointer-events: none;
    z-index: 0;
}

/* -- SHARED DECORATIVE RINGS (sit on the global bg) ------------ */
.bg-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    background: transparent;
}

.bg-ring-1 {
    width: 720px;
    height: 720px;
    top: -240px;
    left: -200px;
    border: 2px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.03);
    -webkit-animation: ringFloatDown 9s ease-in-out infinite;
    animation: ringFloatDown 9s ease-in-out infinite;
}

.bg-ring-2 {
    width: 480px;
    height: 480px;
    bottom: -170px;
    right: -150px;
    border: 1.5px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.025);
    -webkit-animation: ringFloatUp 7s ease-in-out infinite;
    animation: ringFloatUp 7s ease-in-out infinite;
    -webkit-animation-delay: -2s;
    animation-delay: -2s;
}

.bg-ring-3 {
    width: 260px;
    height: 260px;
    top: 42%;
    right: 40%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    -webkit-animation: ringFloatUp 6s ease-in-out infinite;
    animation: ringFloatUp 6s ease-in-out infinite;
    -webkit-animation-delay: -4s;
    animation-delay: -4s;
}

.bg-ring-4 {
    width: 130px;
    height: 130px;
    top: 10%;
    right: 8%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    -webkit-animation: ringFloatDown 5s ease-in-out infinite;
    animation: ringFloatDown 5s ease-in-out infinite;
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
}

/* Radial warm glows */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    border: none;
}

.bg-glow-tr {
    width: 600px;
    height: 600px;
    top: -260px;
    left: -250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.20) 0%, transparent 65%);
    -webkit-animation: glowPulse 8s ease-in-out infinite;
    animation: glowPulse 8s ease-in-out infinite;
}

.bg-glow-bl {
    width: 400px;
    height: 400px;
    bottom: -160px;
    right: -140px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.10) 0%, transparent 65%);
    -webkit-animation: glowPulse 10s ease-in-out infinite;
    animation: glowPulse 10s ease-in-out infinite;
    -webkit-animation-delay: -5s;
    animation-delay: -5s;
}

/* -- SPLIT WRAPPER ---------------------------------------------- */
.login-split-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

/* --------------------------------------------------------------
   RIGHT PANEL (glass card) � transparent, holds the floating glass card
-------------------------------------------------------------- */
.login-left-panel {
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 44%;
    flex: 0 0 44%;
    height: 100%;
    overflow-y: auto;
    background: transparent;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    padding: 40px 40px 40px 56px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: visible;
}

.login-left-inner {
    width: 100%;
    max-width: 500px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

/* -- RING / GLOW FLOAT KEYFRAMES ------------------------------- */
@-webkit-keyframes ringFloatUp {
    0%, 100% { -webkit-transform: translateY(0px) scale(1);    transform: translateY(0px) scale(1); }
    50%       { -webkit-transform: translateY(-22px) scale(1.03); transform: translateY(-22px) scale(1.03); }
}
@keyframes ringFloatUp {
    0%, 100% { transform: translateY(0px) scale(1); }
    50%       { transform: translateY(-22px) scale(1.03); }
}

@-webkit-keyframes ringFloatDown {
    0%, 100% { -webkit-transform: translateY(0px) scale(1);    transform: translateY(0px) scale(1); }
    50%       { -webkit-transform: translateY(18px) scale(1.02);  transform: translateY(18px) scale(1.02); }
}
@keyframes ringFloatDown {
    0%, 100% { transform: translateY(0px) scale(1); }
    50%       { transform: translateY(18px) scale(1.02); }
}

@-webkit-keyframes glowPulse {
    0%, 100% { -webkit-transform: scale(1);    transform: scale(1);    opacity: 1; }
    50%       { -webkit-transform: scale(1.12); transform: scale(1.12); opacity: 0.75; }
}
@keyframes glowPulse {
    0%, 100% { transform: scale(1);    opacity: 1; }
    50%       { transform: scale(1.12); opacity: 0.75; }
}

/* -- FLOATING ANIMATION ----------------------------------------- */
@-webkit-keyframes cardFloat {
    0%, 100% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        -webkit-box-shadow:
            0 2px 4px rgba(211, 47, 47, 0.08),
            0 12px 40px rgba(0, 0, 0, 0.16),
            0 32px 80px rgba(0, 0, 0, 0.14),
            inset 0 1px 0 rgba(255, 255, 255, 0.90);
        box-shadow:
            0 2px 4px rgba(211, 47, 47, 0.08),
            0 12px 40px rgba(0, 0, 0, 0.16),
            0 32px 80px rgba(0, 0, 0, 0.14),
            inset 0 1px 0 rgba(255, 255, 255, 0.90);
    }
    50% {
        -webkit-transform: translateY(-14px);
        transform: translateY(-14px);
        -webkit-box-shadow:
            0 8px 20px rgba(211, 47, 47, 0.12),
            0 28px 60px rgba(0, 0, 0, 0.22),
            0 56px 110px rgba(0, 0, 0, 0.18),
            inset 0 1px 0 rgba(255, 255, 255, 0.90);
        box-shadow:
            0 8px 20px rgba(211, 47, 47, 0.12),
            0 28px 60px rgba(0, 0, 0, 0.22),
            0 56px 110px rgba(0, 0, 0, 0.18),
            inset 0 1px 0 rgba(255, 255, 255, 0.90);
    }
}

@keyframes cardFloat {
    0%, 100% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        -webkit-box-shadow:
            0 2px 4px rgba(211, 47, 47, 0.08),
            0 12px 40px rgba(0, 0, 0, 0.16),
            0 32px 80px rgba(0, 0, 0, 0.14),
            inset 0 1px 0 rgba(255, 255, 255, 0.90);
        box-shadow:
            0 2px 4px rgba(211, 47, 47, 0.08),
            0 12px 40px rgba(0, 0, 0, 0.16),
            0 32px 80px rgba(0, 0, 0, 0.14),
            inset 0 1px 0 rgba(255, 255, 255, 0.90);
    }
    50% {
        -webkit-transform: translateY(-14px);
        transform: translateY(-14px);
        -webkit-box-shadow:
            0 8px 20px rgba(211, 47, 47, 0.12),
            0 28px 60px rgba(0, 0, 0, 0.22),
            0 56px 110px rgba(0, 0, 0, 0.18),
            inset 0 1px 0 rgba(255, 255, 255, 0.90);
        box-shadow:
            0 8px 20px rgba(211, 47, 47, 0.12),
            0 28px 60px rgba(0, 0, 0, 0.22),
            0 56px 110px rgba(0, 0, 0, 0.18),
            inset 0 1px 0 rgba(255, 255, 255, 0.90);
    }
}

/* -- THE GLASS CARD --------------------------------------------- */
.login-card {
    width: 100%;
    /* Light frosted glass floating on the orange background */
    background: rgba(255, 255, 255, 0.90);
    -webkit-backdrop-filter: blur(32px) saturate(160%);
    backdrop-filter: blur(32px) saturate(160%);
    border-radius: 26px;
    padding: 36px 36px 32px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    -webkit-box-shadow:
        0 2px 4px rgba(211, 47, 47, 0.08),
        0 12px 40px rgba(0, 0, 0, 0.16),
        0 32px 80px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.90);
    box-shadow:
        0 2px 4px rgba(211, 47, 47, 0.08),
        0 12px 40px rgba(0, 0, 0, 0.16),
        0 32px 80px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.90);
    position: relative;
    overflow: hidden;
    /* Floating animation */
    -webkit-animation: cardFloat 4s ease-in-out infinite;
    animation: cardFloat 4s ease-in-out infinite;
}

/* Pause the float when user is interacting with the form */
.login-card:focus-within {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}

/* Very subtle orange warm tint at bottom edge of card */
.login-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: -webkit-linear-gradient(90deg, transparent, rgba(211, 47, 47, 0.18), transparent);
    background:         linear-gradient(90deg, transparent, rgba(211, 47, 47, 0.18), transparent);
    pointer-events: none;
}

/* -- LOGO INSIDE CARD ------------------------------------------- */
.brand-logo-area {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 22px;
    width: 100%;
}

.brand-logo-img {
    height: 60px;
    width: auto;
    max-width: 200px;
    display: block;
}

/* -- ORANGE ACCENT BAR ------------------------------------------ */
.card-accent-bar {
    display: none;
}

/* -- LEFT CARD TYPOGRAPHY --------------------------------------- */
.welcome-heading {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
    text-align: left;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.welcome-subtext {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #7a7a8a;
    margin-bottom: 28px;
    line-height: 1.65;
    text-align: left;
}

.login-form-area { width: 100%; }
.panel-title     { display: none; }

/* Footer note below the card, on orange bg � white text */
.login-footer-note {
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 18px;
    text-align: center;
    letter-spacing: 0.2px;
}

/* --------------------------------------------------------------
   LEFT PANEL (promo) � transparent, promo content on orange bg
-------------------------------------------------------------- */
.login-right-panel {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    background: transparent;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 48px 24px 48px 48px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.login-right-inner {
    width: 100%;
    max-width: 560px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
}

/* -- POWERED-BY BADGE ------------------------------------------- */
.powered-by-wrap {
    margin-bottom: 26px;
    /* White glass badge on orange background */
    background: rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 100px;
    padding: 10px 26px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: inline-block;
}

.powered-by-logo {
    height: 30px;
    width: auto;
    display: block;
}

/* -- PROMO CONTENT ---------------------------------------------- */
.promo-heading {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 28px;
    line-height: 1.45;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.16);
    letter-spacing: -0.3px;
}

.promo-device-wrap {
    width: 100%;
    max-width: 440px;
    margin-bottom: 24px;
    -webkit-filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.24));
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.24));
}

.promo-device-img {
    width: 100%;
    height: auto;
    display: block;
}

/* -- FEATURE PILLS ---------------------------------------------- */
.promo-pills {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 22px;
}

.promo-pill {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 5px;
    /* White glass pill on orange */
    background: rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: rgba(255, 255, 255, 0.96);
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    letter-spacing: 0.3px;
    -webkit-transition: background 0.2s, -webkit-transform 0.2s;
    transition: background 0.2s, transform 0.2s;
    cursor: default;
}

.promo-pill i { font-size: 10px; opacity: 0.80; }

.promo-pill:hover {
    background: rgba(255, 255, 255, 0.28);
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
}

.promo-description {
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.72;
    margin-bottom: 28px;
    max-width: 400px;
}

.download-app-title {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.56);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.store-buttons-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 14px;
}

.store-btn-img {
    height: 48px;
    width: auto;
    cursor: pointer;
    -webkit-transition: opacity 0.2s, -webkit-transform 0.22s;
    transition: opacity 0.2s, transform 0.22s;
    -webkit-filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.22));
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.22));
}

.store-btn-img:hover {
    opacity: 0.90;
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
}

/* --------------------------------------------------------------
   RESPONSIVE
-------------------------------------------------------------- */
@media only screen and (max-width: 1280px) {
    .promo-heading { font-size: 24px; }
    .login-right-panel { padding: 40px 36px 40px 20px; }
    .promo-device-wrap { max-width: 380px; }
}

@media only screen and (max-width: 1024px) {
    .login-left-panel {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 47%;
        flex: 0 0 47%;
        padding: 32px 28px;
    }
    .promo-heading { font-size: 21px; }
    .promo-device-wrap { max-width: 320px; }
    .login-card { padding: 30px 28px 26px; }
    .login-right-panel { padding: 40px 24px 40px 16px; }
}

@media only screen and (max-width: 900px) {
    .welcome-heading { font-size: 21px; }
    .promo-heading   { font-size: 19px; }
    .promo-description { font-size: 13px; }
    .promo-device-wrap { max-width: 250px; }
    .store-btn-img   { height: 42px; }
    .login-left-panel { padding: 28px 20px; }
}

@media only screen and (max-width: 768px) {
    .mainbg {
        position: relative;
        overflow: visible;
        height: auto;
        min-height: 100vh;
    }

    .login-split-wrapper {
        position: relative;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        min-height: 100vh;
    }

    /* Login card on top on mobile (even though it's visually on the right on desktop) */
    .login-left-panel {
        -webkit-box-flex: 0;
        -ms-flex: none;
        flex: none;
        width: 100%;
        height: auto;
        padding: 36px 20px 28px;
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }

    /* Promo on top on mobile */
    .login-right-panel {
        -webkit-box-flex: 0;
        -ms-flex: none;
        flex: none;
        width: 100%;
        height: auto;
        padding: 32px 20px 28px;
        -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
        order: 0;
    }

    /* Hide the promo panel entirely on mobile */
    .login-right-panel { display: none; }

    .login-left-panel  { padding: 40px 20px; }
    .login-left-inner  { max-width: 100%; }
    .bg-ring           { display: none; }
    .bg-glow           { display: none; }
    .login-card        { padding: 28px 22px 24px; border-radius: 20px; }
}

@media only screen and (max-width: 480px) {
    .welcome-heading   { font-size: 20px; }
    .promo-heading     { font-size: 17px; }
    .store-btn-img     { height: 38px; }
    .login-card        { padding: 24px 18px 20px; border-radius: 18px; }
    .brand-logo-img    { height: 50px; }
    .promo-pills       { gap: 6px; }
    .promo-pill        { font-size: 10.5px; padding: 5px 11px; }
    .login-left-panel  { padding: 28px 16px 22px; }
    .login-right-panel { padding: 24px 16px 32px; }
}