.auth-header { border-bottom: 3px solid #ed171f !important; background: #fff; box-shadow: 0 2px 16px rgba(31, 41, 55, .06); }
.auth-header .c-header-wrap { max-width: 300px; }
.auth-page {
    min-height: calc(100vh - 90px);
    padding: 52px 16px 80px;
    background: #f6f7f9;
    color: #303740;
}
.auth-page .container { width: 100%; max-width: 560px; padding: 0; }
.auth-page .row { margin: 0; }
.auth-page .auth-page__column { float: none; width: 100%; padding: 0; margin: 0; }
.auth-page .c-checkout {
    overflow: hidden;
    border: 1px solid #e7e9ed;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 52px rgba(27, 36, 48, .08);
}
.auth-page .c-checkout__container { padding: 38px 42px 40px; }
.auth-page .c-checkout h1 {
    margin: 0 0 8px;
    color: #292f36;
    font-size: 31px;
    font-weight: 750;
    line-height: 1.2;
    text-align: left;
}
.auth-page .auth-page__intro { margin: 0 0 26px; color: #69727d; font-size: 15px; line-height: 1.55; }
.auth-page .standardControl { margin-bottom: 20px; }
.auth-page .standardControl .indicator label { display: block; margin-bottom: 8px; color: #333b45; font-size: 14px; font-weight: 700; }
.auth-page .standardControl .control input,
.auth-page .standardControl .control .form-control {
    width: 100%;
    min-height: 52px;
    padding: 12px 15px;
    border: 1px solid #d8dde3;
    border-radius: 11px;
    background: #fff;
    color: #303740;
    font-size: 16px !important;
    box-shadow: none;
}
.auth-page .standardControl .control input:focus,
.auth-page .standardControl .control .form-control:focus { outline: 3px solid rgba(237, 23, 31, .13); border-color: #d9272f; }
.auth-page .actions { float: none; width: 100%; padding: 0; margin: 22px 0 0; }
.auth-page .actions .o-btn { width: 100%; min-height: 54px; padding: 14px 18px; border: 0; border-radius: 11px; background: #ed171f; color: #fff; font-size: 16px; font-weight: 700; }
.auth-page .actions .o-btn:hover { background: #cc111a; }
.auth-page a { color: #b9161c; }
.auth-page a:hover { color: #8d1117; }
.auth-page .auth-page__switch { margin: 26px 0 0; color: #616a74; font-size: 14px; text-align: center; }
.auth-page .termsAndConditionsText { margin: 28px 0 0; color: #77808a; font-size: 12px; line-height: 1.6; text-align: center; }
.auth-page .alert { padding: 12px 14px !important; border-radius: 9px; font-size: 14px; }
.auth-page .auth-page__remember { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0 20px; }
.auth-page .auth-page__remember label { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: #616a74; font-size: 14px; }
.auth-page .auth-page__remember input { margin: 0; accent-color: #ed171f; }
.auth-page .auth-page__remember a { font-size: 14px; font-weight: 600; }
/* Keep provider controls the same size; Google retains its official SDK rendering. */
.auth-page .social-sign-in { display: flex !important; flex-direction: column; align-items: center; gap: 14px !important; margin: 0 0 24px !important; }
.auth-page .social-sign-in > .customGPlusSignIn,
.auth-page .social-sign-in > .apple-sign-in,
.auth-page .social-sign-in > #googleSignInButton { box-sizing: border-box; width: 100% !important; max-width: 400px; height: 40px; min-height: 40px !important; flex: 0 0 40px; box-shadow: 0 5px 12px rgba(27, 36, 48, .10); }
.auth-page .social-sign-in .customGPlusSignIn,
.auth-page .social-sign-in .apple-sign-in { display: grid; grid-template-columns: 20px minmax(0, 1fr) 20px; align-items: center; column-gap: 12px; padding: 0 12px; border-radius: 5px; cursor: pointer; }
.auth-page .social-sign-in .customGPlusSignIn { border: 1px solid #1877f2; background: #1877f2; color: #fff; }
.auth-page .social-sign-in .customGPlusSignIn:hover { background: #166fe5; border-color: #166fe5; }
.auth-page .social-sign-in .buttonText { grid-column: 2; padding: 0 !important; text-align: center; color: inherit; font-family: Arial, sans-serif; font-size: 14px; font-weight: 600; line-height: 20px; }
.auth-page .social-sign-in .icon_fb { display: inline-flex; align-items: flex-end; justify-content: center; flex: 0 0 20px; width: 20px; height: 20px; padding: 0; overflow: hidden; border-radius: 50%; background: #fff; color: #1877f2; font-size: 19px; line-height: 1; }
.auth-page .social-sign-in .apple-sign-in { border: 1px solid #000; background: #000; color: #fff; }
.auth-page .social-sign-in .apple-sign-in:hover { background: #202020; border-color: #202020; }
.auth-page .apple-sign-in .fa { flex: 0 0 20px; width: 20px; font-size: 23px; line-height: 1; text-align: center; }
.auth-page .social-sign-in .customGPlusSignIn:focus-visible,
.auth-page .social-sign-in .apple-sign-in:focus-visible { outline: 3px solid #5869c9; outline-offset: 3px; }
.auth-page .social-sign-in .customGPlusSignIn:disabled,
.auth-page .social-sign-in .apple-sign-in:disabled { opacity: .6; cursor: wait; }
.auth-page #googleSignInButton { display: flex; justify-content: center; border-radius: 4px; }
.auth-page .auth-page__divider { display: flex; align-items: center; gap: 14px; margin: 0 0 23px; color: #858d96; font-size: 13px; text-align: center; }
.auth-page .auth-page__divider::before, .auth-page .auth-page__divider::after { content: ''; flex: 1; height: 1px; background: #e3e6e9; }
.auth-page .auth-page__processing { margin-top: 20px; padding: 14px; border-radius: 11px; background: #f2f4f6; color: #505a65; font-weight: 700; text-align: center; }
@media (max-width: 600px) {
    .auth-page { padding: 20px 12px 40px; }
    .auth-page .c-checkout { border-radius: 16px; }
    .auth-page .c-checkout__container { padding: 28px 22px 32px; }
    .auth-page .c-checkout h1 { font-size: 27px; }
}

.auth-page__verification {
    margin: 1.25rem 0;
    padding: 1rem;
    border: 1px solid #eadedb;
    border-radius: 12px;
    background: #fcf8f7;
}
.auth-page__verification h2 {
    margin: 0 0 .5rem;
    font-size: 1.15rem;
}
.auth-page__verification .auth-page__intro {
    margin: 0 0 .9rem;
    overflow-wrap: anywhere;
}
.auth-page__resend {
    border: 0;
    padding: .25rem 0;
    background: transparent;
    color: #a41121;
    font-weight: 600;
    text-decoration: underline;
}
.auth-page__resend:disabled {
    opacity: .6;
}

.auth-page .auth-page__verify-row {
    display: flex;
    gap: 10px;
}
.auth-page .auth-page__verify-row input {
    flex: 7 1 0;
    min-width: 0;
}
.auth-page .auth-page__verify-row .o-btn {
    flex: 3 0 0;
    min-width: 90px;
    min-height: 52px;
    margin: 0;
    padding: 0 10px;
    border: 0;
    border-radius: 11px;
    background: #e51b2b;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}
.auth-page .auth-page__verify-row .o-btn:hover:not(:disabled) { background: #bd1422; }
.auth-page .auth-page__verify-row .o-btn:disabled { opacity: .65; }
.auth-page__email-feedback { margin: 10px 0 0; color: #a41121; }
.auth-page__email-feedback a { color: inherit; text-decoration: underline; }
.auth-page__email-feedback.is-verified { color: #236840; }
