/*
|--------------------------------------------------------------------------
| YEBALI - Login UI
|--------------------------------------------------------------------------
| الهوية المعتمدة:
| TTF Green  : #14942b
| TTF Orange : #ef4b0b
| TTF Gold   : #ffc400
| Dark Navy  : #071426
|--------------------------------------------------------------------------
*/

:root {
    --green: #14942b;
    --green-light: #20b83c;
    --green-dark: #08751e;

    --orange: #ef4b0b;
    --orange-dark: #c93400;

    --gold: #ffc400;
    --gold-dark: #e3a900;

    --navy: #071426;
    --navy-light: #0c1d31;

    --white: #ffffff;
    --surface: #fbfcfe;

    --text: #111827;
    --muted: #7b879d;
    --border: #dbe2ec;
}


/*
|--------------------------------------------------------------------------
| Reset
|--------------------------------------------------------------------------
*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    min-width: 320px;
    min-height: 100%;
}

body {
    margin: 0;

    width: 100%;
    min-width: 320px;
    min-height: 100vh;

    overflow-x: hidden;

    background: var(--navy);
    color: var(--text);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Tahoma,
        Arial,
        sans-serif;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button,
input {
    font: inherit;
}

button {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}


/*
|--------------------------------------------------------------------------
| Page
|--------------------------------------------------------------------------
*/

.login-page {
    width: 100%;
    min-height: 100vh;

    display: grid;

    grid-template-columns:
        minmax(0, 0.94fr)
        minmax(0, 1.06fr);

    background: var(--navy);
}


/*
|--------------------------------------------------------------------------
| Brand Panel
|--------------------------------------------------------------------------
*/

.login-brand {
    position: relative;

    min-width: 0;
    min-height: 100vh;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    padding:
        clamp(38px, 4.5vw, 76px);

    color: #ffffff;

    background:
        radial-gradient(
            circle at 12% 18%,
            rgba(20, 148, 43, 0.58),
            transparent 31%
        ),
        radial-gradient(
            circle at 72% 56%,
            rgba(255, 196, 0, 0.13),
            transparent 27%
        ),
        radial-gradient(
            circle at 90% 78%,
            rgba(239, 75, 11, 0.78),
            transparent 37%
        ),
        linear-gradient(
            145deg,
            #04121f 0%,
            #071426 48%,
            #101221 100%
        );
}


/*
|--------------------------------------------------------------------------
| Digital Grid
|--------------------------------------------------------------------------
*/

.login-brand::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    opacity: 0.42;

    background-image:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.10) 1px,
            transparent 1px
        );

    background-size:
        18px 18px;

    mask-image:
        linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.95)
        );
}


/*
|--------------------------------------------------------------------------
| Brand Glow
|--------------------------------------------------------------------------
*/

.brand-glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(100px);

    pointer-events: none;
}

.brand-glow-green {
    width: 390px;
    height: 390px;

    top: -150px;
    left: -130px;

    opacity: 0.32;

    background: var(--green);
}

.brand-glow-orange {
    width: 480px;
    height: 480px;

    right: -210px;
    bottom: -180px;

    opacity: 0.42;

    background: var(--orange);
}

.brand-glow-gold {
    width: 260px;
    height: 260px;

    right: 5%;
    top: 38%;

    opacity: 0.11;

    background: var(--gold);
}


/*
|--------------------------------------------------------------------------
| Brand Content
|--------------------------------------------------------------------------
*/

.brand-content {
    position: relative;
    z-index: 3;

    width: min(100%, 570px);

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


/*
|--------------------------------------------------------------------------
| TTF Logo
|--------------------------------------------------------------------------
*/

.group-logo-wrap {
    width: 100%;

    margin-bottom:
        clamp(52px, 8vh, 95px);
}

.group-logo {
    width: min(100%, 210px);
    height: auto;

    padding: 0;

    border: 0;
    border-radius: 0;

    background: transparent;

    box-shadow: none;

    object-fit: contain;
}


/*
|--------------------------------------------------------------------------
| YEBALI Identity
|--------------------------------------------------------------------------
*/

.yebali-identity {
    position: relative;
    z-index: 4;
}

.identity-eyebrow {
    display: inline-block;

    margin-bottom: 20px;

    color: var(--gold);

    font-size: 13px;
    font-weight: 900;

    letter-spacing: 0.27em;
}

.yebali-identity h1 {
    margin: 0;

    color: #ffffff;

    font-size:
        clamp(64px, 7vw, 105px);

    font-weight: 950;

    line-height: 0.9;

    letter-spacing: -0.055em;

    text-shadow:
        0 14px 38px
        rgba(0, 0, 0, 0.18);
}

.identity-arabic {
    margin-top: 17px;

    color: var(--gold);

    font-size:
        clamp(28px, 3vw, 42px);

    font-weight: 850;
}

.yebali-identity p {
    max-width: 480px;

    margin: 30px 0 0;

    color: rgba(255, 255, 255, 0.86);

    font-size:
        clamp(14px, 1.15vw, 17px);

    line-height: 1.9;
}


/*
|--------------------------------------------------------------------------
| Orbit Graphic
|--------------------------------------------------------------------------
*/

.digital-orbit {
    position: absolute;

    z-index: 1;

    width: 430px;
    height: 430px;

    right: -75px;
    top: 48%;

    transform: translateY(-50%);

    opacity: 0.72;

    pointer-events: none;
}

.orbit {
    position: absolute;

    border-radius: 50%;
}

.orbit-one {
    inset: 0;

    border:
        1px solid
        rgba(20, 148, 43, 0.55);
}

.orbit-two {
    inset: 64px;

    border:
        1px solid
        rgba(255, 196, 0, 0.36);
}

.orbit-three {
    inset: 130px;

    border:
        1px solid
        rgba(239, 75, 11, 0.43);
}

.orbit-core {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 17px;
    height: 17px;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background: var(--gold);

    box-shadow:
        0 0 0 8px
        rgba(255, 196, 0, 0.07),
        0 0 28px
        rgba(255, 196, 0, 0.8);
}

.orbit-one::before,
.orbit-two::before,
.orbit-three::before {
    content: "";

    position: absolute;

    width: 9px;
    height: 9px;

    border-radius: 50%;
}

.orbit-one::before {
    top: 22%;
    right: 8%;

    background: var(--green-light);

    box-shadow:
        0 0 15px
        rgba(32, 184, 60, 0.9);
}

.orbit-two::before {
    right: 1%;
    bottom: 29%;

    background: var(--gold);

    box-shadow:
        0 0 16px
        rgba(255, 196, 0, 0.8);
}

.orbit-three::before {
    left: 4%;
    bottom: 22%;

    background: var(--orange);

    box-shadow:
        0 0 16px
        rgba(239, 75, 11, 0.9);
}


/*
|--------------------------------------------------------------------------
| Brand Footer
|--------------------------------------------------------------------------
*/

.brand-footer {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top:
        clamp(55px, 9vh, 100px);

    color: rgba(255, 255, 255, 0.82);

    font-size: 13px;
    font-weight: 700;
}

.live-dot {
    width: 11px;
    height: 11px;

    flex: 0 0 auto;

    border-radius: 50%;

    background: var(--green-light);

    box-shadow:
        0 0 0 7px
        rgba(32, 184, 60, 0.11),
        0 0 18px
        rgba(32, 184, 60, 0.72);
}


/*
|--------------------------------------------------------------------------
| Login Panel
|--------------------------------------------------------------------------
*/

.login-panel {
    position: relative;

    min-width: 0;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding:
        clamp(55px, 7vh, 90px)
        clamp(35px, 6vw, 100px);

    overflow: hidden;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(255, 196, 0, 0.035),
            transparent 25%
        ),
        #ffffff;
}


/*
|--------------------------------------------------------------------------
| TTF Top Strip
|--------------------------------------------------------------------------
*/

.ttf-color-strip {
    position: absolute;

    z-index: 10;

    top: 0;
    left: 0;
    right: 0;

    height: 11px;

    display: grid;

    grid-template-columns:
        1fr
        1fr
        1fr;

    overflow: hidden;
}

.ttf-color-strip span {
    display: block;
}

.strip-green {
    background:
        linear-gradient(
            90deg,
            var(--green-dark),
            var(--green-light)
        );
}

.strip-orange {
    background:
        linear-gradient(
            90deg,
            var(--orange-dark),
            var(--orange)
        );
}

.strip-gold {
    background:
        linear-gradient(
            90deg,
            var(--gold-dark),
            #ffd42a
        );
}


/*
|--------------------------------------------------------------------------
| Login Content
|--------------------------------------------------------------------------
*/

.login-panel-inner {
    position: relative;
    z-index: 2;

    width: min(100%, 570px);
}


/*
|--------------------------------------------------------------------------
| Language
|--------------------------------------------------------------------------
*/

.language-switcher {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 10px;

    margin-bottom:
        clamp(42px, 6vh, 68px);

    color: #8d98aa;

    font-size: 13px;
    font-weight: 800;
}

.language-switcher a {
    text-decoration: none;

    transition:
        color 0.18s ease;
}

.language-switcher a:hover {
    color: var(--orange);
}

.language-switcher .is-active {
    color: var(--green);
}


/*
|--------------------------------------------------------------------------
| Heading
|--------------------------------------------------------------------------
*/

.login-heading {
    margin-bottom: 32px;
}

.login-kicker {
    display: inline-block;

    margin-bottom: 11px;

    color: var(--orange);

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 0.08em;
}

.login-heading h2 {
    margin: 0;

    color: #101827;

    font-size:
        clamp(29px, 3.2vw, 42px);

    font-weight: 900;

    line-height: 1.35;

    letter-spacing: -0.025em;
}

.login-heading p {
    margin: 13px 0 0;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.8;
}


/*
|--------------------------------------------------------------------------
| Alerts
|--------------------------------------------------------------------------
*/

.login-alert {
    display: flex;
    align-items: flex-start;

    gap: 11px;

    margin-bottom: 20px;
    padding: 14px 16px;

    border: 1px solid transparent;
    border-radius: 13px;

    font-size: 13px;
    line-height: 1.7;
}

.login-alert-success {
    color: #126323;
    border-color: #c9eacf;
    background: #f0fbf3;
}

.login-alert-error {
    color: #9c2b1d;
    border-color: #f0d0ca;
    background: #fff4f1;
}

.alert-icon {
    width: 22px;
    height: 22px;

    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    font-weight: 900;
}

.login-alert-success .alert-icon {
    background: var(--green);
}

.login-alert-error .alert-icon {
    background: var(--orange);
}


/*
|--------------------------------------------------------------------------
| Activation Resend
|--------------------------------------------------------------------------
*/

.activation-resend {
    width: 100%;

    margin-bottom: 24px;

    padding: 16px;

    border:
        1px solid
        rgba(20, 148, 43, 0.18);

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            rgba(20, 148, 43, 0.045),
            rgba(255, 196, 0, 0.035)
        );

    box-shadow:
        0 8px 24px
        rgba(7, 20, 38, 0.035);
}

.activation-resend .first-login-note {
    margin: 0 0 13px;

    padding: 0;

    border: 0;

    border-radius: 0;

    background: transparent;
}

.activation-resend .note-mark {
    color: #ffffff;

    background: var(--green);

    box-shadow:
        0 0 0 5px
        rgba(20, 148, 43, 0.08);
}

.activation-resend .first-login-note p {
    color: #536174;
}

.activation-resend-form {
    width: 100%;

    margin: 0;
}

.activation-resend-button {
    width: 100%;
    min-height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 18px;

    border:
        1px solid
        rgba(20, 148, 43, 0.35);

    border-radius: 12px;

    color: var(--green-dark);

    background: #ffffff;

    box-shadow:
        0 5px 15px
        rgba(20, 148, 43, 0.055);

    font-size: 13px;
    font-weight: 900;

    cursor: pointer;

    transition:
        color 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease,
        opacity 0.18s ease;
}

.activation-resend-button:hover:not(:disabled) {
    color: #ffffff;

    border-color: var(--green);

    background:
        linear-gradient(
            100deg,
            var(--green-dark),
            var(--green)
        );

    box-shadow:
        0 10px 22px
        rgba(20, 148, 43, 0.18);

    transform: translateY(-1px);
}

.activation-resend-button:active:not(:disabled) {
    transform: translateY(0);
}

.activation-resend-button:focus-visible {
    outline:
        3px solid
        rgba(255, 196, 0, 0.55);

    outline-offset: 3px;
}

.activation-resend-button:disabled {
    opacity: 0.6;

    cursor: wait;

    transform: none;
}


/*
|--------------------------------------------------------------------------
| Form
|--------------------------------------------------------------------------
*/

.login-form {
    width: 100%;
}

.field {
    margin-bottom: 21px;
}

.field label {
    display: block;

    margin-bottom: 9px;

    color: #1c2534;

    font-size: 13px;
    font-weight: 850;
}

.field-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;
}


/*
|--------------------------------------------------------------------------
| Inputs
|--------------------------------------------------------------------------
*/

.input-shell {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    min-height: 58px;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius: 15px;

    background: #ffffff;

    box-shadow:
        0 5px 17px
        rgba(20, 30, 50, 0.025);

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.input-shell:focus-within {
    border-color:
        rgba(20, 148, 43, 0.62);

    box-shadow:
        0 0 0 4px
        rgba(20, 148, 43, 0.075);
}

.input-icon {
    width: 52px;

    flex: 0 0 52px;

    text-align: center;

    color: #929eb1;

    font-size: 15px;
    font-weight: 900;
}

.input-shell input {
    width: 100%;
    min-width: 0;
    height: 56px;

    padding:
        0 15px;

    border: 0;
    outline: 0;

    background: transparent;

    color: #111827;

    font-size: 15px;
    font-weight: 600;
}


/*
|--------------------------------------------------------------------------
| Password
|--------------------------------------------------------------------------
*/

.password-toggle {
    min-width: 67px;

    align-self: stretch;

    padding: 0 12px;

    border: 0;

    border-inline-start:
        1px solid #edf0f4;

    background: transparent;

    color: #667287;

    font-size: 12px;
    font-weight: 800;

    cursor: pointer;
}

.password-toggle:hover {
    color: var(--green);
}

.password-toggle:focus-visible {
    outline:
        2px solid
        var(--green);

    outline-offset: -3px;
}


/*
|--------------------------------------------------------------------------
| Forgot Password
|--------------------------------------------------------------------------
*/

.forgot-link {
    color: var(--green);

    font-size: 12px;
    font-weight: 850;

    text-decoration: none;
}

.forgot-link:hover {
    color: var(--orange);

    text-decoration: underline;
}


/*
|--------------------------------------------------------------------------
| First Login Notice
|--------------------------------------------------------------------------
*/

.first-login-note {
    display: flex;
    align-items: flex-start;

    gap: 11px;

    margin:
        4px 0
        25px;

    padding:
        14px 15px;

    border:
        1px solid
        rgba(255, 196, 0, 0.46);

    border-radius: 14px;

    background:
        rgba(255, 196, 0, 0.07);
}

.note-mark {
    width: 23px;
    height: 23px;

    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #584400;

    background: var(--gold);

    font-size: 12px;
    font-weight: 950;
}

.first-login-note p {
    margin: 0;

    color: #696454;

    font-size: 12px;
    line-height: 1.75;
}


/*
|--------------------------------------------------------------------------
| Login Button
|--------------------------------------------------------------------------
*/

.login-submit {
    width: 100%;
    min-height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 15px;

    padding: 0 24px;

    border: 0;
    border-radius: 15px;

    color: #ffffff;

    background:
        linear-gradient(
            100deg,
            var(--green-dark),
            var(--green),
            var(--green-light)
        );

    box-shadow:
        0 15px 32px
        rgba(20, 148, 43, 0.22);

    font-size: 16px;
    font-weight: 900;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        opacity 0.18s ease;
}

.login-submit:hover:not(:disabled) {
    transform:
        translateY(-1px);

    box-shadow:
        0 18px 37px
        rgba(20, 148, 43, 0.30);
}

.login-submit:active:not(:disabled) {
    transform: translateY(0);
}

.login-submit:focus-visible {
    outline:
        3px solid
        rgba(255, 196, 0, 0.62);

    outline-offset: 3px;
}

.login-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

.login-submit-arrow {
    color: var(--gold);

    font-size: 19px;
}


/*
|--------------------------------------------------------------------------
| Security Footer
|--------------------------------------------------------------------------
*/

.login-security {
    display: flex;
    align-items: flex-start;

    gap: 13px;

    margin-top: 34px;
    padding-top: 25px;

    border-top:
        1px solid #e9edf3;
}

.security-lock {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    color: var(--green);

    background:
        rgba(20, 148, 43, 0.08);
}

.login-security strong {
    display: block;

    margin-bottom: 4px;

    color: #303a4a;

    font-size: 12px;
}

.login-security p {
    margin: 0;

    color: #939eaf;

    font-size: 11px;
    line-height: 1.7;
}


/*
|--------------------------------------------------------------------------
| Direction
|--------------------------------------------------------------------------
*/

html[dir="rtl"] .login-panel-inner {
    text-align: right;
}

html[dir="ltr"] .login-panel-inner {
    text-align: left;
}


/*
|--------------------------------------------------------------------------
| Laptop
|--------------------------------------------------------------------------
*/

@media (max-width: 1200px) {

    .login-page {
        grid-template-columns:
            minmax(0, 0.88fr)
            minmax(0, 1.12fr);
    }

    .login-brand {
        padding: 42px;
    }

    .digital-orbit {
        width: 360px;
        height: 360px;

        right: -100px;
    }

    .group-logo {
        width: 180px;
    }

    .login-panel {
        padding-inline: 48px;
    }
}


/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 767px) {

    .login-page {
        display: flex;
        flex-direction: column;
    }

    .login-brand {
        min-height: auto;

        padding:
            35px
            30px;
    }

    .brand-content {
        width: 100%;

        display: grid;

        grid-template-columns:
            145px
            minmax(0, 1fr);

        gap:
            25px
            30px;

        align-items: center;
    }

    .group-logo-wrap {
        margin: 0;
    }

    .group-logo {
        width: 145px;
    }

    .identity-eyebrow {
        margin-bottom: 8px;

        font-size: 9px;
    }

    .yebali-identity h1 {
        font-size: 52px;
    }

    .identity-arabic {
        margin-top: 8px;

        font-size: 23px;
    }

    .yebali-identity p {
        margin-top: 11px;

        font-size: 13px;
    }

    .brand-footer {
        grid-column: 1 / -1;

        margin-top: 2px;
    }

    .digital-orbit {
        display: none;
    }

    .login-panel {
        min-height: auto;

        padding:
            55px
            30px
            65px;
    }

    .login-panel-inner {
        width: min(100%, 590px);
    }
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 600px) {

    .login-brand {
        padding:
            28px
            20px
            32px;
    }

    .brand-content {
        display: block;
    }

    .group-logo-wrap {
        margin-bottom: 28px;
    }

    .group-logo {
        width: 130px;
    }

    .identity-eyebrow {
        font-size: 8px;

        letter-spacing: 0.2em;
    }

    .yebali-identity h1 {
        font-size: 45px;
    }

    .identity-arabic {
        font-size: 21px;
    }

    .yebali-identity p {
        max-width: 340px;

        margin-top: 13px;

        font-size: 12px;
    }

    .brand-footer {
        margin-top: 30px;

        font-size: 11px;
    }

    .login-panel {
        padding:
            44px
            18px
            45px;
    }

    .ttf-color-strip {
        height: 8px;
    }

    .language-switcher {
        margin-bottom: 32px;
    }

    .login-heading {
        margin-bottom: 26px;
    }

    .login-heading h2 {
        font-size: 27px;
    }

    .login-heading p {
        font-size: 14px;
    }

    .field {
        margin-bottom: 17px;
    }

    .input-shell {
        min-height: 54px;

        border-radius: 13px;
    }

    .input-shell input {
        height: 52px;
    }

    .input-icon {
        width: 45px;
        flex-basis: 45px;
    }

    .activation-resend {
        margin-bottom: 20px;

        padding: 14px;

        border-radius: 14px;
    }

    .activation-resend-button {
        min-height: 45px;

        padding-inline: 14px;

        font-size: 12px;
    }

    .login-submit {
        min-height: 56px;

        border-radius: 14px;
    }

    .login-security {
        margin-top: 27px;
    }
}


/*
|--------------------------------------------------------------------------
| Small Phones
|--------------------------------------------------------------------------
*/

@media (max-width: 380px) {

    .login-panel {
        padding-inline: 14px;
    }

    .login-heading h2 {
        font-size: 24px;
    }

    .field-heading {
        gap: 8px;
    }

    .forgot-link {
        font-size: 10px;
    }

    .password-toggle {
        min-width: 58px;

        padding-inline: 8px;
    }

    .activation-resend {
        padding: 12px;
    }

    .activation-resend-button {
        font-size: 11px;
    }
}


/*
|--------------------------------------------------------------------------
| Short Desktop / Laptop
|--------------------------------------------------------------------------
*/

@media (
    min-width: 768px
) and (
    max-height: 780px
) {

    .login-brand,
    .login-panel {
        align-items: flex-start;

        padding-top: 35px;
        padding-bottom: 35px;
    }

    .group-logo-wrap {
        margin-bottom: 35px;
    }

    .brand-footer {
        margin-top: 35px;
    }

    .language-switcher {
        margin-bottom: 26px;
    }

    .login-heading {
        margin-bottom: 22px;
    }

    .activation-resend {
        margin-bottom: 16px;

        padding: 12px 14px;
    }

    .activation-resend .first-login-note {
        margin-bottom: 9px;
    }

    .activation-resend-button {
        min-height: 42px;
    }

    .field {
        margin-bottom: 14px;
    }

    .first-login-note {
        margin-bottom: 18px;
    }

    .login-security {
        margin-top: 22px;
        padding-top: 18px;
    }
}


/*
|--------------------------------------------------------------------------
| Reduced Motion
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
/* Touch, readability and safe reflow refinements to the original design. */
:root { --muted: #59697e; }
body { overflow-x: visible; }
[hidden] { display: none !important; }
button, a { touch-action: manipulation; }
.login-page { min-height: 100svh; }
.login-panel { overflow: visible; }
.login-panel-inner { min-width: 0; }
.login-heading h2 { letter-spacing: normal; overflow-wrap: anywhere; }
.language-switcher { gap: 4px; }
.language-switcher a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 72px; padding: 8px 10px; border-radius: 10px; }
.language-switcher a.is-active { color: var(--green-dark); background: #eff8f1; }
.field label { font-size: 15px; }
.input-shell input { font-size: 17px; }
.field-heading { flex-wrap: wrap; column-gap: 12px; }
.field-heading label { margin-block-end: 0; }
.forgot-link { display: inline-flex; align-items: center; min-height: 48px; font-size: 14px; color: var(--green-dark); }
.password-toggle { min-width: 68px; min-height: 48px; font-size: 14px; color: #536174; }
.first-login-note p { font-size: 14px; color: #625638; }
.login-alert { font-size: 15px; overflow-wrap: anywhere; }
.activation-resend-button { min-height: 48px; font-size: 15px; }
.login-security strong { font-size: 14px; }
.login-security p { color: #59697e; font-size: 13px; }
.login-submit { background: linear-gradient(100deg, #08751e, #10852a); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 3px; }
.password-toggle:focus-visible { outline-offset: -4px; }
.input-shell input:focus-visible { outline: 2px solid var(--green-dark); outline-offset: -3px; }
.identity-eyebrow, .yebali-identity h1 { direction: ltr; unicode-bidi: isolate; }
@media (min-width: 768px) and (max-width: 1100px) {
  .login-brand { padding: 30px 24px; }
  .login-panel { padding-inline: 28px; }
  .yebali-identity h1 { font-size: clamp(44px, 6.5vw, 72px); }
  .group-logo { width: 160px; }
  .login-heading h2 { font-size: 29px; }
  .language-switcher { margin-block-end: 24px; }
}
@media (max-width: 767px) {
  .login-brand { padding: 22px; }
  .brand-content { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 20px; }
  .group-logo-wrap { margin: 0; }
  .group-logo { width: 100px; }
  .yebali-identity h1 { font-size: 36px; }
  .identity-arabic { font-size: 24px; margin-top: 3px; }
  .identity-eyebrow, .brand-footer { display: none; }
  .yebali-identity p { font-size: 14px; margin-top: 8px; }
  .login-panel { padding: 28px 20px 36px; }
  .language-switcher { margin-bottom: 20px; }
}
@media (max-width: 480px) {
  .brand-content { grid-template-columns: 82px minmax(0, 1fr); gap: 18px; }
  .group-logo { width: 82px; }
  .yebali-identity h1 { font-size: 30px; }
  .yebali-identity p { display: none; }
  .login-panel { padding-inline: 18px; }
  .forgot-link { font-size: 14px; }
}
