/* Green Business authentication shell. */
.gb-auth-page {
    min-width: 320px;
    margin: 0;
    color: var(--gb-ink);
    background: var(--gb-canvas);
    font-family: Poppins, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.gb-auth-page *,
.gb-auth-page *::before,
.gb-auth-page *::after {
    box-sizing: border-box;
}

.gb-auth-layout {
    display: grid;
    grid-template-columns: minmax(420px, 44fr) minmax(0, 56fr);
    min-height: 100vh;
    min-height: 100dvh;
}

.gb-auth-brand {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(32px, 4.4vw, 72px);
    overflow: hidden;
    color: var(--gb-green-50);
    background:
        radial-gradient(circle at 88% 12%, rgba(132, 204, 22, 0.17), transparent 27%),
        radial-gradient(circle at 4% 94%, rgba(34, 197, 94, 0.13), transparent 30%),
        linear-gradient(145deg, var(--gb-sidebar) 0%, var(--gb-green-950) 62%, #031D0E 100%);
}

.gb-auth-brand::before,
.gb-auth-brand::after {
    position: absolute;
    z-index: -1;
    content: "";
    pointer-events: none;
}

.gb-auth-brand::before {
    top: 18%;
    right: -88px;
    width: 240px;
    height: 170px;
    border-top: 1px solid rgba(187, 247, 208, 0.18);
    border-left: 1px solid rgba(187, 247, 208, 0.1);
    border-radius: 88px 0 0;
    transform: rotate(-14deg);
}

.gb-auth-brand::after {
    right: 56px;
    bottom: 22%;
    width: 8px;
    height: 8px;
    background: var(--gb-lime-500);
    border-radius: 50%;
    box-shadow: 0 0 0 9px rgba(132, 204, 22, 0.08), 0 0 38px rgba(132, 204, 22, 0.38);
    transform-origin: center;
    animation: gb-auth-circuit-pulse 2.4s ease-in-out infinite;
    will-change: opacity, transform, box-shadow;
}

.gb-auth-brand__glow {
    position: absolute;
    z-index: -1;
    top: 36%;
    left: 66%;
    width: 210px;
    height: 210px;
    background: rgba(34, 197, 94, 0.08);
    border-radius: 50%;
    filter: blur(4px);
    pointer-events: none;
}

.gb-auth-brand__motif {
    position: absolute;
    z-index: -1;
    right: clamp(-92px, -5vw, -42px);
    bottom: clamp(82px, 10vh, 150px);
    width: min(35vw, 520px);
    min-width: 310px;
    height: auto;
    opacity: 0.055;
    transform: rotate(-9deg);
    pointer-events: none;
    user-select: none;
}

.gb-auth-brand__top,
.gb-auth-brand__content,
.gb-auth-brand__footer {
    position: relative;
    z-index: 1;
}

.gb-auth-brand__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
}

.gb-auth-subbrand {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    color: var(--gb-green-50);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    background: rgba(240, 253, 244, 0.09);
    border: 1px solid rgba(187, 247, 208, 0.22);
    border-radius: 999px;
}

.gb-auth-brand__logo-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.gb-auth-brand__logo {
    display: block;
    width: clamp(210px, 19vw, 288px);
    max-width: 100%;
    height: auto;
}

.gb-auth-brand__content {
    width: min(100%, 620px);
    margin: auto 0;
    padding: clamp(64px, 10vh, 128px) 0;
}

.gb-auth-brand__eyebrow {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--gb-green-200);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.13em;
}

.gb-auth-brand h1 {
    max-width: 720px;
    margin: 0;
    color: var(--gb-surface);
    font-size: clamp(2.5rem, 4.25vw, 4.6rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.gb-auth-brand__content > p {
    max-width: 580px;
    margin: 28px 0 0;
    color: var(--gb-green-100);
    font-size: clamp(1rem, 1.25vw, 1.22rem);
    font-weight: 400;
    line-height: 1.75;
}

.gb-auth-brand__capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 36px;
}

.gb-auth-brand__capabilities span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    color: var(--gb-green-50);
    font-size: 0.86rem;
    font-weight: 500;
    background: rgba(240, 253, 244, 0.075);
    border: 1px solid rgba(187, 247, 208, 0.16);
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.gb-auth-brand__capabilities i {
    margin-right: 8px;
    color: var(--gb-green-300);
}

.gb-auth-brand__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
    padding-top: 24px;
    color: var(--gb-green-200);
    font-size: 0.84rem;
    border-top: 1px solid rgba(240, 253, 244, 0.12);
}

.gb-auth-brand__footer a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 14px;
    color: var(--gb-surface);
    font-weight: 600;
    background: rgba(240, 253, 244, 0.1);
    border: 1px solid rgba(187, 247, 208, 0.22);
    border-radius: 10px;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.gb-auth-brand__footer a:hover {
    color: var(--gb-surface);
    background: rgba(240, 253, 244, 0.16);
    border-color: rgba(187, 247, 208, 0.38);
}

.gb-auth-brand__footer i {
    margin-left: 9px;
    font-size: 0.78rem;
    transition: transform 180ms ease;
}

.gb-auth-brand__footer a:hover i {
    transform: translateX(4px);
}

.gb-auth-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: clamp(28px, 5vw, 88px);
    background:
        radial-gradient(circle at 85% 12%, rgba(134, 239, 172, 0.13), transparent 25%),
        var(--gb-canvas);
}

.gb-auth-card {
    width: min(100%, 480px);
    padding: clamp(32px, 4vw, 52px);
    background: var(--gb-surface);
    border: 1px solid var(--gb-border);
    border-radius: 22px;
    box-shadow: 0 24px 72px rgba(16, 32, 25, 0.1), 0 4px 16px rgba(16, 32, 25, 0.04);
}

.gb-auth-card--medium {
    width: min(100%, 560px);
}

.gb-auth-card--wide {
    width: min(100%, 700px);
}

.gb-auth-card__header {
    margin-bottom: 34px;
}

.gb-auth-card__eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 13px;
    color: var(--gb-primary);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.gb-auth-card__eyebrow i {
    margin-right: 7px;
    font-size: 0.76rem;
}

.gb-auth-card h2 {
    margin: 0;
    color: var(--gb-ink);
    font-size: clamp(1.8rem, 2.4vw, 2.25rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.gb-auth-card__header p {
    margin: 12px 0 0;
    color: var(--gb-muted);
    font-size: 0.93rem;
    line-height: 1.65;
}

.gb-auth-field {
    margin-bottom: 22px;
}

.gb-auth-page .form-label {
    margin-bottom: 9px;
    color: var(--gb-ink);
    font-size: 0.86rem;
    font-weight: 600;
}

.gb-auth-page .form-control {
    min-height: 52px;
    padding: 13px 15px;
    color: var(--gb-ink);
    font-size: 0.94rem;
    background: #FBFDFC;
    border: 1px solid var(--gb-border);
    border-radius: 11px;
    box-shadow: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.gb-auth-page .form-control::placeholder {
    color: #819087;
    opacity: 1;
}

.gb-auth-page .form-control:hover:not(:disabled) {
    border-color: #BDD2C4;
}

.gb-auth-page .form-control:focus {
    color: var(--gb-ink);
    background: var(--gb-surface);
    border-color: var(--gb-green-300);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(134, 239, 172, 0.32);
}

.gb-auth-page .form-control:disabled {
    color: var(--gb-muted);
    background: var(--gb-green-50);
    opacity: 0.78;
}

.gb-auth-inline-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: -12px 0 -4px;
    color: var(--gb-primary);
    font-size: 0.82rem;
    font-weight: 600;
}

.gb-auth-inline-link:hover,
.gb-auth-page a:hover {
    color: var(--gb-primary-hover);
}

.gb-auth-password {
    position: relative;
}

.gb-auth-password .form-control {
    padding-right: 58px;
}

.gb-auth-password__toggle {
    position: absolute;
    top: 50%;
    right: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--gb-muted);
    background: transparent;
    border: 0;
    border-radius: 9px;
    transform: translateY(-50%);
    transition: color 160ms ease, background-color 160ms ease;
}

.gb-auth-password__toggle:hover {
    color: var(--gb-primary);
    background: var(--gb-green-50);
}

.gb-auth-password__toggle i {
    font-size: 1.2rem;
}

.gb-auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    margin: -4px 0 20px;
}

.gb-auth-page .form-check {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin: 0;
    padding-left: 30px;
}

.gb-auth-page .form-check-input {
    width: 19px;
    height: 19px;
    margin-top: 0;
    margin-left: -30px;
    border-color: #B9CBC0;
    border-radius: 5px;
}

.gb-auth-page .form-check-input:checked {
    background-color: var(--gb-primary);
    border-color: var(--gb-primary);
}

.gb-auth-page .form-check-input:focus {
    border-color: var(--gb-green-300);
    box-shadow: 0 0 0 4px rgba(134, 239, 172, 0.32);
}

.gb-auth-page .form-check-label {
    padding-left: 1px;
    color: var(--gb-muted);
    font-size: 0.88rem;
    cursor: pointer;
}

.gb-auth-page .btn.btn-primary {
    min-height: 52px;
    color: var(--gb-surface);
    font-weight: 600;
    background: var(--gb-primary);
    border-color: var(--gb-primary);
    border-radius: 11px;
    box-shadow: 0 8px 20px rgba(21, 128, 61, 0.18);
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.gb-auth-page .btn.btn-primary:hover,
.gb-auth-page .btn.btn-primary:focus,
.gb-auth-page .btn.btn-primary:active {
    color: var(--gb-surface);
    background: var(--gb-primary-hover) !important;
    border-color: var(--gb-primary-hover) !important;
    box-shadow: 0 10px 24px rgba(22, 101, 52, 0.24);
}

.gb-auth-page .btn.btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
}

.gb-auth-page .btn.btn-primary:disabled {
    color: #E8F1EB;
    background: #587964;
    border-color: #587964;
    box-shadow: none;
    opacity: 1;
}

.gb-auth-page :where(a, button, input, [tabindex]):focus-visible {
    outline: 3px solid var(--gb-focus-ring);
    outline-offset: 3px;
}

.gb-auth-page .invalid-feedback,
.gb-auth-page .fv-plugins-message-container {
    margin-top: 7px;
    font-size: 0.8rem;
}

.gb-auth-page.modal-open {
    overflow: hidden;
}

.gb-auth-page > .modal-backdrop {
    background-color: var(--gb-green-950);
    backdrop-filter: blur(7px);
}

.gb-auth-page > .modal-backdrop.show {
    opacity: 0.72;
}

.gb-auth-otp-modal {
    padding: 0;
}

.gb-auth-otp-modal .modal-dialog {
    position: absolute;
    top: var(--gb-auth-otp-dialog-top, 50%);
    left: var(--gb-auth-otp-dialog-left, 50%);
    width: var(--gb-auth-otp-dialog-width, min(100% - 36px, 480px));
    max-width: none;
    height: var(--gb-auth-otp-dialog-height, auto);
    min-height: 0;
    margin: 0;
}

.gb-auth-otp-modal .modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    color: var(--gb-ink);
    background: var(--gb-surface);
    border: 1px solid rgba(187, 247, 208, 0.72);
    border-radius: 22px;
    box-shadow: 0 34px 90px rgba(5, 46, 22, 0.3), 0 10px 30px rgba(5, 46, 22, 0.16);
}

.gb-auth-otp-modal .modal-content::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    content: "";
    background: linear-gradient(90deg, var(--gb-primary), var(--gb-lime-500));
}

.gb-auth-otp-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 30px 32px 20px;
    border-bottom: 1px solid var(--gb-border);
}

.gb-auth-otp-modal__eyebrow,
.gb-auth-otp-modal__brand {
    display: flex;
    align-items: center;
}

.gb-auth-otp-modal__eyebrow {
    color: var(--gb-primary);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.gb-auth-otp-modal__eyebrow i {
    margin-right: 8px;
}

.gb-auth-otp-modal__brand {
    margin-top: 6px;
    color: var(--gb-muted);
    font-size: 0.78rem;
}

.gb-auth-otp-modal__close {
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--gb-muted);
    background: var(--gb-green-50);
    border: 1px solid var(--gb-green-100);
    border-radius: 12px;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.gb-auth-otp-modal__close:hover,
.gb-auth-otp-modal__close:focus {
    color: var(--gb-primary-hover);
    background: var(--gb-green-100);
    border-color: var(--gb-green-200);
}

.gb-auth-otp-modal__body {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    padding: 28px 32px 30px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.gb-auth-otp-modal .gb-auth-otp {
    margin: 0;
    padding: 0;
    border: 0;
    animation: none;
}

.gb-auth-otp-modal .gb-auth-otp__icon {
    margin-bottom: 14px;
}

.gb-auth-otp-modal .gb-auth-otp__heading h3 {
    font-size: 1.42rem;
}

.gb-auth-otp-modal .gb-auth-otp__heading p {
    max-width: 410px;
    font-size: 0.88rem;
}

.gb-auth-otp-modal__footer {
    display: flex;
    align-items: center;
    padding: 16px 32px 20px;
    color: var(--gb-muted);
    font-size: 0.75rem;
    line-height: 1.5;
    background: #FBFDFC;
    border-top: 1px solid var(--gb-border);
}

.gb-auth-otp-modal__footer i {
    margin-right: 9px;
    color: var(--gb-primary);
}

.gb-auth-otp {
    margin-top: 32px;
    padding-top: 30px;
    border-top: 1px solid var(--gb-border);
    animation: gb-auth-rise 240ms ease-out both;
}

.gb-auth-otp__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    color: var(--gb-primary);
    font-size: 1.15rem;
    background: var(--gb-green-50);
    border: 1px solid var(--gb-green-100);
    border-radius: 13px;
}

.gb-auth-otp__heading {
    margin-bottom: 20px;
}

.gb-auth-otp__heading h3 {
    margin: 0;
    color: var(--gb-ink);
    font-size: 1.25rem;
    font-weight: 600;
}

.gb-auth-otp__heading p {
    margin: 7px 0 0;
    color: var(--gb-muted);
    font-size: 0.84rem;
    line-height: 1.55;
}

.gb-auth-otp__input {
    text-align: center;
    font-size: 1.35rem !important;
    font-weight: 600;
    letter-spacing: 0.38em;
}

.gb-auth-otp__info {
    min-height: 24px;
    margin-top: 13px;
    color: var(--gb-muted);
    font-size: 0.79rem;
    line-height: 1.55;
}

.gb-auth-otp__info a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--gb-primary);
    font-weight: 600;
}

.gb-auth-otp__timer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    margin: 3px 0 16px;
    color: var(--gb-muted);
    font-size: 0.81rem;
}

.gb-auth-otp__timer {
    color: var(--gb-ink);
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.gb-auth-card__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding-top: 22px;
    color: #718077;
    font-size: 0.75rem;
    text-align: center;
    border-top: 1px solid var(--gb-border);
}

.gb-auth-mobile-company-link {
    display: none;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    color: var(--gb-primary);
    font-size: 0.82rem;
    font-weight: 600;
    background: var(--gb-green-50);
    border: 1px solid var(--gb-green-100);
    border-radius: 10px;
}

.gb-auth-mobile-company-link:hover {
    color: var(--gb-primary-hover);
    background: var(--gb-green-100);
    border-color: var(--gb-green-200);
}

.gb-auth-card__back {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: -14px 0 20px;
    color: var(--gb-primary);
    font-size: 0.82rem;
    font-weight: 600;
}

.gb-auth-card__back i {
    margin-right: 8px;
    font-size: 0.74rem;
}

.gb-auth-info {
    margin: 0 0 26px;
    padding: 18px 20px;
    color: var(--gb-muted);
    font-size: 0.83rem;
    line-height: 1.65;
    background: var(--gb-green-50);
    border: 1px solid var(--gb-green-100);
    border-radius: 14px;
}

.gb-auth-info--neutral {
    background: #F8FAF9;
    border-color: var(--gb-border);
}

.gb-auth-info__title {
    display: flex;
    align-items: center;
    margin: 0 0 8px;
    color: var(--gb-ink);
    font-size: 0.9rem;
    font-weight: 600;
}

.gb-auth-info__title i {
    margin-right: 9px;
    color: var(--gb-primary);
}

.gb-auth-info p {
    margin: 0;
}

.gb-auth-info ul {
    margin: 10px 0 0;
    padding-left: 20px;
}

.gb-auth-info li + li {
    margin-top: 6px;
}

.gb-auth-info__action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gb-green-100);
}

.gb-auth-info__action span {
    color: var(--gb-muted);
    font-size: 0.8rem;
}

.gb-auth-page .btn.btn-outline-primary {
    min-height: 44px;
    color: var(--gb-primary);
    background: var(--gb-surface);
    border-color: var(--gb-green-200);
    border-radius: 10px;
}

.gb-auth-page .btn.btn-outline-primary:hover,
.gb-auth-page .btn.btn-outline-primary:focus {
    color: var(--gb-surface);
    background: var(--gb-primary);
    border-color: var(--gb-primary);
}

.gb-auth-page .btn.btn-light-primary {
    min-height: 44px;
    color: var(--gb-primary);
    background: var(--gb-green-50);
    border-color: var(--gb-green-100);
    border-radius: 10px;
}

.gb-auth-page .btn.btn-light-primary:hover,
.gb-auth-page .btn.btn-light-primary:focus {
    color: var(--gb-primary-hover);
    background: var(--gb-green-100);
    border-color: var(--gb-green-200);
}

.gb-auth-password-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.gb-auth-password-grid .gb-auth-field {
    min-width: 0;
}

.gb-auth-password-meter {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

.gb-auth-password-meter > div {
    height: 5px;
    margin: 0 !important;
    border-radius: 999px !important;
}

.gb-auth-password-hint {
    margin: -4px 0 24px;
    color: var(--gb-muted);
    font-size: 0.78rem;
    line-height: 1.55;
}

.gb-auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--gb-muted);
    background: transparent;
    border: 0;
    border-radius: 9px;
    transform: translateY(-50%);
}

.gb-auth-password-toggle:hover,
.gb-auth-password-toggle:focus {
    color: var(--gb-primary);
    background: var(--gb-green-50);
}

.gb-auth-password-toggle i {
    font-size: 1.2rem;
}

.gb-auth-password--toggle .form-control {
    padding-right: 58px;
}

.gb-auth-page .form-text {
    color: var(--gb-muted);
    font-size: 0.76rem;
    line-height: 1.55;
}

.gb-auth-page .text-success.form-text {
    color: #15803D !important;
}

.gb-auth-security-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 24px;
    color: var(--gb-muted);
    font-size: 0.78rem;
    line-height: 1.55;
}

.gb-auth-security-note i {
    margin-top: 2px;
    color: var(--gb-primary);
}

.gb-auth-card__footer-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    color: var(--gb-primary);
    font-size: 0.82rem;
    font-weight: 600;
}

.gb-auth-page .swal2-popup .btn.btn-primary {
    min-width: 96px;
}

@keyframes gb-auth-rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gb-auth-circuit-pulse {
    0%,
    100% {
        opacity: 0.42;
        box-shadow: 0 0 0 5px rgba(132, 204, 22, 0.045), 0 0 16px rgba(132, 204, 22, 0.18);
        transform: scale(0.82);
    }

    42%,
    58% {
        opacity: 1;
        box-shadow: 0 0 0 12px rgba(132, 204, 22, 0.1), 0 0 42px rgba(132, 204, 22, 0.48);
        transform: scale(1.08);
    }
}

@media (min-width: 992px) {
    .gb-auth-brand {
        position: sticky;
        top: 0;
        align-self: start;
        height: 100vh;
        height: 100dvh;
    }
}

@media (min-width: 992px) and (max-height: 899px) {
    .gb-auth-brand {
        padding: 32px clamp(32px, 4vw, 56px);
    }

    .gb-auth-brand__logo {
        width: 220px;
    }

    .gb-auth-brand__content {
        padding: 32px 0;
    }

    .gb-auth-brand h1 {
        font-size: clamp(2.1rem, 3.4vw, 3.2rem);
        line-height: 1.1;
    }

    .gb-auth-brand__content > p {
        margin-top: 16px;
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .gb-auth-brand__capabilities {
        margin-top: 22px;
    }

    .gb-auth-brand__footer {
        padding-top: 16px;
    }
}

@media (max-width: 1199.98px) {
    .gb-auth-layout {
        grid-template-columns: minmax(380px, 44fr) minmax(0, 56fr);
    }

    .gb-auth-brand {
        padding: 40px;
    }

    .gb-auth-brand h1 {
        font-size: clamp(2.4rem, 4vw, 3.5rem);
    }
}

@media (max-width: 991.98px) {
    .gb-auth-layout {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        min-height: 100dvh;
        overflow: visible;
    }

    .gb-auth-brand {
        flex: 0 0 auto;
        min-height: 260px;
        padding: 28px clamp(28px, 7vw, 64px) 32px;
    }

    .gb-auth-brand__logo {
        width: 210px;
    }

    .gb-auth-brand__content {
        width: min(100%, 680px);
        margin: 42px 0 0;
        padding: 0;
    }

    .gb-auth-brand__eyebrow {
        margin-bottom: 10px;
        font-size: 0.7rem;
    }

    .gb-auth-brand h1 {
        font-size: clamp(1.9rem, 5vw, 2.7rem);
        line-height: 1.15;
    }

    .gb-auth-brand__content > p {
        margin-top: 12px;
        font-size: 0.93rem;
        line-height: 1.55;
    }

    .gb-auth-brand__capabilities,
    .gb-auth-brand__footer {
        display: none;
    }

    .gb-auth-brand__motif {
        right: -55px;
        bottom: -85px;
        width: 310px;
        min-width: 0;
        opacity: 0.05;
    }

    .gb-auth-form-panel {
        flex: 1 0 auto;
        align-items: flex-start;
        padding: 40px 28px 48px;
    }

    .gb-auth-card {
        width: min(100%, 560px);
    }

    .gb-auth-mobile-company-link {
        display: inline-flex;
        align-items: center;
    }
}

@media (max-width: 575.98px) {
    .gb-auth-brand {
        min-height: 225px;
        padding: 22px 20px 26px;
    }

    .gb-auth-brand__logo {
        width: 180px;
    }

    .gb-auth-brand__content {
        margin-top: 28px;
    }

    .gb-auth-brand__eyebrow {
        margin-bottom: 8px;
        font-size: 0.62rem;
        letter-spacing: 0.1em;
    }

    .gb-auth-brand h1 {
        max-width: 340px;
        font-size: clamp(1.62rem, 7vw, 2rem);
    }

    .gb-auth-brand__content > p {
        max-width: 350px;
        margin-top: 9px;
        font-size: 0.81rem;
        line-height: 1.48;
    }

    .gb-auth-brand::after {
        right: 26px;
        bottom: 26px;
    }

    .gb-auth-form-panel {
        display: block;
        padding: 0;
        background: var(--gb-surface);
    }

    .gb-auth-card {
        width: 100%;
        padding: 34px 20px 28px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .gb-auth-card__header {
        margin-bottom: 28px;
    }

    .gb-auth-card h2 {
        font-size: 1.7rem;
    }

    .gb-auth-card__header p {
        font-size: 0.86rem;
    }

    .gb-auth-password-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .gb-auth-info {
        padding: 16px;
    }

    .gb-auth-info__action {
        align-items: stretch;
        flex-direction: column;
    }

    .gb-auth-field {
        margin-bottom: 19px;
    }

    .gb-auth-page .form-control,
    .gb-auth-page .btn.btn-primary {
        min-height: 54px;
    }

    .gb-auth-otp {
        margin-top: 28px;
        padding-top: 26px;
    }

    .gb-auth-otp-modal {
        padding: 0;
    }

    .gb-auth-otp-modal .modal-dialog {
        min-height: 0;
        margin: 0;
    }

    .gb-auth-otp-modal .modal-content {
        max-height: 100%;
        border-radius: 0;
    }

    .gb-auth-otp-modal__header {
        padding: 24px 20px 16px;
    }

    .gb-auth-otp-modal__body {
        align-items: flex-start;
        padding: 24px 20px 26px;
    }

    .gb-auth-otp-modal__footer {
        padding: 14px 20px 18px;
    }
}

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

    .gb-auth-brand::after {
        opacity: 1;
        transform: none;
        animation: none !important;
    }
}
