/* cache-buster: 124 */
a:hover {
    text-decoration: underline;
}

.auth-shell {
    min-height: calc(100vh - 10px);
    justify-content: center;
}

.auth-column {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.auth-card {
    border-radius: 16px;
    border: 1px solid #e6eaf0;
    box-shadow: 0 10px 30px rgba(18, 32, 60, 0.08);
    margin: 16px 0;
}

.auth-form {
    padding: 24px;
}

.auth-logo {
    width: min(210px, 70%);
    margin: 0 auto 14px;
    padding: 0;
    display: block;
}

.auth-tabs .nav-link {
    font-weight: 500;
}

.auth-main-btn,
.auth-provider-btn,
.auth-alt-toggle {
    min-height: 44px;
}

.auth-links {
    line-height: 1.35;
}

.auth-divider {
    margin: 10px 0;
}

.auth-passkey-error {
    margin-bottom: 8px;
}

/* Keep Google personalized button width consistent and avoid horizontal overflow */
.google-signin-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.google-signin-wrap > div {
    max-width: 100% !important;
}

.google-signin-wrap iframe {
    max-width: 100% !important;
}

@media (max-width: 767.98px) {
    .auth-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .auth-shell {
        min-height: auto;
    }

    .auth-form {
        padding: 16px 14px;
    }

    .auth-card {
        border-radius: 12px;
        margin: 10px 0;
    }

    .auth-logo {
        width: min(170px, 58%);
        margin-bottom: 10px;
    }

    .auth-tabs {
        margin-bottom: 12px !important;
    }

    .auth-tabs .nav-link {
        padding: 0.45rem 0.7rem;
        font-size: 0.98rem;
    }

    .auth-main-btn,
    .auth-provider-btn,
    .auth-alt-toggle {
        min-height: 42px;
    }

    .auth-divider {
        margin: 8px 0;
    }

    .auth-links {
        margin-bottom: 10px !important;
        font-size: 0.9rem;
    }
}

/* Quick auth icon row (mobile) */
.auth-quick-icons {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 40px 0 8px;
}
.auth-quick-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    border: 1.5px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #fff;
    transition: transform 0.1s, box-shadow 0.15s;
    padding: 0;
}
.auth-quick-icon:active {
    transform: scale(0.93);
}
.auth-quick-icon--apple {
    font-size: 26px;
    color: #000;
}
.auth-quick-icon--passkey {
    color: #198754;
    font-size: 24px;
}
