/**
 * TVStartup OTT Platform - Frontend Registration Styles
 *
 * Styles for the [ts_ott_register_page] shortcode.
 * 3-step registration form with step indicator, payment integration,
 * and cache-safe dual-state rendering.
 *
 * @package Tvstartup_OTT_Platform
 * @since   1.14.0
 */

/* ==========================================================================
   CSS Variables
   ========================================================================== */

.ts-ott-register-wrapper {
    --ts-ott-primary: #2271b1;
    --ts-ott-primary-hover: #135e96;
    --ts-ott-primary-light: rgba(34, 113, 177, 0.08);
    --ts-ott-success: #00a32a;
    --ts-ott-success-bg: rgba(0, 163, 42, 0.08);
    --ts-ott-error: #d63638;
    --ts-ott-error-bg: rgba(214, 54, 56, 0.08);
    --ts-ott-warning: #dba617;
    --ts-ott-warning-bg: rgba(219, 166, 23, 0.08);
    --ts-ott-text: #1d2327;
    --ts-ott-text-light: #646970;
    --ts-ott-border: #c3c4c7;
    --ts-ott-border-light: #dcdcde;
    --ts-ott-bg: #f0f0f1;
    --ts-ott-bg-white: #ffffff;
    --ts-ott-radius: 6px;
    --ts-ott-radius-lg: 12px;
    --ts-ott-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* ==========================================================================
   Register Wrapper & Card
   ========================================================================== */

.ts-ott-register-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px 0;
    font-family: var(--ts-ott-font-family);
    line-height: 1.5;
    box-sizing: border-box;
}

.ts-ott-register-wrapper *,
.ts-ott-register-wrapper *::before,
.ts-ott-register-wrapper *::after {
    box-sizing: border-box;
}

.ts-ott-register-card {
    background: var(--ts-ott-bg-white);
    border: 1px solid var(--ts-ott-border-light);
    border-radius: var(--ts-ott-radius-lg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 520px;
    overflow: hidden;
}

/* ==========================================================================
   Register Header
   ========================================================================== */

.ts-ott-register-header {
    padding: 28px 32px 20px;
    border-bottom: 1px solid var(--ts-ott-border-light);
    background: linear-gradient(to bottom, #fafbfc, var(--ts-ott-bg-white));
}

.ts-ott-register-header h3 {
    margin: 0 0 6px 0;
    padding: 0;
    font-size: 22px;
    font-weight: 600;
    color: var(--ts-ott-text);
    line-height: 1.3;
}

.ts-ott-register-header p {
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: var(--ts-ott-text-light);
    line-height: 1.5;
}

/* ==========================================================================
   Step Indicator
   ========================================================================== */

.ts-ott-step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 32px;
    background: var(--ts-ott-bg);
    border-bottom: 1px solid var(--ts-ott-border-light);
    gap: 0;
}

.ts-ott-step {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.ts-ott-step--active {
    opacity: 1;
}

.ts-ott-step--completed {
    opacity: 0.85;
}

.ts-ott-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ts-ott-border);
    color: var(--ts-ott-bg-white);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    transition: background 0.3s ease;
}

.ts-ott-step--active .ts-ott-step-number {
    background: var(--ts-ott-primary);
}

.ts-ott-step--completed .ts-ott-step-number {
    background: var(--ts-ott-success);
}

.ts-ott-step-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ts-ott-text-light);
    transition: color 0.3s ease;
}

.ts-ott-step--active .ts-ott-step-label {
    color: var(--ts-ott-primary);
}

.ts-ott-step--completed .ts-ott-step-label {
    color: var(--ts-ott-success);
}

.ts-ott-step-connector {
    flex: 0 0 40px;
    height: 2px;
    background: var(--ts-ott-border-light);
    margin: 0 8px;
    transition: background 0.3s ease;
}

.ts-ott-step-connector.ts-ott-step-connector--completed {
    background: var(--ts-ott-success);
}

/* ==========================================================================
   Register Body
   ========================================================================== */

.ts-ott-register-body {
    padding: 28px 32px 32px;
}

/* ==========================================================================
   Messages
   ========================================================================== */

.ts-ott-register-messages {
    margin-bottom: 0;
}

.ts-ott-register-error,
.ts-ott-register-success {
    padding: 12px 16px;
    border-radius: var(--ts-ott-radius);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.ts-ott-register-error {
    background: var(--ts-ott-error-bg);
    color: var(--ts-ott-error);
    border: 1px solid rgba(214, 54, 56, 0.2);
}

.ts-ott-register-success {
    background: var(--ts-ott-success-bg);
    color: #006b1a;
    border: 1px solid rgba(0, 163, 42, 0.2);
}

/* ==========================================================================
   Form Groups
   ========================================================================== */

.ts-ott-register-form .ts-ott-form-group {
    margin-bottom: 20px;
}

.ts-ott-register-form .ts-ott-form-group:last-child {
    margin-bottom: 0;
}

.ts-ott-register-form .ts-ott-form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ts-ott-text);
}

.ts-ott-required {
    color: var(--ts-ott-error);
}

/* ==========================================================================
   Input Fields
   ========================================================================== */

.ts-ott-register-wrapper .ts-ott-form-input {
    display: block;
    width: 100%;
    padding: 10px 14px;
    font-size: 15px;
    font-family: var(--ts-ott-font-family);
    line-height: 1.5;
    color: var(--ts-ott-text);
    background-color: var(--ts-ott-bg-white);
    border: 1px solid var(--ts-ott-border);
    border-radius: var(--ts-ott-radius);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.ts-ott-register-wrapper .ts-ott-form-input:hover {
    border-color: #8c8f94;
}

.ts-ott-register-wrapper .ts-ott-form-input:focus {
    border-color: var(--ts-ott-primary);
    box-shadow: 0 0 0 3px var(--ts-ott-primary-light);
}

.ts-ott-register-wrapper .ts-ott-form-input::placeholder {
    color: #a7aaad;
}

.ts-ott-register-wrapper .ts-ott-form-input[readonly] {
    background-color: #f0f0f1;
    color: #50575e;
    cursor: not-allowed;
}

.ts-ott-register-wrapper .ts-ott-form-input.ts-ott-input-error {
    border-color: var(--ts-ott-error);
    box-shadow: 0 0 0 3px var(--ts-ott-error-bg);
}

/* ==========================================================================
   Password Field with Toggle
   ========================================================================== */

.ts-ott-register-wrapper .ts-ott-password-wrapper {
    position: relative;
    display: flex;
    align-items: stretch;
}

.ts-ott-register-wrapper .ts-ott-password-wrapper .ts-ott-form-input {
    padding-right: 48px;
}

.ts-ott-register-wrapper .ts-ott-toggle-password {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--ts-ott-text-light);
    padding: 0;
    transition: color 0.2s ease;
}

.ts-ott-register-wrapper .ts-ott-toggle-password:hover {
    color: var(--ts-ott-primary);
}

.ts-ott-register-wrapper .ts-ott-toggle-password svg {
    display: block;
}

/* ==========================================================================
   Password Strength Indicator
   ========================================================================== */

.ts-ott-password-strength {
    margin-top: 6px;
    height: 4px;
    border-radius: 2px;
    background: var(--ts-ott-border-light);
    overflow: hidden;
    transition: opacity 0.2s ease;
    opacity: 0;
}

.ts-ott-password-strength.ts-ott-strength-visible {
    opacity: 1;
}

.ts-ott-password-strength-bar {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease, background 0.3s ease;
    width: 0;
}

.ts-ott-password-strength-bar.ts-ott-strength-weak {
    width: 33%;
    background: var(--ts-ott-error);
}

.ts-ott-password-strength-bar.ts-ott-strength-medium {
    width: 66%;
    background: var(--ts-ott-warning);
}

.ts-ott-password-strength-bar.ts-ott-strength-strong {
    width: 100%;
    background: var(--ts-ott-success);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.ts-ott-register-wrapper .ts-ott-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--ts-ott-font-family);
    line-height: 1;
    border-radius: var(--ts-ott-radius);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    -webkit-appearance: none;
    appearance: none;
}

.ts-ott-register-wrapper .ts-ott-btn:focus-visible {
    outline: 2px solid var(--ts-ott-primary);
    outline-offset: 2px;
}

/* Primary Button */
.ts-ott-btn-primary {
    background: var(--ts-ott-primary);
    color: #ffffff;
}

.ts-ott-btn-primary:hover {
    background: var(--ts-ott-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(34, 113, 177, 0.3);
}

.ts-ott-btn-primary:active {
    transform: translateY(0);
    box-shadow: none;
}

.ts-ott-btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Outline Button */
.ts-ott-btn-outline {
    background: transparent;
    color: var(--ts-ott-text-light);
    border: 1px solid var(--ts-ott-border);
}

.ts-ott-btn-outline:hover {
    border-color: var(--ts-ott-primary);
    color: var(--ts-ott-primary);
    background: var(--ts-ott-primary-light);
}

/* Secondary Button */
.ts-ott-btn-secondary {
    background: var(--ts-ott-bg);
    color: var(--ts-ott-text);
    border: 1px solid var(--ts-ott-border);
    padding: 10px 16px;
    font-size: 13px;
}

.ts-ott-btn-secondary:hover {
    background: var(--ts-ott-border-light);
}

.ts-ott-btn-secondary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ==========================================================================
   Spinner
   ========================================================================== */

.ts-ott-btn-spinner {
    display: inline-flex;
    align-items: center;
}

.ts-ott-spinner-svg {
    animation: ts-ott-reg-spin 1s linear infinite;
}

@keyframes ts-ott-reg-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ts-ott-spinner-inline {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--ts-ott-border-light);
    border-top-color: var(--ts-ott-primary);
    border-radius: 50%;
    animation: ts-ott-reg-spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

/* ==========================================================================
   Step Navigation
   ========================================================================== */

.ts-ott-step-nav {
    margin-top: 28px !important;
}

.ts-ott-step-nav--dual {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.ts-ott-step-nav .ts-ott-btn-primary,
.ts-ott-step-nav .ts-ott-register-submit-btn {
    flex: 1;
    padding: 14px 24px;
    font-size: 16px;
}

.ts-ott-step-nav .ts-ott-btn-outline {
    flex: 0 0 auto;
    padding: 14px 24px;
}

/* Single next button (step 1) */
.ts-ott-step-nav:not(.ts-ott-step-nav--dual) .ts-ott-btn-primary {
    width: 100%;
}

/* ==========================================================================
   Login Link
   ========================================================================== */

.ts-ott-login-link {
    text-align: center;
    margin-top: 16px !important;
}

.ts-ott-login-link p {
    margin: 0;
    font-size: 14px;
    color: var(--ts-ott-text-light);
}

.ts-ott-login-link a,
.ts-ott-login-redirect-link {
    color: var(--ts-ott-primary);
    text-decoration: none;
    font-weight: 600;
}

.ts-ott-login-link a:hover,
.ts-ott-login-redirect-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Email Verification (OTP)
   ========================================================================== */

.ts-ott-email-verification-group {
    margin-bottom: 20px;
    padding: 16px;
    border: 1px solid var(--ts-ott-border-light);
    border-radius: var(--ts-ott-radius);
    background: #fafbfc;
}

.ts-ott-otp-send-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ts-ott-otp-status {
    font-size: 13px;
    color: var(--ts-ott-text-light);
}

.ts-ott-otp-status.ts-ott-otp-status--success {
    color: var(--ts-ott-success);
}

.ts-ott-otp-status.ts-ott-otp-status--error {
    color: var(--ts-ott-error);
}

.ts-ott-otp-verify-row {
    margin-top: 12px;
}

.ts-ott-otp-input-wrapper {
    display: flex;
    gap: 8px;
}

.ts-ott-otp-input-wrapper .ts-ott-form-input {
    flex: 1;
    letter-spacing: 4px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}

.ts-ott-otp-timer {
    margin-top: 8px;
    font-size: 12px;
    color: var(--ts-ott-text-light);
}

.ts-ott-otp-resend-btn {
    margin-top: 8px;
    background: none;
    border: none;
    color: var(--ts-ott-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-family: var(--ts-ott-font-family);
}

.ts-ott-otp-resend-btn:hover {
    text-decoration: underline;
}

.ts-ott-otp-resend-btn:disabled {
    color: var(--ts-ott-text-light);
    cursor: not-allowed;
}

.ts-ott-otp-verified-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--ts-ott-success);
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
}

.ts-ott-otp-verified-badge svg {
    flex-shrink: 0;
}

.ts-ott-otp-actions-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.ts-ott-otp-actions-row .ts-ott-otp-resend-btn {
    margin-top: 0;
}

.ts-ott-otp-change-email-btn {
    background: none;
    border: none;
    color: var(--ts-ott-accent, #4361ee);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    font-family: var(--ts-ott-font-family);
}

.ts-ott-otp-change-email-btn:hover {
    opacity: 0.8;
}

.ts-ott-otp-spam-hint {
    margin: 6px 0 0;
    font-size: 12.5px;
    color: var(--ts-ott-text-light, #6b7280);
    line-height: 1.4;
}

/* ==========================================================================
   Plan Selection
   ========================================================================== */

.ts-ott-plans-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ts-ott-plans-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    color: var(--ts-ott-text-light);
    font-size: 14px;
}

.ts-ott-plan-option {
    position: relative;
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid var(--ts-ott-border-light);
    border-radius: var(--ts-ott-radius);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ts-ott-plan-option:hover {
    border-color: var(--ts-ott-primary);
    background: var(--ts-ott-primary-light);
}

.ts-ott-plan-option.ts-ott-plan-option--selected {
    border-color: var(--ts-ott-primary);
    background: var(--ts-ott-primary-light);
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}

.ts-ott-plan-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ts-ott-plan-radio {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 2px solid var(--ts-ott-border);
    border-radius: 50%;
    margin-right: 14px;
    flex-shrink: 0;
    transition: border-color 0.2s ease;
}

.ts-ott-plan-option--selected .ts-ott-plan-radio {
    border-color: var(--ts-ott-primary);
}

.ts-ott-plan-radio-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: transparent;
    transition: background 0.2s ease;
}

.ts-ott-plan-option--selected .ts-ott-plan-radio-dot {
    background: var(--ts-ott-primary);
}

.ts-ott-plan-info {
    flex: 1;
    min-width: 0;
}

.ts-ott-plan-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--ts-ott-text);
    margin: 0;
    line-height: 1.3;
}

.ts-ott-plan-description {
    font-size: 13px;
    color: var(--ts-ott-text-light);
    margin: 2px 0 0;
    line-height: 1.4;
}

.ts-ott-plan-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--ts-ott-text);
    white-space: nowrap;
    margin-left: 12px;
}

.ts-ott-plan-price .ts-ott-plan-interval {
    font-size: 12px;
    font-weight: 400;
    color: var(--ts-ott-text-light);
}

.ts-ott-plan-price .ts-ott-plan-price-original {
    text-decoration: line-through;
    color: var(--ts-ott-text-light);
    font-size: 14px;
    font-weight: 400;
    margin-right: 4px;
}

/* Pre-selected plan (from URL param) — read-only display */
.ts-ott-plan-selected-info {
    background: var(--ts-ott-primary-light);
    border: 1px solid var(--ts-ott-primary);
    border-radius: var(--ts-ott-radius);
    padding: 16px 20px;
}

.ts-ott-plan-selected-info .ts-ott-plan-name {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--ts-ott-text);
}

.ts-ott-plan-selected-info .ts-ott-plan-description {
    margin: 0 0 8px 0;
    font-size: 13px;
    color: var(--ts-ott-text-light);
    line-height: 1.5;
}

.ts-ott-plan-selected-info .ts-ott-plan-price-display {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--ts-ott-primary);
}

.ts-ott-plan-selected-info .ts-ott-plan-price-display .ts-ott-plan-interval {
    font-size: 13px;
    font-weight: 400;
    color: var(--ts-ott-text-light);
}

.ts-ott-plans-empty {
    padding: 24px 16px;
    text-align: center;
    color: var(--ts-ott-text-light);
    font-size: 14px;
}

/* ==========================================================================
   Promo Code
   ========================================================================== */

.ts-ott-promo-wrapper {
    display: flex;
    gap: 8px;
}

.ts-ott-promo-wrapper .ts-ott-form-input {
    flex: 1;
}

.ts-ott-promo-result {
    margin-top: 8px;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: var(--ts-ott-radius);
}

.ts-ott-promo-result.ts-ott-promo-result--success {
    background: var(--ts-ott-success-bg);
    color: #006b1a;
    border: 1px solid rgba(0, 163, 42, 0.2);
}

.ts-ott-promo-result.ts-ott-promo-result--error {
    background: var(--ts-ott-error-bg);
    color: var(--ts-ott-error);
    border: 1px solid rgba(214, 54, 56, 0.2);
}

/* ==========================================================================
   Saved Cards
   ========================================================================== */

.ts-ott-saved-cards-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ts-ott-saved-card-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 2px solid var(--ts-ott-border-light);
    border-radius: var(--ts-ott-radius);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.ts-ott-saved-card-option:hover {
    border-color: var(--ts-ott-primary);
    background: var(--ts-ott-primary-light);
}

.ts-ott-saved-card-option.ts-ott-saved-card-option--selected {
    border-color: var(--ts-ott-primary);
    background: var(--ts-ott-primary-light);
}

.ts-ott-saved-card-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ts-ott-saved-card-radio {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 2px solid var(--ts-ott-border);
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
}

.ts-ott-saved-card-option--selected .ts-ott-saved-card-radio {
    border-color: var(--ts-ott-primary);
}

.ts-ott-saved-card-radio-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    transition: background 0.2s ease;
}

.ts-ott-saved-card-option--selected .ts-ott-saved-card-radio-dot {
    background: var(--ts-ott-primary);
}

.ts-ott-saved-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ts-ott-saved-card-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ts-ott-text);
}

.ts-ott-saved-card-detail {
    font-size: 12px;
    color: var(--ts-ott-text-light);
    margin-top: 2px;
}

.ts-ott-new-card-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 2px dashed var(--ts-ott-border-light);
    border-radius: var(--ts-ott-radius);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--ts-ott-primary);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.ts-ott-new-card-option:hover {
    border-color: var(--ts-ott-primary);
    background: var(--ts-ott-primary-light);
}

.ts-ott-new-card-option.ts-ott-new-card-option--selected {
    border-color: var(--ts-ott-primary);
    background: var(--ts-ott-primary-light);
}

/* ==========================================================================
   Stripe Card Element
   ========================================================================== */

.ts-ott-card-element {
    padding: 12px 14px;
    border: 1px solid var(--ts-ott-border);
    border-radius: var(--ts-ott-radius);
    background: var(--ts-ott-bg-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    min-height: 44px;
}

.ts-ott-card-element.StripeElement--focus {
    border-color: var(--ts-ott-primary);
    box-shadow: 0 0 0 3px var(--ts-ott-primary-light);
}

.ts-ott-card-element.StripeElement--invalid {
    border-color: var(--ts-ott-error);
}

.ts-ott-card-errors {
    color: var(--ts-ott-error);
    font-size: 13px;
    margin-top: 6px;
    min-height: 0;
}

/* ==========================================================================
   Terms Checkbox
   ========================================================================== */

.ts-ott-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: 400 !important;
}

.ts-ott-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--ts-ott-primary);
}

.ts-ott-checkbox-label span {
    font-size: 14px;
    color: var(--ts-ott-text);
    line-height: 1.5;
}

/* ==========================================================================
   Step Panels
   ========================================================================== */

.ts-ott-register-step {
    animation: ts-ott-reg-fadeIn 0.3s ease;
}

@keyframes ts-ott-reg-fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Logged-in Subscribe Form (single step)
   ========================================================================== */

.ts-ott-register-form--loggedin .ts-ott-form-submit {
    margin-top: 24px;
}

.ts-ott-register-form--loggedin .ts-ott-register-submit-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media screen and (max-width: 480px) {
    .ts-ott-register-wrapper {
        padding: 10px 0;
    }

    .ts-ott-register-card {
        border-radius: var(--ts-ott-radius);
        border-left: none;
        border-right: none;
    }

    .ts-ott-register-header {
        padding: 20px;
    }

    .ts-ott-register-header h3 {
        font-size: 20px;
    }

    .ts-ott-step-indicator {
        padding: 16px 12px;
    }

    .ts-ott-step-label {
        display: none;
    }

    .ts-ott-step-connector {
        flex: 0 0 24px;
    }

    .ts-ott-register-body {
        padding: 20px;
    }

    .ts-ott-step-nav--dual {
        flex-direction: column-reverse;
    }

    .ts-ott-step-nav--dual .ts-ott-btn-outline {
        flex: 1;
        width: 100%;
    }

    .ts-ott-plan-option {
        flex-wrap: wrap;
    }

    .ts-ott-plan-price {
        margin-left: 34px;
        margin-top: 4px;
        width: 100%;
    }

    .ts-ott-promo-wrapper {
        flex-direction: column;
    }

    .ts-ott-otp-input-wrapper {
        flex-direction: column;
    }
}

/* ==========================================================================
   Skeleton Loading
   ========================================================================== */

.ts-ott-register-skeleton {
    padding: 24px;
}

.ts-ott-skeleton-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ts-ott-skeleton-row {
    display: flex;
    gap: 16px;
}

.ts-ott-skeleton-row > .ts-ott-skeleton {
    flex: 1;
}

.ts-ott-skeleton {
    background: linear-gradient(90deg, #f0f0f1 25%, #e4e4e6 50%, #f0f0f1 75%);
    background-size: 200% 100%;
    animation: ts-ott-skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: 6px;
}

.ts-ott-skeleton-input {
    height: 44px;
}

.ts-ott-skeleton-block {
    height: 80px;
}

.ts-ott-skeleton-btn-full {
    height: 48px;
    border-radius: 8px;
}

@keyframes ts-ott-skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
