body.oauthpress-native-route {
    margin: 0;
    padding: 0;
    overflow: hidden;
    min-height: 100dvh;
}

.oauthpress-native-shell,
.oauthpress-native-shell *,
.oauthpress-native-shell *::before,
.oauthpress-native-shell *::after {
    box-sizing: border-box;
}

.oauthpress-native-shell form,
.oauthpress-native-shell fieldset,
.oauthpress-native-shell legend,
.oauthpress-native-shell label,
.oauthpress-native-shell input,
.oauthpress-native-shell select,
.oauthpress-native-shell textarea,
.oauthpress-native-shell button {
    margin: 0;
    font-family: inherit !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.oauthpress-native-shell {
    height: 100dvh;
    min-height: 100dvh;
    width: 100%;
    box-sizing: border-box;
    background: var(--opnf-bg, #111827);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(14px, 2.2vh, 24px) 16px;
    position: relative;
    overflow: hidden;
    --opnf-label: color-mix(in srgb, var(--opnf-text, #ffffff) 92%, var(--opnf-bg, #111827) 8%);
    --opnf-muted: color-mix(in srgb, var(--opnf-text, #ffffff) 66%, var(--opnf-bg, #111827) 34%);
    --opnf-placeholder: color-mix(in srgb, var(--opnf-text, #ffffff) 46%, var(--opnf-bg, #111827) 54%);
    --opnf-field-border: color-mix(in srgb, var(--opnf-text, #ffffff) 34%, transparent);
    --opnf-focus-ring: color-mix(in srgb, var(--opnf-accent, #9cf5ff) 34%, transparent);
    --opnf-card-bg-default: color-mix(in srgb, var(--opnf-bg, #111827) 84%, #ffffff 16%);
    --opnf-card-border-default: color-mix(in srgb, var(--opnf-text, #ffffff) 24%, transparent);
    --opnf-card-radius-default: 18px;
    --opnf-card-padding-default: clamp(16px, 2.1vw, 24px);
}

.oauthpress-native-card {
    width: min(100%, 500px);
    box-sizing: border-box;
    background: var(--opnf-card-bg, var(--opnf-card-bg-default));
    border: 1px solid var(--opnf-card-border, var(--opnf-card-border-default));
    border-radius: var(--opnf-card-radius, var(--opnf-card-radius-default));
    padding: var(--opnf-card-padding, var(--opnf-card-padding-default));
    box-shadow: 0 16px 38px color-mix(in srgb, var(--opnf-bg, #111827) 28%, transparent);
    max-height: calc(100dvh - 30px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: var(--opnf-field-border, rgba(255, 255, 255, 0.24)) transparent;
}

.oauthpress-native-card::-webkit-scrollbar {
    width: 8px;
}

.oauthpress-native-card::-webkit-scrollbar-track {
    background: transparent;
}

.oauthpress-native-card::-webkit-scrollbar-thumb {
    background: var(--opnf-field-border, rgba(255, 255, 255, 0.24));
    border-radius: 999px;
}

.oauthpress-native-shell.oauthpress-native-shell--embedded {
    height: auto;
    min-height: 0;
    display: block;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    overflow: visible;
    background: transparent;
}

.oauthpress-native-shell.oauthpress-native-shell--embedded .oauthpress-native-card {
    width: 100%;
    max-width: 100%;
    max-height: none;
    overflow: visible;
    padding: clamp(14px, 1.35vw, 20px);
    border-radius: 12px;
    box-shadow: none;
}

.oauthpress-native-shell.oauthpress-native-shell--embedded .oauthpress-native-logo-wrap {
    justify-content: flex-start;
    margin: 0 0 10px;
}

.oauthpress-native-shell.oauthpress-native-shell--embedded .oauthpress-native-logo {
    width: 56px !important;
    max-width: 56px !important;
}

.oauthpress-native-shell.oauthpress-native-shell--embedded .oauthpress-native-title {
    margin: 0 0 12px;
    font-size: clamp(24px, 3.2vw, 32px);
    line-height: 1.16;
    letter-spacing: -0.01em;
}

.oauthpress-native-shell.oauthpress-native-shell--embedded .oauthpress-native-heading {
    margin: 0 0 10px;
    gap: 10px;
}

.oauthpress-native-shell.oauthpress-native-shell--embedded .oauthpress-native-subtitle,
.oauthpress-native-shell.oauthpress-native-shell--embedded .oauthpress-native-description {
    margin: 0 0 14px;
    font-size: 14px;
    opacity: 0.82;
}

.oauthpress-native-shell.oauthpress-native-shell--embedded .oauthpress-native-form {
    gap: 10px;
}

.oauthpress-native-shell.oauthpress-native-shell--embedded .oauthpress-native-tabs,
.oauthpress-native-shell.oauthpress-native-shell--embedded .oauthpress-native-auth-tabs {
    margin: 0 0 10px;
    gap: 12px;
}

.oauthpress-native-shell.oauthpress-native-shell--embedded .oauthpress-native-tab,
.oauthpress-native-shell.oauthpress-native-shell--embedded .oauthpress-native-auth-tab {
    font-size: 14px;
    padding-bottom: 6px;
}

.oauthpress-native-shell.oauthpress-native-shell--embedded .oauthpress-native-back {
    width: 32px;
    height: 32px;
}

.oauthpress-native-shell.oauthpress-native-shell--embedded .oauthpress-native-protected {
    position: static;
    width: max-content;
    margin: 14px 0 0 auto;
}

.oauthpress-native-logo-wrap {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    margin: 0 0 12px;
    z-index: 1;
    pointer-events: none;
}

.oauthpress-native-logo {
    width: 88px !important;
    height: auto !important;
    max-width: 88px !important;
    max-height: none !important;
    display: inline-block;
    object-fit: contain;
}

.oauthpress-native-title {
    margin: 0 0 30px;
    color: var(--opnf-title, #fff);
    font-size: clamp(34px, 5.8vw, 58px);
    line-height: 1.03;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.oauthpress-native-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
}

.oauthpress-native-heading .oauthpress-native-title {
    margin: 0;
}

.oauthpress-native-subtitle,
.oauthpress-native-description {
    margin: 0 0 18px;
    color: var(--opnf-text, #fff);
    opacity: 0.72;
    font-size: 13px;
}

.oauthpress-native-banner {
    border-radius: 10px;
    border: 1px solid var(--opnf-field-border, rgba(255, 255, 255, 0.24));
    background: var(--opnf-field-bg, rgba(255, 255, 255, 0.08));
    color: var(--opnf-text, #fff);
    padding: 11px 12px;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 2px;
}

.oauthpress-native-banner-info {
    border-color: var(--opnf-field-border, rgba(255, 255, 255, 0.24));
    background: var(--opnf-field-bg, rgba(255, 255, 255, 0.08));
}

.oauthpress-native-banner-success {
    border-color: var(--opnf-field-border, rgba(255, 255, 255, 0.24));
    background: var(--opnf-field-bg, rgba(255, 255, 255, 0.08));
}

.oauthpress-native-banner-warning {
    border-color: var(--opnf-field-border, rgba(255, 255, 255, 0.24));
    background: var(--opnf-field-bg, rgba(255, 255, 255, 0.08));
}

.oauthpress-native-banner-danger {
    border-color: var(--opnf-field-border, rgba(255, 255, 255, 0.24));
    background: var(--opnf-field-bg, rgba(255, 255, 255, 0.08));
}

.oauthpress-native-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.oauthpress-native-tabs {
    display: flex;
    gap: 16px;
    margin: 0 0 14px;
}

.oauthpress-native-tab {
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    color: var(--opnf-text, #fff);
    opacity: 0.58;
    font-size: 15px;
    font-weight: 800;
    padding: 0 1px 8px;
    cursor: pointer;
}

.oauthpress-native-shell .oauthpress-native-tab,
.oauthpress-native-shell .oauthpress-native-auth-tab,
.oauthpress-native-shell .oauthpress-native-submit,
.oauthpress-native-shell .oauthpress-native-social-btn,
.oauthpress-native-shell .oauthpress-native-send-otp,
.oauthpress-native-shell .oauthpress-native-send-social-otp,
.oauthpress-native-shell .oauthpress-native-password-toggle,
.oauthpress-native-shell .oauthpress-native-password-rules-toggle {
    font-family: inherit !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.oauthpress-native-tab.is-active {
    opacity: 1;
    border-bottom-color: var(--opnf-text, #fff);
    font-weight: 800;
}

.oauthpress-native-label {
    color: var(--opnf-label, #fff);
    font-size: 13px;
    font-weight: 800;
    margin-top: 0;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.oauthpress-native-input {
    width: 100%;
    display: block;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border: 1px solid var(--opnf-field-border, rgba(255, 255, 255, 0.24));
    background: var(--opnf-field-bg, rgba(255, 255, 255, 0.08));
    border-radius: 11px;
    color: var(--opnf-text, #fff);
    caret-color: var(--opnf-accent, #9cf5ff);
    font-size: 15px;
    padding: 11px 12px;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
    appearance: none;
    -webkit-appearance: none;
}

.oauthpress-native-shell .oauthpress-native-input,
.oauthpress-native-shell input.oauthpress-native-input,
.oauthpress-native-shell textarea.oauthpress-native-input,
.oauthpress-native-shell select.oauthpress-native-input {
    color: var(--opnf-text, #fff) !important;
    -webkit-text-fill-color: var(--opnf-text, #fff) !important;
    opacity: 1;
}

.oauthpress-native-password-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.oauthpress-native-password-wrap {
    position: relative;
}

.oauthpress-native-password-wrap .oauthpress-native-input {
    padding-right: 44px;
}

.oauthpress-native-password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: 0;
    padding: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--opnf-text, #fff);
    opacity: 0.8;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    -webkit-appearance: none;
}

.oauthpress-native-password-toggle:hover {
    opacity: 1;
    background: var(--opnf-field-bg, rgba(255, 255, 255, 0.08));
}

.oauthpress-native-password-wrap:focus-within .oauthpress-native-password-toggle {
    opacity: 1;
    color: var(--opnf-accent, #9cf5ff);
}

.oauthpress-native-password-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.oauthpress-native-password-rules-toggle {
    align-self: flex-start;
    border: 0;
    background: transparent;
    color: var(--opnf-accent, #9cf5ff);
    font-size: 12px;
    font-weight: 700;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
}

.oauthpress-native-password-rules {
    border: 1px solid var(--opnf-field-border, rgba(255, 255, 255, 0.24));
    border-radius: 10px;
    padding: 8px 10px;
    background: var(--opnf-field-bg, rgba(255, 255, 255, 0.08));
}

.oauthpress-native-password-rules-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.oauthpress-native-password-rule {
    font-size: 12px;
    color: var(--opnf-text, #fff);
    opacity: 0.72;
}

.oauthpress-native-password-rule.is-met {
    color: #86efac;
    opacity: 1;
}

.oauthpress-native-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid var(--opnf-field-border, rgba(255, 255, 255, 0.24));
    color: var(--opnf-text, #fff);
    text-decoration: none;
    margin: 0;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.oauthpress-native-back:hover {
    transform: translateX(-2px);
    border-color: var(--opnf-accent, #9cf5ff);
}

.oauthpress-native-back-icon {
    font-size: 18px;
    line-height: 1;
}

.oauthpress-native-auth-tabs {
    display: flex;
    gap: 18px;
    margin: 6px 0 16px;
}

.oauthpress-native-auth-tab {
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    color: var(--opnf-text, #fff);
    opacity: 0.55;
    font-size: 15px;
    font-weight: 800;
    padding: 0 1px 8px;
    cursor: pointer;
}

.oauthpress-native-auth-tab.is-active {
    opacity: 1;
    border-bottom-color: var(--opnf-text, #fff);
}

.oauthpress-native-auth-panel {
    display: none;
}

.oauthpress-native-auth-panel.is-active {
    display: block;
}

.oauthpress-native-otp-instruction {
    margin: 0 0 8px;
    color: var(--opnf-text, #fff);
    opacity: 0.82;
    font-size: 13px;
    line-height: 1.45;
}

.oauthpress-native-checks {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 2px 0 10px;
}

.oauthpress-native-check {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--opnf-text, #fff);
    opacity: 0.7;
    font-size: 12px;
}

.oauthpress-native-check.is-done {
    opacity: 1;
}

.oauthpress-native-check-icon {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 1px solid var(--opnf-field-border, rgba(255, 255, 255, 0.24));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    line-height: 1;
    color: transparent;
    background: var(--opnf-field-bg, rgba(255, 255, 255, 0.08));
}

.oauthpress-native-check.is-done .oauthpress-native-check-icon {
    color: var(--opnf-btn-text, #fff);
    border-color: var(--opnf-primary, #1c2434);
    background: var(--opnf-primary, #1c2434);
}

.oauthpress-native-send-otp,
.oauthpress-native-send-social-otp {
    margin-top: 10px;
    background: transparent;
    border: 0;
    padding: 0;
    color: var(--opnf-accent, #9cf5ff) !important;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    appearance: none;
    -webkit-appearance: none;
}

.oauthpress-native-send-otp.is-disabled,
.oauthpress-native-send-otp:disabled,
.oauthpress-native-send-social-otp.is-disabled,
.oauthpress-native-send-social-otp:disabled {
    opacity: 0.6;
    cursor: default;
    text-decoration: none;
    color: var(--opnf-muted, #cbd5e1) !important;
}

.oauthpress-native-otp-status {
    margin-top: 6px;
    min-height: 16px;
    color: var(--opnf-text, #fff);
    opacity: 0.84;
    font-size: 12px;
}

.oauthpress-native-otp-status.is-error {
    color: #fecaca;
    opacity: 1;
}

.oauthpress-native-otp-status.is-success {
    color: #86efac;
    opacity: 1;
}

.oauthpress-native-verify-copy {
    margin: 0 0 10px;
    color: var(--opnf-text, #fff);
    opacity: 0.9;
    font-size: 14px;
    line-height: 1.5;
}

.oauthpress-native-verify-subcopy {
    margin: 0 0 18px;
    color: var(--opnf-text, #fff);
    opacity: 0.74;
    font-size: 13px;
    line-height: 1.45;
}

.oauthpress-native-verify-status {
    margin-top: 8px;
    min-height: 18px;
    color: var(--opnf-text, #fff);
    opacity: 0.9;
    font-size: 13px;
}

.oauthpress-native-verify-status.is-error,
.oauthpress-native-verify-status-error {
    color: #fecaca;
}

.oauthpress-native-verify-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--opnf-accent, #9cf5ff);
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
}

.oauthpress-native-verify-action {
    text-decoration: none;
    text-align: center;
}

.oauthpress-native-shell a.oauthpress-native-forgot,
.oauthpress-native-shell a.oauthpress-native-forgot:visited {
    display: inline-block;
    margin-top: 4px;
    color: var(--opnf-link, var(--opnf-muted, #cbd5e1)) !important;
    opacity: 1;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
}

.oauthpress-native-shell a.oauthpress-native-forgot:hover,
.oauthpress-native-shell a.oauthpress-native-forgot:focus {
    color: var(--opnf-link, var(--opnf-label, #fff)) !important;
    text-decoration: underline !important;
}

.oauthpress-native-social {
    margin-top: 12px;
}

.oauthpress-native-social-sep {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 12px;
    color: var(--opnf-text, #fff);
}

.oauthpress-native-social-sep::before,
.oauthpress-native-social-sep::after {
    content: "";
    flex: 1;
    height: 1px;
    background: currentColor;
    opacity: 0.2;
}

.oauthpress-native-social-sep span {
    color: var(--opnf-text, #fff);
    opacity: 0.92;
    font-size: 12px;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.oauthpress-native-social-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.oauthpress-native-google-one-tap {
    display: none;
}

.oauthpress-native-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    width: 100%;
    min-height: 50px;
    border-radius: 11px;
    border: 1px solid var(--opnf-field-border, rgba(255, 255, 255, 0.24)) !important;
    background: var(--opnf-field-bg, rgba(255, 255, 255, 0.08)) !important;
    color: var(--opnf-text, #fff) !important;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none !important;
    padding: 12px 14px 12px 48px;
    box-sizing: border-box;
    box-shadow: none;
    transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
    appearance: none;
    -webkit-appearance: none;
}

.oauthpress-native-social-btn:hover {
    text-decoration: none !important;
    background: var(--opnf-field-bg, rgba(255, 255, 255, 0.08)) !important;
    border-color: var(--opnf-accent, #9cf5ff) !important;
    color: var(--opnf-text, #fff) !important;
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.oauthpress-native-social-btn:focus-visible {
    outline: none;
    border-color: var(--opnf-accent, #9cf5ff);
    box-shadow: 0 0 0 3px var(--opnf-focus-ring, rgba(156, 245, 255, 0.28));
}

.oauthpress-native-social-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.oauthpress-native-social-btn .dashicons {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    width: 18px;
    height: 18px;
    line-height: 18px;
}

.oauthpress-native-social-btn-label {
    width: 100%;
    text-align: center;
    line-height: 1.2;
}

.oauthpress-native-textarea {
    min-height: 92px;
    resize: vertical;
}

.oauthpress-native-input::placeholder {
    color: var(--opnf-placeholder, rgba(255, 255, 255, 0.56));
    opacity: 1;
}

.oauthpress-native-shell .oauthpress-native-input::placeholder {
    color: var(--opnf-placeholder, rgba(255, 255, 255, 0.56)) !important;
    -webkit-text-fill-color: var(--opnf-placeholder, rgba(255, 255, 255, 0.56));
}

.oauthpress-native-input:focus,
.oauthpress-native-input:focus-visible {
    outline: none;
    border-color: var(--opnf-accent, #9cf5ff);
    box-shadow: 0 0 0 3px rgba(156, 245, 255, 0.28);
    box-shadow: 0 0 0 3px var(--opnf-focus-ring, rgba(156, 245, 255, 0.28));
    box-shadow: 0 0 0 3px var(--opnf-focus-ring, rgba(156, 245, 255, 0.28)), inset 0 0 0 1px color-mix(in srgb, var(--opnf-accent, #9cf5ff) 56%, transparent);
    background: var(--opnf-field-bg, rgba(255, 255, 255, 0.08));
}

.oauthpress-native-input:-webkit-autofill,
.oauthpress-native-input:-webkit-autofill:hover,
.oauthpress-native-input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--opnf-text, #fff) !important;
    -webkit-box-shadow: 0 0 0 1000px var(--opnf-field-bg, rgba(255, 255, 255, 0.08)) inset;
    box-shadow: 0 0 0 1000px var(--opnf-field-bg, rgba(255, 255, 255, 0.08)) inset;
    transition: background-color 9999s ease-out;
    text-shadow: 0 0 0 var(--opnf-text, #fff);
}

.oauthpress-native-input.is-invalid {
    border-color: #ff4d75 !important;
    box-shadow: 0 0 0 2px rgba(255, 77, 117, 0.22) !important;
}

.oauthpress-native-input-locked,
.oauthpress-native-input[data-locked-identifier="1"] {
    opacity: 0.9;
    cursor: not-allowed;
}

.oauthpress-native-input.is-attention {
    animation: oauthpress-native-field-shake 360ms ease-in-out 2;
}

.oauthpress-native-remember {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--opnf-label, #fff);
    font-size: 14px;
    font-weight: 600;
    margin-top: 0;
    user-select: none;
    cursor: pointer;
    position: relative;
}

.oauthpress-native-remember input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.oauthpress-native-remember-box {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1px solid var(--opnf-field-border, rgba(255, 255, 255, 0.24));
    background: var(--opnf-field-bg, rgba(255, 255, 255, 0.08));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: none;
}

.oauthpress-native-remember-box::after {
    content: "";
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--opnf-btn-text, #fff);
    border-bottom: 2px solid var(--opnf-btn-text, #fff);
    transform: rotate(-45deg) translateY(-1px);
    opacity: 0;
    transition: opacity 0.16s ease;
}

.oauthpress-native-remember-text {
    line-height: 1.25;
    color: var(--opnf-label, #fff);
    letter-spacing: 0.01em;
}

.oauthpress-native-remember input:checked + .oauthpress-native-remember-box {
    background: var(--opnf-primary, #1c2434);
    border-color: var(--opnf-primary, #1c2434);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--opnf-primary, #1c2434) 30%, transparent);
}

.oauthpress-native-remember input:checked + .oauthpress-native-remember-box::after {
    opacity: 1;
}

.oauthpress-native-remember input:focus-visible + .oauthpress-native-remember-box {
    box-shadow: 0 0 0 3px rgba(156, 245, 255, 0.36);
    border-color: var(--opnf-accent, #9cf5ff);
}

.oauthpress-native-fieldset {
    border: 0;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.oauthpress-native-choice {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--opnf-label, #fff);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.oauthpress-native-choice input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: var(--opnf-accent, #9cf5ff);
}

.oauthpress-native-choice--checkbox {
    position: relative;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.oauthpress-native-choice--checkbox input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.oauthpress-native-choice-box {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1px solid var(--opnf-field-border, rgba(255, 255, 255, 0.24));
    background: var(--opnf-field-bg, rgba(255, 255, 255, 0.08));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: none;
}

.oauthpress-native-choice-box::after {
    content: "";
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--opnf-btn-text, #fff);
    border-bottom: 2px solid var(--opnf-btn-text, #fff);
    transform: rotate(-45deg) translateY(-1px);
    opacity: 0;
    transition: opacity 0.16s ease;
}

.oauthpress-native-choice--checkbox input[type="checkbox"]:checked + .oauthpress-native-choice-box {
    background: var(--opnf-primary, #1c2434);
    border-color: var(--opnf-primary, #1c2434);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--opnf-primary, #1c2434) 30%, transparent);
}

.oauthpress-native-choice--checkbox input[type="checkbox"]:checked + .oauthpress-native-choice-box::after {
    opacity: 1;
}

.oauthpress-native-choice--checkbox input[type="checkbox"]:focus-visible + .oauthpress-native-choice-box {
    box-shadow: 0 0 0 3px rgba(156, 245, 255, 0.36);
    border-color: var(--opnf-accent, #9cf5ff);
}

.oauthpress-native-choice--checkbox input[type="checkbox"].is-invalid + .oauthpress-native-choice-box {
    border-color: #ff4d75 !important;
    box-shadow: 0 0 0 2px rgba(255, 77, 117, 0.22) !important;
}

.oauthpress-native-choice--checkbox input[type="checkbox"].is-attention + .oauthpress-native-choice-box {
    animation: oauthpress-native-field-shake 360ms ease-in-out 2;
}

.oauthpress-native-choice-text {
    line-height: 1.3;
    color: var(--opnf-label, #fff);
}

.oauthpress-native-terms a {
    color: var(--opnf-accent, #9cf5ff);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.oauthpress-native-terms a:hover {
    opacity: 0.9;
}

.oauthpress-native-form-break {
    border: 0;
    border-top: 1px solid var(--opnf-field-border, rgba(255, 255, 255, 0.24));
    margin: 6px 0;
}

.oauthpress-native-step-title {
    margin: 2px 0 0;
    color: var(--opnf-title, #fff);
    font-size: 16px;
    font-weight: 800;
}

.oauthpress-native-submit,
.oauthpress-native-submit:link,
.oauthpress-native-submit:visited {
    width: 100%;
    display: block;
    box-sizing: border-box;
    margin-top: 8px;
    border: 1px solid var(--opnf-primary, #1c2434) !important;
    background: var(--opnf-primary, #1c2434) !important;
    color: var(--opnf-btn-text, #fff) !important;
    padding: 12px 14px;
    border-radius: 11px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none !important;
    text-align: center;
    line-height: 1.2;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
    transition: filter 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.oauthpress-native-submit:not(:disabled):not(.is-disabled):hover {
    color: var(--opnf-btn-text, #fff) !important;
    background: var(--opnf-primary, #1c2434) !important;
    border-color: var(--opnf-primary, #1c2434) !important;
    filter: brightness(1.05) saturate(1.04);
    transform: translateY(-1px);
    box-shadow: none;
    outline: none;
}

.oauthpress-native-submit:not(:disabled):not(.is-disabled):focus-visible {
    color: var(--opnf-btn-text, #fff) !important;
    background: var(--opnf-primary, #1c2434) !important;
    border-color: var(--opnf-primary, #1c2434) !important;
    filter: none;
    transform: none;
    box-shadow: 0 0 0 3px var(--opnf-focus-ring, rgba(156, 245, 255, 0.28));
    outline: none;
}

.oauthpress-native-submit:disabled,
.oauthpress-native-submit.is-disabled {
    opacity: 0.58;
    cursor: not-allowed;
    filter: none;
    transform: none;
    box-shadow: none;
    background: var(--opnf-primary, #1c2434) !important;
    border-color: var(--opnf-primary, #1c2434) !important;
    color: var(--opnf-btn-text, #fff) !important;
}

.oauthpress-native-submit.is-loading {
    opacity: 0.88;
    cursor: progress;
    filter: none;
    transform: none;
}

.oauthpress-native-submit.oauthpress-native-submit-secondary,
.oauthpress-native-submit.oauthpress-native-submit-secondary:link,
.oauthpress-native-submit.oauthpress-native-submit-secondary:visited {
    background: var(--opnf-field-bg, rgba(255, 255, 255, 0.08)) !important;
    border-color: var(--opnf-field-border, rgba(255, 255, 255, 0.24)) !important;
    color: var(--opnf-text, #fff) !important;
    box-shadow: none;
}

.oauthpress-native-submit.oauthpress-native-submit-secondary:not(:disabled):not(.is-disabled):hover {
    filter: none;
    transform: translateY(-1px);
    background: var(--opnf-field-bg, rgba(255, 255, 255, 0.08)) !important;
    border-color: var(--opnf-accent, #9cf5ff) !important;
    box-shadow: none;
    filter: brightness(1.03);
}

.oauthpress-native-submit.oauthpress-native-submit-secondary:not(:disabled):not(.is-disabled):focus-visible {
    transform: none;
    background: var(--opnf-field-bg, rgba(255, 255, 255, 0.08)) !important;
    border-color: var(--opnf-accent, #9cf5ff) !important;
    box-shadow: 0 0 0 3px var(--opnf-focus-ring, rgba(156, 245, 255, 0.28));
}

.oauthpress-native-form.is-submitting {
    pointer-events: none;
}

.oauthpress-native-shell.is-submitting .oauthpress-native-card {
    transition: opacity 0.16s ease;
    opacity: 0.98;
}

.oauthpress-native-captcha-wrap {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.oauthpress-native-error {
    background: var(--opnf-field-bg, rgba(255, 255, 255, 0.08));
    border: 1px solid var(--opnf-field-border, rgba(255, 255, 255, 0.24));
    color: var(--opnf-text, #fff);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 10px;
}

.oauthpress-native-protected {
    position: fixed;
    right: 18px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    border-radius: 999px;
    background: var(--opnf-card-bg, var(--opnf-card-bg-default));
    backdrop-filter: blur(12px);
    border: 1px solid var(--opnf-card-border, var(--opnf-card-border-default));
    box-shadow: none;
    color: var(--opnf-text, #fff);
    font-size: 14px;
    font-weight: 700;
    z-index: 999;
    text-decoration: none;
}

.oauthpress-native-protected img {
    height: 20px;
    width: 20px;
    display: block;
}

.oauthpress-native-protected:hover {
    text-decoration: none;
    filter: brightness(1.04);
}

@keyframes oauthpress-native-field-shake {
    0% {
        transform: translateX(0);
    }
    20% {
        transform: translateX(-4px);
    }
    40% {
        transform: translateX(4px);
    }
    60% {
        transform: translateX(-3px);
    }
    80% {
        transform: translateX(3px);
    }
    100% {
        transform: translateX(0);
    }
}

@media (max-width: 1024px) {
    .oauthpress-native-title {
        font-size: clamp(32px, 6.7vw, 50px);
    }

    .oauthpress-native-card {
        width: min(100%, 480px);
    }
}

@media (max-width: 720px) {
    body.oauthpress-native-route {
        overflow: auto;
    }

    .oauthpress-native-shell {
        min-height: 100dvh;
        height: auto;
        align-items: center;
        justify-content: center;
        overflow-y: auto;
        overflow-x: hidden;
        padding: max(10px, env(safe-area-inset-top)) 10px max(14px, env(safe-area-inset-bottom));
    }

    .oauthpress-native-card {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        max-height: calc(100dvh - max(10px, env(safe-area-inset-top)) - max(14px, env(safe-area-inset-bottom)) - 6px);
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 0;
        scroll-padding-bottom: 96px;
    }

    .oauthpress-native-form {
        gap: 10px;
    }

    .oauthpress-native-logo-wrap {
        margin-bottom: 8px;
    }

    .oauthpress-native-logo {
        width: 74px !important;
        height: auto !important;
        max-width: 74px !important;
    }

    .oauthpress-native-title {
        margin-bottom: 18px;
        font-size: clamp(30px, 10vw, 44px);
    }

    .oauthpress-native-heading {
        gap: 10px;
        margin: 0 0 14px;
    }

    .oauthpress-native-back {
        width: 30px;
        height: 30px;
    }

    .oauthpress-native-input,
    .oauthpress-native-submit {
        min-height: 46px;
    }

    .oauthpress-native-submit {
        font-size: 17px;
    }

    .oauthpress-native-forgot {
        margin-top: 6px;
    }

    .oauthpress-native-protected {
        left: auto;
        right: 10px;
        transform: none;
        bottom: 10px;
        padding: 9px 13px;
        font-size: 12px;
    }

    .oauthpress-native-protected img {
        height: 18px;
        width: 18px;
    }

    .oauthpress-native-captcha-wrap {
        transform: none;
        width: 100%;
        justify-content: center;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .oauthpress-native-captcha-wrap .cf-turnstile,
    .oauthpress-native-captcha-wrap .g-recaptcha {
        max-width: 100%;
        margin: 0 auto;
    }

    .oauthpress-native-captcha-wrap > * {
        max-width: 100%;
    }

    .oauthpress-native-captcha-wrap iframe {
        max-width: 100% !important;
    }

    .oauthpress-native-social-btn {
        min-height: 48px;
        padding-left: 44px;
    }

    .oauthpress-native-social-logo,
    .oauthpress-native-social-btn .dashicons {
        left: 14px;
    }
}

@media (max-width: 420px) {
    .oauthpress-native-shell {
        padding-left: 8px;
        padding-right: 8px;
    }

    .oauthpress-native-title {
        font-size: clamp(28px, 10.8vw, 40px);
    }

    .oauthpress-native-auth-tabs,
    .oauthpress-native-tabs {
        gap: 10px;
        flex-wrap: wrap;
    }

    .oauthpress-native-auth-tab,
    .oauthpress-native-tab {
        font-size: 14px;
        padding-bottom: 6px;
    }
}
