.books-auth {
    max-width: 600px;
    margin: 60px auto;
    padding: 0 20px;
}

.books-auth__tabs {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 40px;
}

.books-auth__tab {
    flex: 1;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    background: #f5f5f5;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.books-auth__tab--active {
    background: #008B8B;
    color: #fff;
}

.books-auth__tab:hover:not(.books-auth__tab--active) {
    background: #e0e0e0;
}

.books-auth__form {
    display: none;
}

.books-auth__form--active {
    display: block;
}

.books-auth__field {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
    transition: border-color 0.3s;
}

.books-auth__field:focus-within {
    border-color: #008B8B;
    background: #fff;
}

.books-auth__icon {
    padding: 0 16px;
    color: #999;
    font-size: 20px;
}

.books-auth__field input {
    flex: 1;
    padding: 16px 0;
    border: none;
    background: transparent;
    font-size: 15px;
    outline: none;
}

.books-auth__field input::placeholder {
    color: #999;
}

.books-auth__toggle-pwd {
    padding: 0 16px;
    border: none;
    background: transparent;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
}

.books-auth__toggle-pwd:hover {
    color: #666;
}

.books-auth__toggle-pwd .dashicons {
    font-size: 20px;
}

.books-auth__copy-pwd {
    height: 34px;
    margin-right: 6px;
    padding: 0 10px;
    border: 1px solid #cfd7d7;
    border-radius: 6px;
    background: #fff;
    color: #006f6f;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.books-auth__copy-pwd:hover:not(:disabled) {
    border-color: #008B8B;
    background: #eef8f8;
}

.books-auth__copy-pwd:disabled {
    color: #999;
    border-color: #ddd;
    background: #f5f5f5;
    cursor: not-allowed;
}

.books-auth__options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.books-auth__remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.books-auth__remember input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.books-auth__forgot {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.books-auth__forgot:hover {
    color: #008B8B;
}

.books-auth__submit {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #111;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.books-auth__submit:hover {
    background: #333;
}

.books-auth__submit:disabled {
    background: #999;
    cursor: not-allowed;
}

.books-auth__submit--secondary {
    margin-top: 12px;
    background: #fff;
    color: #111;
    border: 1px solid #111;
}

.books-auth__submit--secondary:hover {
    background: #f6f6f6;
}

.books-auth__submit--secondary.loading::after {
    border-color: #111;
    border-top-color: transparent;
}

.books-auth__verify-actions {
    margin-top: 6px;
}

.books-auth__field--code input {
    letter-spacing: 2px;
}

.books-auth__suggestions {
    margin: 6px 0 18px;
}

.books-auth__suggest-btn {
    width: 100%;
    border: 1px dashed #008B8B;
    background: #eef8f8;
    color: #006f6f;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.books-auth__suggest-btn:hover {
    background: #dff2f2;
}

.books-auth__suggest-btn:disabled {
    border-style: solid;
    background: #f3f3f3;
    color: #9a9a9a;
    cursor: not-allowed;
}

.books-auth__suggest-tip {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: #666;
    text-align: center;
}

.books-auth__terms {
    margin-top: 20px;
    font-size: 13px;
    color: #666;
    text-align: center;
    line-height: 1.6;
}

.books-auth__terms a {
    color: #008B8B;
    text-decoration: none;
}

.books-auth__terms a:hover {
    text-decoration: underline;
}

.books-auth__forgot-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
    text-align: center;
}

#books-forgot-form .books-auth__forgot-step2 {
    display: none;
    margin-top: 14px;
}

#books-forgot-form.books-auth__forgot-form--step2 .books-auth__forgot-step2 {
    display: block;
}

#books-forgot-form.books-auth__forgot-form--step2 #books-forgot-send-code {
    margin-bottom: 8px;
}

.books-auth__back-to-login {
    display: block;
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #666;
    text-decoration: none;
}

.books-auth__back-to-login:hover {
    color: #008B8B;
}

.books-auth__messages {
    margin-bottom: 20px;
}

.books-auth__message {
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 10px;
}

.books-auth__message--success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.books-auth__message--error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.books-auth-logged-in {
    max-width: 400px;
    margin: 60px auto;
    text-align: center;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 8px;
}

.books-auth-logged-in p {
    font-size: 16px;
    color: #666;
    margin: 0 0 24px;
}

.books-auth-btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    margin: 0 8px;
    transition: all 0.2s;
}

.books-auth-btn {
    background: #111;
    color: #fff;
}

.books-auth-btn:hover {
    background: #333;
    color: #fff;
}

.books-auth-btn--outline {
    background: transparent;
    color: #111;
    border: 1px solid #111;
}

.books-auth-btn--outline:hover {
    background: #111;
    color: #fff;
}

/* Loading spinner */
.books-auth__submit.loading {
    position: relative;
    color: transparent;
}

.books-auth__submit.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Hide page title on login page */
.page-template-default.page-id-login .wp-block-post-title,
body.page-id-login .entry-title,
body.page-id-login h1.wp-block-post-title,
.page-id-70 .wp-block-post-title,
.page-id-70 h1.entry-title,
body.page-id-70 h1,
body[class*="page-id-70"] h1.wp-block-post-title {
    display: none !important;
}

/* Hide poster slider and cards on login page */
body.page-id-70 .books-poster-slider,
body.page-id-70 .bhs-cards,
body.page-id-70 .books-home-cards,
body[class*="page-id-70"] .books-poster-slider,
body[class*="page-id-70"] .bhs-cards,
body[class*="page-id-70"] .books-home-cards,
.page-slug-login .books-poster-slider,
.page-slug-login .bhs-cards,
.page-slug-login .books-home-cards {
    display: none !important;
}

@media (max-width: 600px) {
    .books-auth {
        margin: 40px auto;
    }
    
    .books-auth__tabs {
        margin-bottom: 30px;
    }
    
    .books-auth__tab {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .books-auth__options {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

/* Shared v2 auth UI, based on the isolated preview template. */
.books-auth-shell .books-auth--desktop-v2 {
    display: none;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--legacy {
    display: none;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 {
    display: block;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2,
.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 *,
.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 *::before,
.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 *::after {
    box-sizing: border-box;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 {
    max-width: 480px;
    margin: 24px auto;
    padding: 28px 24px 32px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(17, 24, 39, 0.06);
    color: #1f2937;
    line-height: 1.5;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 0;
    border-bottom: 1.5px solid #e5e7eb;
    border-radius: 0;
    overflow: visible;
    margin-bottom: 22px;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__tab {
    padding: 12px 0;
    border: 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -1.5px;
    background: none;
    color: #6b7280;
    font-size: 14.5px;
    font-weight: 600;
    transition: color .15s, border-color .15s;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__tab:hover {
    background: none;
    color: #1f2937;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__tab--active {
    background: none;
    color: #0b7a70;
    border-bottom-color: #0f9d8f;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__messages:empty {
    display: none;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__message {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 14px;
    line-height: 1.45;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__message--success {
    background: #ecfdf5;
    color: #065f46;
    border-color: rgba(15, 143, 91, .2);
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__message--error {
    background: #fef2f2;
    color: #991b1b;
    border-color: rgba(220, 38, 38, .2);
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__field {
    display: block;
    margin-bottom: 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__field:focus-within {
    border-color: transparent;
    background: transparent;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__field-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 6px;
    gap: 8px;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__label {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__hint {
    font-size: 12px;
    color: #9ca3af;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__input {
    display: flex;
    align-items: stretch;
    min-height: 44px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    transition: border-color .15s, box-shadow .15s;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__input:hover {
    border-color: #d1d5db;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__input:focus-within {
    border-color: #0f9d8f;
    box-shadow: 0 0 0 3px rgba(15, 157, 143, 0.15);
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__icon.dashicons {
    display: grid;
    place-items: center;
    width: 38px;
    height: auto;
    padding: 0;
    color: #9ca3af;
    flex-shrink: 0;
    font-size: 16px;
    line-height: 1;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__input:focus-within .books-auth__icon {
    color: #0b7a70;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__input input {
    flex: 1;
    min-width: 0;
    padding: 11px 4px 11px 0;
    border: none;
    outline: none;
    background: transparent;
    color: #111827;
    font-size: 16px;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__input input::placeholder {
    color: #9ca3af;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__inline,
.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__copy-pwd,
.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__toggle-pwd {
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border: none;
    background: none;
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: color .15s;
    white-space: nowrap;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__copy-pwd {
    align-self: stretch;
    justify-content: center;
    flex: 0 0 72px;
    width: 72px;
    min-height: 44px;
    height: auto;
    margin: 0;
    line-height: 1;
    text-align: center;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__copy-pwd.is-copied {
    color: #0b7a70;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__inline:hover:not([disabled]),
.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__copy-pwd:hover:not([disabled]),
.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__toggle-pwd:hover:not([disabled]) {
    color: #0b7a70;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__inline[disabled],
.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__copy-pwd[disabled] {
    color: #d1d5db;
    cursor: not-allowed;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__copy-pwd + .books-auth__toggle-pwd {
    padding-left: 0;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__toggle-pwd .dashicons {
    display: none !important;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__suggestions {
    margin: 0 0 16px;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__suggest-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin: 0 0 8px;
    padding: 10px 14px;
    background: #fef2f5;
    border: 1px dashed rgba(15, 157, 143, 0.45);
    border-radius: 10px;
    color: #0b7a70;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__suggest-btn:hover:not([disabled]) {
    background: #0f9d8f;
    color: #fff;
    border-style: solid;
    border-color: #0f9d8f;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__suggest-btn[disabled] {
    opacity: .55;
    cursor: not-allowed;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__suggest-tip {
    margin: 0;
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    line-height: 1.5;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__contraction {
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap;
    letter-spacing: 0;
    word-spacing: 0;
    font-kerning: normal;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__apostrophe {
    display: inline-block;
    margin-right: -0.08em;
    letter-spacing: 0;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__suggest-tip code {
    background: #f3f4f6;
    padding: 1px 5px;
    border-radius: 3px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4px 0 18px;
    font-size: 13.5px;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4b5563;
    cursor: pointer;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__remember input {
    width: 16px;
    height: 16px;
    accent-color: #0f9d8f;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__forgot {
    color: #0b7a70;
    text-decoration: none;
    font-weight: 500;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__forgot:hover {
    text-decoration: underline;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__submit {
    width: 100%;
    padding: 12px 18px;
    background: #0f9d8f;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__submit:hover {
    background: #0b7a70;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__submit.loading {
    opacity: .8;
    cursor: wait;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__submit--secondary {
    background: #fff;
    color: #0b7a70;
    border: 1.5px solid rgba(15, 157, 143, 0.4);
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__submit--secondary:hover {
    background: #fef2f5;
    border-color: #0f9d8f;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__verify-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 0;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__forgot-text {
    margin: 0 0 14px;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__terms {
    margin: 14px 0 0;
    color: #9ca3af;
    font-size: 12px;
    text-align: center;
    line-height: 1.55;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__terms a {
    color: #0b7a70;
    text-decoration: none;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__terms a:hover {
    text-decoration: underline;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__back-to-login {
    display: inline-block;
    margin-top: 18px;
    color: #6b7280;
    font-size: 13px;
    text-decoration: none;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__back-to-login:hover {
    color: #0b7a70;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 #books-forgot-form .books-auth__forgot-step2 {
    display: none;
}

.books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 #books-forgot-form.books-auth__forgot-form--step2 .books-auth__forgot-step2 {
    display: block;
}

@media (max-width: 768px) {
    .books-auth-shell {
        width: 100%;
        padding: 0 14px;
        box-sizing: border-box; /* prb-auth-fit 2026-10-06: width plus padding overflowed the screen by 28px */
    }

    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 {
        width: 100%;
        max-width: 440px;
        margin: 16px auto 28px;
        padding: 20px 16px 22px;
        border-radius: 16px;
        box-shadow: 0 8px 28px rgba(17, 24, 39, 0.08);
    }

    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__tabs {
        margin-bottom: 18px;
    }

    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__tab {
        padding: 11px 4px;
        font-size: 13.5px;
    }

    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__field {
        margin-bottom: 13px;
    }

    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__field-row {
        align-items: flex-start;
        margin-bottom: 5px;
    }

    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__label {
        font-size: 12.5px;
    }

    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__hint {
        font-size: 11.5px;
        text-align: right;
    }

    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__input {
        min-height: 46px;
        border-radius: 12px;
    }

    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__icon.dashicons {
        width: 34px;
        font-size: 15px;
    }

    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__input input {
        padding: 11px 2px 11px 0;
        font-size: 16px;
    }

    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__inline,
    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__copy-pwd,
    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__toggle-pwd {
        padding: 0 9px;
        font-size: 12px;
    }

    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__copy-pwd + .books-auth__toggle-pwd {
        padding-left: 0;
    }

    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__copy-pwd {
        flex-basis: 64px;
        width: 64px;
    }

    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__suggestions {
        margin-bottom: 14px;
    }

    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__suggest-btn {
        padding: 10px 12px;
        font-size: 12.5px;
        line-height: 1.35;
    }

    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__suggest-tip {
        font-size: 11.5px;
        line-height: 1.45;
    }

    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin: 2px 0 16px;
        font-size: 13px;
    }

    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__submit {
        min-height: 46px;
        padding: 11px 14px;
        border-radius: 12px;
        font-size: 14px;
    }

    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__verify-actions {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__forgot-text {
        margin-bottom: 13px;
        font-size: 12.5px;
    }

    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__terms {
        font-size: 11.5px;
    }

    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__back-to-login {
        margin-top: 16px;
        font-size: 12.5px;
    }
}

@media (max-width: 380px) {
    .books-auth-shell {
        padding: 0 10px;
    }

    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 {
        padding: 18px 14px 20px;
    }

    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__inline,
    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__copy-pwd,
    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__toggle-pwd {
        padding: 0 7px;
    }

    .books-auth-shell.books-auth-shell--desktop .books-auth--desktop-v2 .books-auth__copy-pwd {
        flex-basis: 56px;
        width: 56px;
    }
}

@media (min-width: 769px) {
    .books-auth--reset {
        max-width: 480px;
        margin: 24px auto;
        padding: 28px 24px 32px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(17, 24, 39, 0.06);
    }

    .books-auth--reset .books-auth__tabs {
        border: 0;
        border-bottom: 1.5px solid #e5e7eb;
        border-radius: 0;
        overflow: visible;
        margin-bottom: 22px;
    }

    .books-auth--reset .books-auth__tab--active {
        background: none;
        color: #0b7a70;
        border-bottom: 2px solid #0f9d8f;
    }

    .books-auth--reset .books-auth__submit {
        background: #0f9d8f;
        border-radius: 10px;
    }

    .books-auth--reset .books-auth__submit:hover {
        background: #0b7a70;
    }
}

/* prb-auth-fit 2026-10-06: same type as the rest of the store, instead of the theme's serif on labels and small print */
.books-auth-shell, .books-auth-shell input, .books-auth-shell button, .books-auth-shell select, .books-auth-shell textarea, .books-auth-shell label {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.books-auth-shell .books-auth__label { font-weight: 600; }

/* prb-auth-reset-signedin 2026-10-28: the show/hide button is the word "Show" / "Hide" on every password field (no eye icon) */
.books-auth__toggle-pwd .books-auth__inline-text {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    white-space: nowrap;
}

.books-auth__toggle-pwd:hover .books-auth__inline-text {
    color: #c85a7a;
}
