/*
|--------------------------------------------------------------------------
| Royal Servicess LLC — Authentication Experience V3
|--------------------------------------------------------------------------
*/

.royal-auth-shell {
    width: min(calc(100% - 36px), 1080px);
    margin: clamp(28px, 4vw, 52px) auto 64px;
}

.royal-auth-card {
    position: relative;
    display: grid;
    grid-template-columns:
        minmax(300px, 0.86fr)
        minmax(440px, 1.14fr);
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(226, 202, 148, 0.18);
    border-radius: 28px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.032),
            rgba(255, 255, 255, 0.012)
        );
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.34),
        0 12px 34px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
    isolation: isolate;
}

.royal-auth-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -180px;
    right: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(226, 202, 148, 0.075),
            rgba(226, 202, 148, 0) 68%
        );
    pointer-events: none;
}

.royal-auth-brand {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: space-between;
    gap: 34px;
    padding: clamp(34px, 4vw, 52px);
    border-right: 1px solid rgba(226, 202, 148, 0.11);
    background:
        radial-gradient(
            circle at 18% 6%,
            rgba(226, 202, 148, 0.10),
            transparent 38%
        ),
        linear-gradient(
            155deg,
            rgba(226, 202, 148, 0.045),
            rgba(255, 255, 255, 0.008) 58%,
            rgba(0, 0, 0, 0.10)
        );
}

.royal-auth-brand::after {
    content: "";
    position: absolute;
    right: 34px;
    bottom: 28px;
    width: 74px;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            rgba(226, 202, 148, 0),
            rgba(226, 202, 148, 0.52)
        );
}

.royal-auth-brand__top {
    display: grid;
    gap: 24px;
}

.royal-auth-brand__monogram {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid rgba(226, 202, 148, 0.42);
    border-radius: 16px;
    background:
        linear-gradient(
            145deg,
            rgba(226, 202, 148, 0.12),
            rgba(226, 202, 148, 0.025)
        );
    color: #e2ca94;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 12px 28px rgba(0, 0, 0, 0.18);
}

.royal-auth-brand__kicker {
    display: block;
    margin-bottom: 14px;
    color: #e2ca94;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.royal-auth-brand h2 {
    max-width: 360px;
    margin: 0;
    color: rgba(255, 255, 255, 0.96);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: clamp(2rem, 3.3vw, 3rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.royal-auth-brand h2 span {
    display: block;
    color: #e2ca94;
}

.royal-auth-brand__top p {
    max-width: 360px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.91rem;
    line-height: 1.7;
}

.royal-auth-brand__points {
    display: grid;
    gap: 7px;
}

.royal-auth-brand__point {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 13px;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.royal-auth-brand__point:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.royal-auth-brand__number {
    display: flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(226, 202, 148, 0.22);
    border-radius: 10px;
    color: #e2ca94;
    font-size: 0.67rem;
    font-weight: 750;
    letter-spacing: 0.04em;
}

.royal-auth-brand__point strong {
    display: block;
    margin: 1px 0 5px;
    color: rgba(255, 255, 255, 0.87);
    font-size: 0.82rem;
    font-weight: 650;
}

.royal-auth-brand__point small {
    display: block;
    max-width: 310px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.74rem;
    line-height: 1.55;
}

.royal-auth-brand__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: rgba(255, 255, 255, 0.34);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.royal-auth-panel {
    min-width: 0;
    padding:
        clamp(32px, 4.5vw, 54px)
        clamp(30px, 4.5vw, 58px);
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.018),
            rgba(255, 255, 255, 0.006)
        );
}

.royal-auth-panel__top {
    display: grid;
    gap: 13px;
}

.royal-auth-eyebrow {
    color: #e2ca94;
    font-size: 0.69rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.royal-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.023);
}

.royal-auth-tab {
    display: flex;
    min-height: 43px;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.78rem;
    font-weight: 650;
    text-decoration: none;
    transition:
        background 150ms ease,
        color 150ms ease,
        box-shadow 150ms ease,
        transform 150ms ease;
}

.royal-auth-tab:hover,
.royal-auth-tab:focus-visible {
    color: #e2ca94;
    outline: none;
}

.royal-auth-tab:active {
    transform: scale(0.995);
}

.royal-auth-tab.is-active {
    background:
        linear-gradient(
            180deg,
            rgba(226, 202, 148, 0.14),
            rgba(226, 202, 148, 0.075)
        );
    color: #e2ca94;
    box-shadow:
        inset 0 0 0 1px rgba(226, 202, 148, 0.23),
        0 4px 14px rgba(0, 0, 0, 0.12);
}

.royal-auth-notice {
    margin-top: 18px;
}

.royal-auth-heading {
    margin: 28px 0 22px;
}

.royal-auth-heading h1 {
    margin: 0 0 10px;
    font-size: clamp(2.45rem, 4.3vw, 3.85rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.royal-auth-card--register
.royal-auth-heading h1 {
    font-size: clamp(2.25rem, 3.8vw, 3.35rem);
}

.royal-auth-heading p {
    max-width: 530px;
    margin: 0;
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.92rem;
    line-height: 1.65;
}

.royal-social-auth-block {
    margin-bottom: 2px;
}

.royal-social-auth-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(220px, 1fr)
        );
    gap: 10px;
}

.royal-social-auth-button {
    position: relative;
    display: grid;
    grid-template-columns: 38px 1fr auto;
    min-height: 58px;
    align-items: center;
    gap: 13px;
    width: 100%;
    padding: 9px 14px 9px 10px;
    border: 1px solid rgba(226, 202, 148, 0.22);
    border-radius: 14px;
    background:
        linear-gradient(
            180deg,
            rgba(226, 202, 148, 0.07),
            rgba(255, 255, 255, 0.018)
        );
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition:
        border-color 150ms ease,
        background 150ms ease,
        transform 150ms ease,
        box-shadow 150ms ease;
}

.royal-social-auth-button:hover,
.royal-social-auth-button:focus-visible {
    border-color: rgba(226, 202, 148, 0.48);
    background:
        linear-gradient(
            180deg,
            rgba(226, 202, 148, 0.115),
            rgba(226, 202, 148, 0.035)
        );
    color: #fff;
    outline: none;
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.royal-social-auth-button:active {
    transform: scale(0.995);
}

.royal-social-auth-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(226, 202, 148, 0.30);
    border-radius: 11px;
    background: rgba(226, 202, 148, 0.09);
    color: #e2ca94;
    font-size: 0.83rem;
    font-weight: 800;
}

.royal-social-auth-copy {
    display: grid;
    gap: 1px;
    min-width: 0;
    text-align: left;
}

.royal-social-auth-copy small {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.67rem;
    font-weight: 550;
}

.royal-social-auth-copy strong {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.84rem;
    font-weight: 700;
}

.royal-social-auth-arrow {
    color: rgba(226, 202, 148, 0.72);
    font-size: 1.05rem;
    line-height: 1;
}

.royal-auth-form {
    display: grid;
    gap: 17px;
}

.royal-auth-name-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.royal-auth-panel .field {
    min-width: 0;
}

.royal-auth-panel .field label {
    display: inline-block;
    margin-bottom: 7px;
    font-size: 0.78rem;
    font-weight: 650;
}

.royal-auth-panel .field input {
    min-height: 52px;
    transition:
        border-color 150ms ease,
        box-shadow 150ms ease,
        background 150ms ease;
}

.royal-auth-panel .field input:focus {
    border-color: rgba(226, 202, 148, 0.48);
    box-shadow:
        0 0 0 3px rgba(226, 202, 148, 0.07);
}

.royal-auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.royal-auth-inline-link {
    color: #e2ca94;
    font-size: 0.74rem;
    font-weight: 650;
    text-decoration: none;
}

.royal-auth-inline-link:hover,
.royal-auth-inline-link:focus-visible {
    text-decoration: underline;
    outline: none;
}

.royal-auth-primary {
    width: 100%;
    min-height: 52px;
    margin-top: 2px;
    justify-content: center;
    text-align: center;
    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.16);
}

.royal-auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 17px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.69rem;
    text-align: center;
}

.royal-auth-divider::before,
.royal-auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(255, 255, 255, 0.075);
}

.royal-social-divider {
    margin-top: 18px;
    margin-bottom: 18px;
}

.royal-auth-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.76rem;
}

.royal-auth-footer a {
    color: #e2ca94;
    font-weight: 700;
    text-decoration: none;
}

.royal-auth-footer a:hover,
.royal-auth-footer a:focus-visible {
    text-decoration: underline;
    outline: none;
}

.royal-auth-footnote {
    max-width: 500px;
    margin: 14px auto 0;
    color: rgba(255, 255, 255, 0.36);
    font-size: 0.70rem;
    line-height: 1.55;
    text-align: center;
}

.royal-password-requirement {
    margin: 7px 0 0;
    color: rgba(255, 255, 255, 0.47);
    font-size: 0.72rem;
    line-height: 1.5;
}

.royal-password-requirement strong {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 650;
}

.royal-password-control {
    position: relative;
    width: 100%;
}

.royal-password-control > input {
    width: 100%;
    padding-right: 50px !important;
}

.royal-password-toggle {
    position: absolute;
    top: 50%;
    right: 9px;
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: rgba(255, 255, 255, 0.52);
    cursor: pointer;
    transition:
        background 140ms ease,
        color 140ms ease;
}

.royal-password-toggle:hover,
.royal-password-toggle:focus-visible {
    background: rgba(226, 202, 148, 0.09);
    color: #e2ca94;
    outline: none;
}

.royal-password-toggle svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.royal-password-strength {
    display: grid;
    gap: 7px;
    margin-top: 8px;
}

.royal-password-strength__track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.royal-password-strength__segment {
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    transition:
        background 160ms ease,
        opacity 160ms ease;
}

.royal-password-strength__label {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.68rem;
    font-weight: 600;
}

.royal-password-strength[data-level="weak"]
.royal-password-strength__segment:nth-child(1) {
    background: #d98282;
}

.royal-password-strength[data-level="good"]
.royal-password-strength__segment:nth-child(-n+2) {
    background: #e2ca94;
}

.royal-password-strength[data-level="strong"]
.royal-password-strength__segment {
    background: #80cda0;
}

.royal-password-strength[data-level="weak"]
.royal-password-strength__label {
    color: #e4a0a0;
}

.royal-password-strength[data-level="good"]
.royal-password-strength__label {
    color: #e2ca94;
}

.royal-password-strength[data-level="strong"]
.royal-password-strength__label {
    color: #91d9ad;
}

.royal-recovery-prompt {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 15px;
    border: 1px solid rgba(226, 202, 148, 0.34);
    border-radius: 14px;
    background: rgba(226, 202, 148, 0.075);
    animation:
        royalRecoveryAttention 420ms ease-in-out 2;
}

.royal-recovery-prompt strong {
    color: #e2ca94;
}

.royal-recovery-prompt p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.79rem;
    line-height: 1.5;
}

@keyframes royalRecoveryAttention {
    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-3px);
    }

    75% {
        transform: translateX(3px);
    }
}

@media (max-width: 960px) {
    .royal-auth-shell {
        width: min(calc(100% - 30px), 820px);
    }

    .royal-auth-card {
        grid-template-columns: 1fr;
    }

    .royal-auth-brand {
        display: grid;
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 30px 34px;
        border-right: 0;
        border-bottom:
            1px solid rgba(226, 202, 148, 0.11);
    }

    .royal-auth-brand__top {
        grid-template-columns: auto 1fr;
        align-items: start;
    }

    .royal-auth-brand h2 {
        max-width: 560px;
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .royal-auth-brand__top p {
        max-width: 600px;
        margin-top: 12px;
    }

    .royal-auth-brand__points {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .royal-auth-brand__point {
        grid-template-columns: 1fr;
        gap: 9px;
        padding: 13px;
        border: 1px solid rgba(255, 255, 255, 0.065);
        border-radius: 13px;
        background: rgba(255, 255, 255, 0.012);
    }

    .royal-auth-brand__point:last-child {
        border-bottom:
            1px solid rgba(255, 255, 255, 0.065);
    }

    .royal-auth-brand__footer {
        display: none;
    }
}

@media (max-width: 720px) {
    .royal-auth-shell {
        width: min(calc(100% - 22px), 620px);
        margin: 14px auto 30px;
    }

    .royal-auth-card {
        border-radius: 20px;
    }

    .royal-auth-brand {
        display: none;
    }

    .royal-auth-panel {
        padding: 24px 18px 26px;
    }

    .royal-auth-heading {
        margin: 24px 0 20px;
    }

    .royal-auth-heading h1,
    .royal-auth-card--register
    .royal-auth-heading h1 {
        font-size: clamp(2.15rem, 11vw, 3rem);
    }

    .royal-auth-name-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .royal-recovery-prompt {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 460px) {
    .royal-auth-panel {
        padding-right: 15px;
        padding-left: 15px;
    }

    .royal-auth-tab {
        min-height: 41px;
        padding-right: 9px;
        padding-left: 9px;
        font-size: 0.73rem;
    }

    .royal-auth-heading p {
        font-size: 0.84rem;
    }

    .royal-social-auth-button {
        min-height: 56px;
    }

    .royal-auth-footer {
        display: grid;
        justify-items: center;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .royal-recovery-prompt {
        animation: none;
    }

    .royal-auth-tab,
    .royal-social-auth-button,
    .royal-password-toggle,
    .royal-auth-panel .field input {
        transition: none;
    }
}


/*
|--------------------------------------------------------------------------
| Auth V3.1 — Google brand treatment
|--------------------------------------------------------------------------
*/

.royal-social-auth-button--google {
    border-color: #dadce0;
    background: #ffffff;
    color: #202124;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.08),
        0 10px 28px rgba(0, 0, 0, 0.16);
}

.royal-social-auth-button--google:hover,
.royal-social-auth-button--google:focus-visible {
    border-color: #cfd2d6;
    background: #f8f9fa;
    color: #202124;
    box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.10),
        0 12px 30px rgba(0, 0, 0, 0.18);
}

.royal-social-auth-button--google:active {
    background: #f1f3f4;
}

.royal-social-auth-google-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
}

.royal-social-auth-google-icon {
    display: block;
    width: 22px;
    height: 22px;
}

.royal-social-auth-button--google
.royal-social-auth-copy small {
    color: #5f6368;
}

.royal-social-auth-button--google
.royal-social-auth-copy strong {
    color: #202124;
}

.royal-social-auth-button--google
.royal-social-auth-arrow {
    color: #5f6368;
}


/*
|--------------------------------------------------------------------------
| Auth V3.2 — Desktop / tablet width refinement
|--------------------------------------------------------------------------
|
| Mobile styling remains unchanged.
|
*/

@media (min-width: 1101px) {
    .royal-auth-shell {
        width: min(
            calc(100% - 64px),
            1180px
        );
        margin-top: clamp(
            34px,
            4vw,
            58px
        );
    }

    .royal-auth-card {
        width: 100%;
        max-width: none;
        grid-template-columns:
            minmax(360px, 0.88fr)
            minmax(560px, 1.12fr);
    }

    .royal-auth-brand {
        padding:
            clamp(42px, 4vw, 58px)
            clamp(38px, 4vw, 54px);
    }

    .royal-auth-panel {
        padding:
            clamp(40px, 4vw, 56px)
            clamp(42px, 4.5vw, 64px);
    }

    .royal-auth-heading p {
        max-width: 560px;
    }

    .royal-auth-brand h2 {
        max-width: 390px;
    }

    .royal-auth-brand__top p {
        max-width: 390px;
    }
}


/*
|--------------------------------------------------------------------------
| Landscape tablet / compact desktop
|--------------------------------------------------------------------------
*/

@media (
    min-width: 821px
) and (
    max-width: 1100px
) {
    .royal-auth-shell {
        width: min(
            calc(100% - 32px),
            1020px
        );
        margin:
            26px
            auto
            42px;
    }

    .royal-auth-card {
        width: 100%;
        max-width: none;
        grid-template-columns:
            minmax(280px, 0.82fr)
            minmax(440px, 1.18fr);
    }

    .royal-auth-brand {
        display: flex;
        min-width: 0;
        flex-direction: column;
        justify-content: space-between;
        gap: 28px;
        padding:
            34px
            30px;
        border-right:
            1px solid rgba(
                226,
                202,
                148,
                0.11
            );
        border-bottom: 0;
    }

    .royal-auth-brand__top {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .royal-auth-brand h2 {
        max-width: 320px;
        font-size:
            clamp(
                2rem,
                4vw,
                2.6rem
            );
    }

    .royal-auth-brand__top p {
        max-width: 320px;
        margin-top: 14px;
    }

    .royal-auth-brand__points {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .royal-auth-brand__point {
        grid-template-columns:
            34px
            1fr;
        gap: 11px;
        padding:
            12px
            0;
        border: 0;
        border-top:
            1px solid rgba(
                255,
                255,
                255,
                0.07
            );
        border-radius: 0;
        background: transparent;
    }

    .royal-auth-brand__point:last-child {
        border-bottom:
            1px solid rgba(
                255,
                255,
                255,
                0.07
            );
    }

    .royal-auth-brand__footer {
        display: flex;
    }

    .royal-auth-panel {
        padding:
            34px
            32px
            38px;
    }

    .royal-auth-heading h1 {
        font-size:
            clamp(
                2.5rem,
                5vw,
                3.4rem
            );
    }

    .royal-auth-card--register
    .royal-auth-heading h1 {
        font-size:
            clamp(
                2.35rem,
                4.5vw,
                3.1rem
            );
    }
}


/*
|--------------------------------------------------------------------------
| Explicitly preserve the approved mobile treatment
|--------------------------------------------------------------------------
*/

@media (max-width: 720px) {
    .royal-auth-card {
        width: 100%;
        max-width: none;
    }
}


/*
|--------------------------------------------------------------------------
| Auth V3.3 — Compact vertical spacing
|--------------------------------------------------------------------------
| Desktop/tablet only. Mobile remains unchanged.
*/

@media (min-width: 821px) {
    .royal-auth-shell {
        margin-top: clamp(20px, 2vw, 30px);
        margin-bottom: clamp(24px, 2.2vw, 36px);
    }

    .royal-auth-brand {
        padding-top: clamp(34px, 3vw, 44px);
        padding-bottom: clamp(26px, 2.5vw, 36px);
    }

    .royal-auth-panel {
        padding-top: clamp(34px, 3vw, 42px);
        padding-bottom: clamp(28px, 2.5vw, 36px);
    }

    .royal-auth-brand__top {
        gap: 14px;
    }

    .royal-auth-brand h2 {
        margin-bottom: 10px;
        line-height: 0.96;
    }

    .royal-auth-brand__top p {
        margin-top: 0;
        line-height: 1.65;
    }

    .royal-auth-brand__points {
        gap: 2px;
        margin-top: 8px;
    }

    .royal-auth-brand__point {
        padding: 12px 0;
        min-height: auto;
    }

    .royal-auth-brand__footer {
        margin-top: 14px;
    }

    .royal-auth-heading {
        margin-bottom: 16px;
    }

    .royal-auth-heading h1 {
        margin-bottom: 10px;
        line-height: 0.94;
    }

    .royal-auth-heading p {
        margin-bottom: 0;
        line-height: 1.55;
    }

    .royal-auth-tabs {
        margin-bottom: 18px;
    }

    .royal-social-auth-grid,
    .royal-auth-social {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .royal-auth-divider,
    .royal-social-divider {
        margin: 12px 0 14px;
    }

    .royal-auth-form,
    form.royal-auth-form {
        gap: 14px;
    }

    .royal-auth-row {
        gap: 14px;
        margin-bottom: 0;
    }

    .royal-auth-field {
        margin-bottom: 0;
    }

    .royal-auth-field label {
        margin-bottom: 6px;
    }

    .royal-auth-field input,
    .royal-auth-field select,
    .royal-auth-field textarea {
        min-height: 44px;
    }

    .royal-password-strength,
    .royal-auth-password-strength {
        margin-top: 6px;
        margin-bottom: 0;
    }

    .royal-auth-actions {
        margin-top: 6px;
        gap: 12px;
    }

    .royal-auth-submit {
        min-height: 48px;
    }

    .royal-auth-footer {
        margin-top: 12px;
        gap: 8px;
    }

    .royal-auth-footnote {
        margin-top: 8px;
        line-height: 1.5;
    }
}

@media (min-width: 1101px) {
    .royal-auth-card {
        min-height: auto;
    }

    .royal-auth-brand {
        padding-top: 38px;
        padding-bottom: 30px;
    }

    .royal-auth-panel {
        padding-top: 38px;
        padding-bottom: 30px;
    }

    .royal-auth-heading {
        margin-bottom: 18px;
    }

    .royal-auth-form,
    form.royal-auth-form {
        gap: 15px;
    }
}


/*
|--------------------------------------------------------------------------
| Auth V3.4 — Placeholder-first premium fields
|--------------------------------------------------------------------------
|
| Labels remain in the DOM for accessibility but are visually hidden.
|
*/

.royal-auth-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.royal-auth-panel .field input::placeholder {
    color: rgba(255, 255, 255, 0.42);
    opacity: 1;
    font-weight: 500;
    letter-spacing: 0.005em;
    transition:
        color 150ms ease,
        opacity 150ms ease;
}

.royal-auth-panel .field input:focus::placeholder {
    color: rgba(255, 255, 255, 0.27);
}

.royal-auth-panel .field input {
    padding-top: 0;
    padding-bottom: 0;
}

.royal-auth-panel
.field
input[type="tel"] {
    font-variant-numeric: tabular-nums;
}
