@font-face {
    font-family: "Inter";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("/static/fonts/inter-latin-wght-normal.woff2") format("woff2-variations"),
         url("/static/fonts/inter-latin-wght-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("/static/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations"),
         url("/static/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
}

:root {
    --login-blue: #2572a4;
    --login-blue-dark: #195f90;
    --login-navy: #101a31;
    --login-text: #334155;
    --login-muted: #5f7089;
    --login-border: #d7e2ec;
    --login-surface: #ffffff;
    --login-background: #f4f9fd;
}

* {
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background: var(--login-background);
}

body {
    margin: 0;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--login-navy);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.login-wrapper {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    padding: clamp(42px, 7vh, 78px) clamp(32px, 6vw, 96px) 92px;
    background:
        radial-gradient(circle at 84% 22%, rgba(37, 114, 164, 0.08), transparent 23%),
        radial-gradient(circle at 30% 92%, rgba(37, 114, 164, 0.06), transparent 26%),
        linear-gradient(140deg, #fbfdff 0%, #f2f8fc 50%, #eef6fb 100%);
}

.login-wrapper::before,
.login-wrapper::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

.login-wrapper::before {
    width: 310px;
    height: 500px;
    left: -135px;
    top: -30px;
    border: 1px solid rgba(37, 114, 164, 0.11);
    border-radius: 50%;
    transform: rotate(28deg);
}

.login-wrapper::after {
    width: 660px;
    height: 660px;
    right: -330px;
    bottom: -400px;
    border: 1px solid rgba(37, 114, 164, 0.08);
    border-radius: 50%;
    box-shadow: 0 0 0 76px rgba(37, 114, 164, 0.025);
}

.login-decoration {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border-radius: 34px;
    background: rgba(37, 114, 164, 0.035);
    transform: rotate(34deg);
}

.login-decoration-left {
    width: 160px;
    height: 240px;
    left: -62px;
    top: 28%;
}

.login-decoration-right {
    width: 90px;
    height: 150px;
    right: 10%;
    top: -65px;
}

.login-layout {
    width: min(1320px, 100%);
    min-height: min(690px, calc(100vh - 170px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(430px, 0.78fr);
    align-items: center;
    gap: clamp(70px, 8vw, 150px);
}

.login-presentation {
    min-width: 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-brand {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    width: fit-content;
}

.login-brand-mark {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
    overflow: hidden;
    border-radius: 20px;
    background: transparent;
    border: 0;
    box-shadow: 0 12px 28px rgba(37, 114, 164, 0.12);
}

.login-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.login-brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.login-brand-copy strong {
    color: var(--login-navy);
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.login-brand-copy span {
    margin-top: 5px;
    color: var(--login-muted);
    font-size: clamp(15px, 1.5vw, 20px);
}

.login-presentation-content {
    margin-top: clamp(56px, 9vh, 104px);
}

.login-presentation h1 {
    margin: 0;
    max-width: 620px;
    color: var(--login-navy);
    font-size: clamp(38px, 4.2vw, 58px);
    line-height: 1.1;
    letter-spacing: -0.045em;
}

.login-presentation-content > p {
    max-width: 620px;
    margin: 26px 0 0;
    color: var(--login-text);
    font-size: clamp(17px, 1.45vw, 21px);
    line-height: 1.65;
}

.login-benefits {
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 18px;
}

.login-benefits li {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--login-navy);
    font-size: 18px;
    font-weight: 650;
}

.benefit-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
    color: var(--login-blue);
    background: #e8f3fa;
}

.benefit-icon svg,
.message svg,
.password-toggle svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.benefit-icon svg {
    width: 25px;
    height: 25px;
}

.login-access {
    min-width: 0;
}

.login-mobile-brand {
    display: none;
}

.login-card {
    width: min(540px, 100%);
    margin-left: auto;
    padding: clamp(38px, 4vw, 58px);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 60px rgba(30, 66, 91, 0.14);
}

.login-card-header {
    margin-bottom: 36px;
    text-align: center;
}

.login-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--login-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.login-card-header h2 {
    margin: 0;
    color: var(--login-navy);
    font-size: clamp(27px, 2.6vw, 36px);
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.login-card-header p {
    margin: 10px 0 0;
    color: var(--login-muted);
    font-size: 17px;
}

.input-group {
    margin-bottom: 22px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #1e293b;
    font-size: 14px;
    font-weight: 700;
}

.field-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.field-label-row label {
    margin-bottom: 0;
}

.input-group input[type="text"],
.input-group input[type="password"] {
    width: 100%;
    min-height: 56px;
    padding: 0 16px;
    border: 1px solid var(--login-border);
    border-radius: 10px;
    outline: none;
    background: #fff;
    color: var(--login-navy);
    font-size: 16px;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.input-group input::placeholder {
    color: #94a3b8;
}

.input-group input:hover {
    border-color: #b8cad9;
}

.input-group input:focus {
    border-color: var(--login-blue);
    box-shadow: 0 0 0 4px rgba(37, 114, 164, 0.12);
    background: #fff;
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 54px !important;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 40px;
    height: 40px;
    padding: 0;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 8px;
    color: #73849a;
    background: transparent;
    cursor: pointer;
}

.password-toggle:hover {
    color: var(--login-blue);
    background: #edf6fb;
}

.password-toggle:focus-visible {
    outline: 2px solid var(--login-blue);
    outline-offset: 1px;
}

.password-toggle svg {
    width: 22px;
    height: 22px;
}

.password-toggle .eye-closed,
.password-toggle[aria-pressed="true"] .eye-open {
    display: none;
}

.password-toggle[aria-pressed="true"] .eye-closed {
    display: block;
}

.login-options {
    margin: -2px 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.remember {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--login-text);
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

.remember input {
    width: 19px;
    height: 19px;
    margin: 0;
    accent-color: var(--login-blue);
}

.login-button {
    width: 100%;
    min-height: 56px;
    padding: 0 20px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #247bb3, #176ba3);
    box-shadow: 0 10px 22px rgba(37, 114, 164, 0.25);
    font-size: 16px;
    font-weight: 750;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.login-button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 13px 26px rgba(37, 114, 164, 0.3);
    filter: brightness(0.98);
}

.login-button:focus-visible {
    outline: 3px solid rgba(37, 114, 164, 0.28);
    outline-offset: 3px;
}

.login-button:disabled {
    cursor: wait;
    opacity: 0.78;
}

.button-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-button.is-loading .button-label {
    display: none;
}

.login-button.is-loading .button-loading {
    display: flex;
}

.button-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: login-spin 0.7s linear infinite;
}

@keyframes login-spin {
    to { transform: rotate(360deg); }
}

.login-support-direct {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px 7px;
    margin: 18px 0 0;
    color: var(--login-muted);
    font-size: 12px;
    text-align: center;
}

.login-support-direct > span {
    white-space: nowrap;
}

.login-support-direct a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    color: #126cac;
    font-weight: 750;
    text-decoration: none;
}

.login-support-direct a:hover span {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.login-support-direct a:focus-visible {
    outline: 2px solid var(--login-blue);
    outline-offset: 4px;
    border-radius: 3px;
}

.login-support-direct img {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.login-support-direct a span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.activation-header h1 {
    margin: 0;
    color: var(--login-navy);
    font-size: clamp(25px, 2.4vw, 32px);
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.activation-header p {
    max-width: 380px;
    margin: 10px auto 0;
    line-height: 1.55;
}

.activation-header p strong {
    color: var(--login-navy);
}

.activation-code-group label {
    text-align: center;
}

.activation-code-input {
    padding-right: 8px !important;
    padding-left: calc(8px + 0.38em) !important;
    color: var(--login-navy) !important;
    font-size: 27px !important;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.38em;
    text-align: center;
}

.activation-code-input::placeholder {
    color: #b4c3d1 !important;
    opacity: 1;
}

.activation-code-group small {
    display: block;
    margin-top: 8px;
    color: var(--login-muted);
    font-size: 12px;
    text-align: center;
}

.activation-back-link {
    display: block;
    width: fit-content;
    margin: 16px auto 0;
    color: #126cac;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.activation-back-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.activation-back-link:focus-visible {
    outline: 2px solid var(--login-blue);
    outline-offset: 4px;
    border-radius: 3px;
}

.forgot-password-link,
.back-link {
    color: #126cac;
    font-weight: 650;
    text-decoration: none;
}

.back-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
}

.forgot-password-link {
    display: inline-block;
    flex: 0 0 auto;
    font-size: 13px;
}

.forgot-password-link:hover,
.back-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.forgot-password-link:focus-visible,
.back-link:focus-visible {
    outline: 2px solid var(--login-blue);
    outline-offset: 4px;
    border-radius: 3px;
}

.login-security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 18px 0 0;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    color: #7b899c;
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
}

.login-security-note svg {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: -10px 0 24px;
    padding: 12px 14px;
    border: 1px solid;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.45;
}

.message svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    margin-top: 1px;
}

.message-error,
.error {
    border-color: #f2b8b5;
    color: #b42318;
    background: #fff1f0;
}

.message-success,
.success {
    border-color: #a8ddbb;
    color: #17663a;
    background: #edf9f1;
}

.login-footer {
    position: absolute;
    left: clamp(32px, 6vw, 96px);
    right: clamp(32px, 6vw, 96px);
    bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #718096;
    font-size: 13px;
}

.login-footer-product {
    color: #8391a5;
}

/* Pages de récupération du mot de passe */
.card {
    position: relative;
    z-index: 1;
    background: #fff;
}

.recovery-card {
    width: min(470px, 100%);
    margin: auto;
    padding: 40px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(30, 66, 91, 0.14);
}

.recovery-logo {
    display: block;
    width: 64px;
    height: 64px;
    margin: 24px 0;
    object-fit: contain;
}

.recovery-card h1 {
    margin: 0 0 10px;
    color: var(--login-navy);
    font-size: 27px;
    letter-spacing: -0.03em;
}

.recovery-intro {
    margin: 0 0 24px;
    color: var(--login-muted);
}

.recovery-card .input-group {
    margin-bottom: 20px;
}

.recovery-card .error,
.recovery-card .success {
    margin-bottom: 20px;
    padding: 12px 14px;
    border: 1px solid;
    border-radius: 10px;
    font-size: 14px;
}

.button-link {
    display: grid;
    place-items: center;
    text-align: center;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .login-wrapper {
        padding: 40px clamp(24px, 5vw, 56px) 84px;
    }

    .login-layout {
        grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1fr);
        gap: clamp(40px, 6vw, 76px);
    }

    .login-presentation-content > p {
        font-size: 17px;
    }
}

@media (max-width: 780px) {
    .login-wrapper {
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 34px 22px 76px;
    }

    .login-layout {
        width: min(520px, 100%);
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .login-presentation {
        display: none;
    }

    .login-mobile-brand {
        display: flex;
        justify-content: center;
        margin-bottom: 28px;
    }

    .login-mobile-brand .login-brand {
        gap: 15px;
    }

    .login-mobile-brand .login-brand-mark {
        width: 68px;
        height: 68px;
        flex-basis: 68px;
        border-radius: 17px;
    }

    .login-mobile-brand .login-brand-mark img {
        width: 100%;
        height: 100%;
    }

    .login-mobile-brand .login-brand-copy strong {
        font-size: 29px;
    }

    .login-mobile-brand .login-brand-copy span {
        font-size: 15px;
    }

    .login-card {
        width: 100%;
        margin: 0;
        padding: 38px;
    }

    .login-footer {
        left: 22px;
        right: 22px;
        bottom: 22px;
        justify-content: center;
    }

    .login-footer-product {
        display: none;
    }
}

@media (max-width: 520px) {
    .login-wrapper {
        padding: max(24px, env(safe-area-inset-top)) 16px max(72px, calc(56px + env(safe-area-inset-bottom)));
    }

    .login-mobile-brand {
        margin-bottom: 24px;
    }

    .login-mobile-brand .login-brand-mark {
        width: 62px;
        height: 62px;
        flex-basis: 62px;
    }

    .login-mobile-brand .login-brand-copy strong {
        font-size: 26px;
    }

    .login-mobile-brand .login-brand-copy span {
        font-size: 14px;
    }

    .login-card {
        padding: 30px 22px;
        border-radius: 20px;
    }

    .login-card-header {
        margin-bottom: 28px;
    }

    .login-eyebrow {
        margin-bottom: 8px;
    }

    .login-card-header h2 {
        font-size: 25px;
    }

    .login-card-header p {
        margin-top: 7px;
        font-size: 15px;
    }

    .input-group {
        margin-bottom: 19px;
    }

    .input-group input[type="text"],
    .input-group input[type="password"] {
        min-height: 54px;
        font-size: 16px;
    }

    .field-label-row {
        gap: 10px;
    }

    .forgot-password-link {
        font-size: 12px;
    }

    .login-security-note {
        margin-top: 20px;
        padding-top: 17px;
    }

    .login-footer {
        bottom: max(18px, env(safe-area-inset-bottom));
        font-size: 12px;
    }

    .recovery-card {
        padding: 28px 22px;
        border-radius: 20px;
    }
}

@media (max-width: 520px) and (max-height: 699px) {
    .login-wrapper {
        justify-content: flex-start;
    }
}

@media (max-width: 360px) {
    .field-label-row {
        gap: 6px;
    }

    .field-label-row label {
        font-size: 12px;
    }

    .forgot-password-link {
        font-size: 11px;
    }

    .login-support-direct {
        font-size: 11px;
    }
}

@media (max-height: 700px) and (min-width: 781px) {
    .login-wrapper {
        padding-top: 28px;
        padding-bottom: 70px;
    }

    .login-layout {
        min-height: 600px;
    }

    .login-presentation-content {
        margin-top: 46px;
    }

    .login-card {
        padding-top: 38px;
        padding-bottom: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Présentation scindée sur ordinateur */
@media (min-width: 781px) {
    .login-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        overflow-x: hidden;
        overflow-y: auto;
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .login-layout {
        position: relative;
        z-index: 1;
        width: min(980px, 100%);
        min-height: 568px;
        margin: 0;
        grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
        align-items: stretch;
        gap: 0;
        overflow: hidden;
        border: 1px solid rgba(148, 163, 184, 0.24);
        border-radius: 24px;
        background: #fff;
        box-shadow: 0 25px 62px rgba(30, 66, 91, 0.18);
    }

    .login-presentation {
        position: relative;
        align-self: stretch;
        padding: 48px 44px;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: #fff;
        background:
            radial-gradient(circle at 105% 5%, rgba(255, 255, 255, 0.1), transparent 36%),
            linear-gradient(150deg, #2d7eae 0%, #216791 100%);
    }

    .login-presentation .login-brand {
        flex-direction: column;
        gap: 12px;
        transform: translateY(-48px);
    }

    .login-presentation .login-brand-mark {
        width: 68px;
        height: 68px;
        flex-basis: 68px;
        border-radius: 15px;
        box-shadow: 0 12px 26px rgba(7, 45, 70, 0.2);
    }

    .login-presentation .login-brand-copy strong {
        color: #fff;
        font-size: 31px;
        letter-spacing: -0.035em;
    }

    .login-presentation .login-brand-copy span {
        color: rgba(255, 255, 255, 0.8);
        font-size: 15px;
    }

    .login-presentation-content {
        position: absolute;
        right: 44px;
        bottom: 42px;
        left: 44px;
        margin-top: 0;
    }

    .login-presentation h1 {
        max-width: 430px;
        color: #fff;
        font-size: clamp(38px, 3.4vw, 48px);
        line-height: 1.08;
        letter-spacing: -0.045em;
    }

    .login-presentation-content > p {
        max-width: 430px;
        margin-top: 20px;
        color: rgba(255, 255, 255, 0.86);
        font-size: 16px;
        line-height: 1.6;
    }

    .login-benefits {
        width: fit-content;
        margin-top: 0;
        margin-right: auto;
        margin-left: auto;
        gap: 9px;
        text-align: left;
    }

    .login-benefits li {
        gap: 10px;
        color: #fff;
        font-size: 13px;
        font-weight: 600;
    }

    .benefit-icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
        color: #fff;
        background: rgba(255, 255, 255, 0.13);
        border: 1px solid rgba(255, 255, 255, 0.13);
    }

    .benefit-icon svg {
        width: 17px;
        height: 17px;
    }

    .login-access {
        align-self: stretch;
        display: flex;
        align-items: center;
        background: #fff;
    }

    .login-card {
        width: 100%;
        margin: 0;
        padding: 42px 38px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .login-card-header {
        margin-bottom: 28px;
    }

    .login-card-header h2 {
        font-size: 29px;
    }

    .login-card-header p {
        font-size: 15px;
    }

    .login-security-note {
        padding-top: 16px;
    }
}

@media (min-width: 781px) and (max-height: 760px) {
    .login-wrapper {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .login-layout {
        min-height: min(568px, calc(100dvh - 32px));
    }

    .login-presentation {
        padding: 34px 38px;
    }

    .login-presentation .login-brand {
        transform: translateY(-38px);
    }

    .login-presentation-content {
        right: 38px;
        bottom: 30px;
        left: 38px;
        margin-top: 0;
    }

    .login-presentation h1 {
        font-size: 39px;
    }

    .login-presentation-content > p {
        margin-top: 15px;
        font-size: 14px;
    }

    .login-benefits {
        margin-top: 0;
        gap: 9px;
    }

    .login-card {
        padding: 28px 34px;
    }

    .login-card-header {
        margin-bottom: 20px;
    }

    .input-group {
        margin-bottom: 16px;
    }

    .input-group input[type="text"],
    .input-group input[type="password"],
    .login-button {
        min-height: 50px;
    }

    .login-options {
        margin-bottom: 18px;
    }

    .login-support-direct {
        margin-top: 13px;
    }

    .login-security-note {
        margin-top: 13px;
        padding-top: 12px;
    }
}

@media (min-width: 781px) and (max-height: 700px) {
    .login-footer {
        display: none;
    }
}

@media (min-width: 781px) and (max-height: 583px) {
    .login-wrapper {
        align-items: flex-start;
    }
}

@media (max-width: 780px) {
    .login-access {
        overflow: hidden;
        border: 1px solid rgba(148, 163, 184, 0.22);
        border-radius: 22px;
        background: #fff;
        box-shadow: 0 24px 60px rgba(30, 66, 91, 0.14);
    }

    .login-mobile-brand {
        min-height: 140px;
        margin: 0;
        padding: 24px;
        align-items: center;
        background:
            radial-gradient(circle at 105% 0%, rgba(255, 255, 255, 0.11), transparent 42%),
            linear-gradient(150deg, #347fb0 0%, #276c97 100%);
    }

    .login-mobile-brand .login-brand {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .login-mobile-brand .login-brand-mark {
        width: 62px;
        height: 62px;
        flex-basis: 62px;
        border-radius: 14px;
        box-shadow: 0 10px 24px rgba(7, 45, 70, 0.2);
    }

    .login-mobile-brand .login-brand-copy strong {
        color: #fff;
        font-size: 24px;
    }

    .login-mobile-brand .login-brand-copy span {
        margin-top: 2px;
        color: rgba(255, 255, 255, 0.8);
        font-size: 12px;
    }

    .login-card {
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
}

@media (max-width: 520px) {
    .login-mobile-brand {
        min-height: 126px;
        padding: 20px;
    }

    .login-mobile-brand .login-brand-mark {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
    }

    .login-mobile-brand .login-brand-copy strong {
        font-size: 22px;
    }
}
