.auth-card-icon {
    display: grid;
    place-items: center;
    width: 3.2rem;
    height: 3.2rem;
    margin: 0 auto 0.8rem;
    border-radius: 16px;
    background: rgba(169, 130, 67, 0.12);
    color: #a98243;
}

.auth-card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.auth-form {
    display: grid;
    gap: 1.15rem;
    margin-top: 1.6rem;
}

.auth-form-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
    width: 100%;
}

.auth-form-actions.is-single {
    grid-template-columns: minmax(0, 1fr);
}

.auth-form-actions .start-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    font-size: 1.05rem;
    line-height: 1;
    white-space: nowrap;
}

.start-status {
    margin: 0.8rem 0 0;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    background: rgba(169, 130, 67, 0.1);
}

.start-status.is-error {
    background: rgba(154, 79, 61, 0.1);
    color: #9a4f3d;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 1.4rem 0 0.9rem;
    color: #8a8176;
    font-size: 0.82rem;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(169, 130, 67, 0.2);
}

.auth-qr-note {
    margin: 0.85rem 0 0;
    color: #655e56;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.75;
    text-align: center;
}

.auth-qr-link-wrap {
    margin: 0.45rem 0 0;
    text-align: center;
}

.auth-qr-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.4rem;
    color: #a98243;
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
}

.auth-register-note {
    margin: 0;
    color: #655e56;
    font-size: 0.9rem;
    text-align: center;
}

.auth-register-link {
    display: inline;
    margin-top: 0;
    color: #a98243;
    font-weight: 700;
}

.auth-remember {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: -0.15rem;
    color: #3b342d;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
}

.auth-remember input {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: #a98243;
}

.auth-forgot {
    display: inline-block;
    margin-top: -0.35rem;
    color: #a98243;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.auth-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.2rem;
    text-decoration: none;
}

.auth-providers {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.4rem;
}

.auth-provider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-height: 52px;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
}

.auth-provider svg {
    width: 1.2rem;
    height: 1.2rem;
    flex: 0 0 auto;
}

.auth-provider.is-google {
    background: #fff;
    color: #171717;
    border: 1px solid rgba(23, 23, 23, 0.12);
}

.auth-provider.is-email {
    background: linear-gradient(180deg, #c39a54, #a98243);
    color: #fffaf2;
}

.phone-field.is-split {
    direction: ltr;
    flex-direction: row;
    unicode-bidi: isolate;
}

.phone-cc {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    flex: 0 0 auto;
    padding-inline-end: 0.65rem;
    margin-inline-end: 0.15rem;
    border-inline-end: 1px solid rgba(169, 130, 67, 0.22);
    color: #655e56;
    font-size: 0.92rem;
    font-weight: 700;
    white-space: nowrap;
}

.phone-cc-caret {
    font-size: 0.55rem;
    color: #8a8176;
}

.phone-field.is-split input {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
}

.phone-field.is-password {
    direction: rtl;
}

.phone-field.is-password .password-lock {
    flex: 0 0 auto;
}

.password-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.2rem;
    height: 2.2rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #a98243;
    cursor: pointer;
}

.password-toggle svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.password-toggle .icon-hide,
.password-toggle.is-on .icon-show {
    display: none;
}

.password-toggle.is-on .icon-hide {
    display: block;
}

@media (max-width: 639.98px) {
    .auth-form-actions .start-submit {
        min-height: 50px;
        font-size: 1rem;
    }

    .phone-cc {
        font-size: 0.84rem;
        gap: 0.2rem;
        padding-inline-end: 0.5rem;
    }
}

.auth-method-list {
    margin: 0 0 1rem;
    padding: 0 1.2rem 0 0;
    display: grid;
    gap: 0.4rem;
}

.auth-card .start-kind-choices {
    margin-top: 1.4rem;
}

.auth-card .start-kind-choice {
    width: 100%;
    border: 1px solid var(--start-border, rgba(169, 130, 67, 0.22));
    font: inherit;
    color: inherit;
    cursor: pointer;
}
