/**
 * STWEG Owner Registration Styles
 *
 * Extracted from owner-registration.php render_styles() for browser cacheability.
 * Loaded conditionally only on pages containing [stweg_owner_registration] shortcode.
 *
 * @package STWEG_Member_Dashboard
 * @since 1.15.0
 */

/* ============================================================
   CONTAINER OVERRIDE — Astra theme limits .ast-container to
   1140px globally. On the registration page we need full width
   so the 3-column pricing grid has enough space.
   ============================================================ */
body.stweg-owner-reg-page .ast-container,
body.stweg-owner-reg-page .site-content .ast-container,
body.stweg-owner-reg-page .ast-separate-container .ast-container,
body.stweg-owner-reg-page .ast-page-builder-template .site-content > .ast-container {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ============================================================
   REGISTRATION WRAP
   ============================================================ */
.stweg-reg-wrap {
    --brand: #1CCA5B !important;
    --brand-hover: #17b352 !important;
    --text: #0f172a !important;
    --text-muted: #64748b !important;
    --border: #e2e8f0 !important;
    --bg: #f8fafc !important;
    --surface: #ffffff !important;
    --error: #ef4444 !important;
    --error-bg: #fef2f2 !important;
    --success: #22c55e !important;
    --success-bg: #f0fdf4 !important;
    --radius: 12px !important;
    --shadow: 0 4px 24px rgba(0,0,0,0.08) !important;

    max-width: var(--estw-container-wide, 1400px) !important;
    margin: 40px auto !important;
    padding: 0 20px !important;
    font-family: var(--stweg-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
    color: var(--text) !important;
}

.stweg-reg-wrap * {
    box-sizing: border-box !important;
}

/* ============================================================
   CARD & HEADER
   ============================================================ */
.stweg-reg-card {
    background: var(--surface) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow) !important;
    overflow: visible !important;
}

.stweg-reg-header {
    background: linear-gradient(135deg, var(--brand) 0%, #17b352 100%) !important;
    color: white !important;
    padding: 32px !important;
    text-align: center !important;
    border-radius: var(--radius) var(--radius) 0 0 !important;
}

.stweg-reg-header h1 {
    margin: 0 0 8px 0 !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    color: white !important;
}

.stweg-reg-header p {
    margin: 0 !important;
    font-size: 15px !important;
    opacity: 0.9 !important;
    color: white !important;
}

/* ============================================================
   BODY & SECTIONS
   ============================================================ */
.stweg-reg-body {
    padding: 40px 48px !important;
}

@media (max-width: 700px) {
    .stweg-reg-body {
        padding: 24px 20px !important;
    }
}

/* Constrain form fields (narrower than pricing cards) */
.stweg-reg-body > .stweg-reg-section:not(#plan-selection),
.stweg-reg-body > .stweg-reg-honeypot,
.stweg-reg-body > #stweg-reg-alerts,
.stweg-reg-body > .stweg-reg-consent,
.stweg-reg-body > .stweg-reg-error,
.stweg-reg-body > .stweg-reg-btn,
.stweg-reg-body > .stweg-reg-submit {
    max-width: 700px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.stweg-reg-body > .stweg-reg-section:not(#plan-selection) {
    margin-bottom: 28px !important;
}

.stweg-reg-section {
    margin-bottom: 28px !important;
}

.stweg-reg-section:last-child {
    margin-bottom: 0 !important;
}

.stweg-reg-section-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--text) !important;
    margin: 0 0 16px 0 !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid var(--border) !important;
}

/* ============================================================
   GRID ROWS
   ============================================================ */
.stweg-reg-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
}

@media (max-width: 540px) {
    .stweg-reg-row {
        grid-template-columns: 1fr !important;
    }
}

.stweg-reg-field {
    margin-bottom: 16px !important;
}

.stweg-reg-field.full-width {
    grid-column: 1 / -1 !important;
}

/* ============================================================
   FORM CONTROLS
   ============================================================ */
.stweg-reg-label {
    display: block !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--text) !important;
    margin-bottom: 6px !important;
}

.stweg-reg-label .required {
    color: var(--error) !important;
    margin-left: 2px !important;
}

.stweg-reg-input {
    width: 100% !important;
    padding: 12px 14px !important;
    font-size: 15px !important;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    background: var(--surface) !important;
    color: var(--text) !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    box-sizing: border-box !important;
}

.stweg-reg-input:focus {
    outline: none !important;
    border-color: var(--brand) !important;
    box-shadow: 0 0 0 3px rgba(28, 202, 91, 0.15) !important;
}

.stweg-reg-input.error {
    border-color: var(--error) !important;
    background: var(--error-bg) !important;
}

.stweg-reg-input.success {
    border-color: var(--success) !important;
}

.stweg-reg-input::placeholder {
    color: var(--stweg-text-muted, #94a3b8) !important;
}

.stweg-reg-select {
    width: 100% !important;
    padding: 12px 14px !important;
    font-size: 15px !important;
    /* Astra's global form rule sets line-height: 24px. With box-sizing:
       border-box + height: 40px + padding 12px (top+bottom = 24px) the
       content area is only 16px, so the 24px line box overflows and the
       text renders clipped/mispositioned (the "pixelated" look). Force a
       16px line-height so the line box fits the 16px content area exactly. */
    line-height: 16px !important;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    background: var(--surface) !important;
    color: var(--text) !important;
    cursor: pointer !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
}

.stweg-reg-hint {
    font-size: 12px !important;
    color: var(--text-muted) !important;
    margin-top: 4px !important;
}

.stweg-reg-error {
    font-size: 12px !important;
    color: var(--error) !important;
    margin-top: 4px !important;
    display: none !important;
}

.stweg-reg-error.visible {
    display: block !important;
}

/* ============================================================
   BUTTON
   ============================================================ */
.stweg-reg-btn {
    display: block !important;
    width: 100% !important;
    padding: 14px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: white !important;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-hover) 100%) !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: transform 0.15s, box-shadow 0.2s !important;
    text-align: center !important;
    text-decoration: none !important;
}

.stweg-reg-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 20px rgba(28, 202, 91, 0.3) !important;
}

.stweg-reg-btn:active {
    transform: translateY(0) !important;
}

.stweg-reg-btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.stweg-reg-btn .spinner {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
    border-top-color: white !important;
    border-radius: 50% !important;
    animation: stweg-reg-spin 0.7s linear infinite !important;
    margin-right: 8px !important;
    vertical-align: middle !important;
}

@keyframes stweg-reg-spin {
    to { transform: rotate(360deg); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.stweg-reg-footer {
    text-align: center !important;
    padding: 20px 32px 32px !important;
    font-size: 14px !important;
    color: var(--text-muted) !important;
}

.stweg-reg-footer a {
    color: var(--brand) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.stweg-reg-footer a:hover {
    text-decoration: underline !important;
}

/* ============================================================
   ALERTS
   ============================================================ */
.stweg-reg-alert {
    padding: 14px 16px !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
    font-size: 14px !important;
}

.stweg-reg-alert.error {
    background: var(--error-bg) !important;
    color: #b91c1c !important;
    border: 1px solid #fecaca !important;
}

.stweg-reg-alert.success {
    background: var(--success-bg) !important;
    color: #166534 !important;
    border: 1px solid #bbf7d0 !important;
}

/* ============================================================
   PASSWORD STRENGTH
   ============================================================ */
.stweg-reg-password-strength {
    height: 4px !important;
    border-radius: 2px !important;
    background: var(--border) !important;
    margin-top: 8px !important;
    overflow: hidden !important;
}

.stweg-reg-password-strength-bar {
    height: 100% !important;
    width: 0 !important;
    border-radius: 2px !important;
    transition: width 0.3s, background 0.3s !important;
}

.stweg-reg-password-strength-bar.weak        { width: 20% !important; background: #ef4444 !important; }
.stweg-reg-password-strength-bar.fair        { width: 40% !important; background: #f97316 !important; }
.stweg-reg-password-strength-bar.medium      { width: 60% !important; background: var(--stweg-status-due, #eab308) !important; }
.stweg-reg-password-strength-bar.strong      { width: 80% !important; background: var(--success, #22c55e) !important; }
.stweg-reg-password-strength-bar.very-strong { width: 100% !important; background: #16a34a !important; }

.stweg-reg-password-label {
    font-size: 11px !important;
    margin-top: 4px !important;
    text-align: right !important;
    font-weight: 500 !important;
    transition: color 0.3s !important;
    height: 16px !important;
    line-height: 16px !important;
}
.stweg-reg-password-label.weak        { color: #ef4444 !important; }
.stweg-reg-password-label.fair        { color: #f97316 !important; }
.stweg-reg-password-label.medium      { color: #a16207 !important; }
.stweg-reg-password-label.strong      { color: #16a34a !important; }
.stweg-reg-password-label.very-strong { color: #15803d !important; }

/* ============================================================
   HONEYPOT
   ============================================================ */
.stweg-reg-honeypot {
    position: absolute !important;
    left: -9999px !important;
}

/* ============================================================
   CONSENT
   ============================================================ */
.stweg-reg-consent {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin: 20px 0 4px 0 !important;
    padding: 16px !important;
    background: var(--bg-muted) !important;
    border-radius: 8px !important;
    border: 1px solid var(--border) !important;
}

.stweg-reg-consent.error {
    border-color: var(--error) !important;
}

.stweg-reg-consent input[type="checkbox"] {
    margin-top: 3px !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    accent-color: var(--brand) !important;
    cursor: pointer !important;
}

.stweg-reg-consent label {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    font-size: 13px !important;
    color: var(--text-muted) !important;
    line-height: 1.5 !important;
    cursor: pointer !important;
}

.stweg-reg-consent label a {
    color: var(--brand) !important;
    text-decoration: underline !important;
}

.stweg-reg-consent label a:hover {
    color: var(--brand-hover) !important;
}

.stweg-reg-consent-info {
    flex-basis: 100% !important;
    width: 100% !important;
    margin: 8px 0 0 28px !important;
    font-size: 12px !important;
    color: #6b7280 !important;
    line-height: 1.4 !important;
}

/* ============================================================
   INFO STATE (already logged in)
   ============================================================ */
.stweg-reg-info {
    max-width: 480px !important;
    margin: 0 auto !important;
    padding: 40px !important;
    text-align: center !important;
}

.stweg-reg-info h2 {
    margin: 0 0 12px 0 !important;
}

.stweg-reg-info p {
    margin: 0 0 20px 0 !important;
    color: var(--text-muted) !important;
}

/* ============================================================
   INPUT WRAPPER / CHECK ICON
   ============================================================ */
.stweg-reg-check-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 14px !important;
}

.stweg-reg-input-wrapper {
    position: relative !important;
}

.stweg-reg-input-wrapper .stweg-reg-input {
    padding-right: 40px !important;
}

/* Password show/hide toggle */
.stweg-reg-pw-toggle {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    padding: 4px !important;
    margin: 0 !important;
    cursor: pointer !important;
    color: var(--stweg-text-muted, #94a3b8) !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.2s ease !important;
    z-index: 2 !important;
}

.stweg-reg-pw-toggle:hover {
    color: var(--stweg-text-secondary, #475569) !important;
}

.stweg-reg-pw-toggle svg {
    width: 20px !important;
    height: 20px !important;
}

/* ============================================================
   ACCOUNT TYPE TOGGLE
   ============================================================ */
.stweg-reg-account-type {
    display: flex !important;
    gap: 12px !important;
    margin-bottom: 24px !important;
}

.stweg-reg-account-type-option {
    flex: 1 !important;
    position: relative !important;
}

.stweg-reg-account-type-option input {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.stweg-reg-account-type-option label {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 20px 16px !important;
    background: var(--bg) !important;
    border: 2px solid var(--border) !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    text-align: center !important;
}

.stweg-reg-account-type-option label:hover {
    border-color: var(--brand) !important;
    background: #f0fdf4 !important;
}

.stweg-reg-account-type-option input:checked + label {
    border-color: var(--brand) !important;
    background: #f0fdf4 !important;
    box-shadow: 0 0 0 3px rgba(28, 202, 91, 0.15) !important;
}

.stweg-reg-account-type-icon {
    font-size: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.stweg-reg-account-type-icon svg {
    width: 28px !important;
    height: 28px !important;
    stroke-width: 1.5 !important;
}

.stweg-reg-account-type-text {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--text) !important;
}

.stweg-reg-account-type-desc {
    font-size: 12px !important;
    color: var(--text-muted) !important;
}

.stweg-reg-field-group {
    display: block !important;
}

.stweg-reg-field-group.hidden {
    display: none !important;
}

/* ============================================================
   PRICING CARDS (2026 Style)
   ============================================================ */
.stweg-reg-pricing {
    max-width: 1140px !important;
    margin: 0 auto 28px !important;
}

.stweg-reg-pricing-header {
    text-align: center !important;
    margin-bottom: 24px !important;
}

.stweg-reg-pricing-header h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--text) !important;
    margin: 0 0 8px 0 !important;
}

.stweg-reg-pricing-header p {
    font-size: 14px !important;
    color: var(--text-muted) !important;
    margin: 0 !important;
}

.stweg-reg-pricing-cards {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 24px !important;
    max-width: 1140px !important;
    margin: 0 auto 16px !important;
    align-items: stretch !important;
}

@media (max-width: 900px) {
    .stweg-reg-pricing-cards {
        gap: 16px !important;
    }
    .stweg-reg-pricing-card {
        padding: 28px 20px !important;
    }
}

@media (max-width: 600px) {
    .stweg-reg-pricing-card {
        flex: 0 1 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
}

.stweg-reg-pricing-card {
    flex: 0 1 340px !important;
    min-width: 280px !important;
    max-width: 420px !important;
    position: relative !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    border: 2px solid var(--border) !important;
    border-radius: 16px !important;
    padding: 36px 28px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
}

.stweg-reg-pricing-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    background: transparent !important;
    transition: background 0.3s !important;
}

.stweg-reg-pricing-card:hover {
    border-color: var(--brand) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 40px rgba(28, 202, 91, 0.15) !important;
}

.stweg-reg-pricing-card.selected {
    border-color: var(--brand) !important;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%) !important;
    box-shadow: 0 8px 32px rgba(28, 202, 91, 0.2) !important;
}

.stweg-reg-pricing-card.selected::before {
    background: linear-gradient(90deg, var(--brand) 0%, #17b352 100%) !important;
}

.stweg-reg-pricing-card.recommended {
    border-color: var(--brand) !important;
}

.stweg-reg-pricing-card.recommended.selected {
    border-color: var(--brand) !important;
}

/* Business-Card für Privat-User ausblenden (wird per JS getoggelt) */
/* Absichtlich nach .stweg-reg-pricing-card, damit display:none!important gewinnt */
.stweg-reg-pricing-card--hidden {
    display: none !important;
}

/* Business-Ribbon-Badge (lila, 45 Grad, wie auf Website-Preisseite) */
.stweg-reg-pricing-card[data-plan="business"] .stweg-reg-pricing-badge {
    position: absolute !important;
    top: 16px !important;
    right: -36px !important;
    left: auto !important;
    transform: rotate(45deg) !important;
    width: auto !important;
    max-width: none !important;
    padding: 5px 40px !important;
    background: var(--estw-business, #7c3aed) !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    text-align: center !important;
    white-space: nowrap !important;
    z-index: 2 !important;
    border-radius: 0 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
}

.stweg-reg-pricing-badge {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    background: linear-gradient(135deg, var(--brand) 0%, #17b352 100%) !important;
    color: white !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
}

.stweg-reg-pricing-icon {
    width: 44px !important;
    height: 44px !important;
    background: var(--bg) !important;
    border: 1.5px solid var(--border) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 16px !important;
    transition: all 0.3s !important;
}

.stweg-reg-pricing-icon svg {
    width: 22px !important;
    height: 22px !important;
    stroke: var(--text-muted) !important;
    stroke-width: 1.75 !important;
    fill: none !important;
    transition: stroke 0.3s !important;
}

.stweg-reg-pricing-card:hover .stweg-reg-pricing-icon,
.stweg-reg-pricing-card.selected .stweg-reg-pricing-icon {
    background: rgba(28, 202, 91, 0.08) !important;
    border-color: rgba(28, 202, 91, 0.3) !important;
}

.stweg-reg-pricing-card:hover .stweg-reg-pricing-icon svg,
.stweg-reg-pricing-card.selected .stweg-reg-pricing-icon svg {
    stroke: var(--brand) !important;
}

.stweg-reg-pricing-name {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--text) !important;
    margin: 0 0 4px 0 !important;
}

.stweg-reg-pricing-desc {
    font-size: 13px !important;
    color: var(--text-muted) !important;
    margin: 0 0 16px 0 !important;
}

.stweg-reg-pricing-price {
    margin-bottom: 20px !important;
}

/* 2026-08-15 (Go-Live-Konsistenz, K2): Extra-Objekt-Kostenhinweis auf der
   Business-Karte — dezent, wie auf der Website (.estw-pricing__extra-note). */
.stweg-reg-pricing-extra-note {
    margin: -8px 0 16px 0 !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: var(--text-muted) !important;
    background: var(--bg, #f8fafc) !important;
    border-radius: 6px !important;
}

.stweg-reg-pricing-amount {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: var(--text) !important;
    line-height: 1 !important;
}

.stweg-reg-pricing-period {
    font-size: 14px !important;
    color: var(--text-muted) !important;
    font-weight: 400 !important;
}

.stweg-reg-pricing-features {
    list-style: none !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    flex: 1 1 auto !important;
}

/* 2026-08-15 (Trunkierung): Kompakte Karten — 6 sichtbar + Toggle,
   konsistent zur Website (.estw-pricing__features-toggle). */
.stweg-reg-pricing-features-more {
    margin: -8px 0 16px 0 !important;
}

.stweg-reg-pricing-features-collapsed ul.stweg-reg-pricing-features {
    margin: 8px 0 12px 0 !important;
}

.stweg-reg-pricing-features-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 6px 10px !important;
    background: transparent !important;
    border: none !important;
    border-radius: var(--stweg-radius-sm, 6px) !important;
    font-family: var(--stweg-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--brand, #1CCA5B) !important;
    cursor: pointer !important;
    transition: color 150ms ease, background 150ms ease !important;
    touch-action: manipulation !important;
}

.stweg-reg-pricing-features-toggle:hover,
.stweg-reg-pricing-features-toggle:focus-visible {
    background: rgba(28, 202, 91, 0.1) !important;
    color: var(--brand, #1CCA5B) !important;
    outline: none !important;
}

.stweg-reg-pricing-features-toggle[aria-expanded="true"] .stweg-reg-pricing-features-toggle-icon {
    transform: rotate(180deg) !important;
}

.stweg-reg-pricing-features-toggle-icon {
    transition: transform 150ms ease !important;
}

.stweg-reg-pricing-features li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    font-size: 14px !important;
    color: var(--text) !important;
    margin-bottom: 10px !important;
    line-height: 1.4 !important;
    position: relative !important;
}

.stweg-reg-pricing-features li::before {
    content: '\2713' !important;
    color: var(--brand) !important;
    font-weight: 700 !important;
    flex-shrink: 0 !important;
}

.stweg-reg-pricing-features li.stweg-reg-pricing-feature--excluded {
    color: var(--text-muted) !important;
}

.stweg-reg-pricing-features li.stweg-reg-pricing-feature--included::before {
    content: '\2713' !important;
    color: var(--brand) !important;
}

.stweg-reg-pricing-features li.stweg-reg-pricing-feature--excluded::before {
    content: '\00d7' !important;
    color: var(--text-muted) !important;
}

.stweg-reg-pricing-card.recommended .stweg-reg-pricing-features li::before {
    color: var(--brand) !important;
}

.stweg-reg-pricing-card.recommended .stweg-reg-pricing-features li.stweg-reg-pricing-feature--excluded::before {
    color: var(--text-muted) !important;
}

.stweg-reg-pricing-feature-content {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    flex-wrap: wrap !important;
}

.stweg-reg-pricing-feature-info {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    padding: 0 !important;
    border: 1px solid var(--border) !important;
    border-radius: 50% !important;
    background: var(--bg) !important;
    color: var(--text-muted) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    cursor: help !important;
    flex-shrink: 0 !important;
}

.stweg-reg-pricing-feature-info:hover,
.stweg-reg-pricing-feature-info:focus-visible {
    border-color: var(--brand) !important;
    color: var(--brand) !important;
    outline: none !important;
}

.stweg-reg-pricing-feature-tooltip {
    position: absolute !important;
    left: 50% !important;
    bottom: calc(100% + 8px) !important;
    z-index: 30 !important;
    width: min(260px, 76vw) !important;
    transform: translateX(-50%) !important;
    padding: 8px 10px !important;
    background: var(--text) !important;
    color: white !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    text-align: left !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.stweg-reg-pricing-feature-info:hover .stweg-reg-pricing-feature-tooltip,
.stweg-reg-pricing-feature-info:focus-visible .stweg-reg-pricing-feature-tooltip,
.stweg-reg-pricing-feature-info:focus .stweg-reg-pricing-feature-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
}

.stweg-reg-pricing-footer {
    display: flex !important;
    flex-direction: column !important;
    margin-top: auto !important;
    flex-shrink: 0 !important;
}

.stweg-reg-pricing-trial {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    font-size: 12px !important;
    color: var(--brand) !important;
    font-weight: 600 !important;
    text-align: center !important;
    padding: 8px !important;
    background: rgba(28, 202, 91, 0.1) !important;
    border-radius: 8px !important;
    margin-top: 0 !important;
    flex-shrink: 0 !important;
}

.stweg-reg-pricing-card.recommended .stweg-reg-pricing-trial {
    color: var(--brand) !important;
    background: rgba(28, 202, 91, 0.1) !important;
}

.stweg-reg-pricing-select {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 46px !important;
    padding: 12px !important;
    margin-top: 12px !important;
    background: var(--bg) !important;
    border: 2px solid var(--border) !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--text) !important;
    transition: all 0.2s !important;
    flex-shrink: 0 !important;
}

.stweg-reg-pricing-card:hover .stweg-reg-pricing-select {
    border-color: var(--brand) !important;
    color: var(--brand) !important;
}

.stweg-reg-pricing-card.selected .stweg-reg-pricing-select {
    background: var(--brand) !important;
    border-color: var(--brand) !important;
    color: white !important;
}

.stweg-reg-pricing-card.selected .stweg-reg-pricing-select::before {
    content: '\2713' !important;
    font-weight: 700 !important;
}

.stweg-reg-pricing-card.stweg-reg-pricing-card--free .stweg-reg-pricing-amount {
    color: var(--brand) !important;
}

/* ============================================================
   BILLING TOGGLE (Monthly / Yearly)
   ============================================================ */
.stweg-reg-billing-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    margin: 16px 0 8px !important;
}

.stweg-reg-billing-label {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--text-muted) !important;
    cursor: pointer !important;
    transition: color 0.2s !important;
    user-select: none !important;
}

.stweg-reg-billing-label.active {
    color: var(--text) !important;
}

.stweg-reg-billing-switch {
    position: relative !important;
    width: 48px !important;
    height: 26px !important;
    background: var(--border) !important;
    border-radius: 13px !important;
    cursor: pointer !important;
    transition: background 0.3s !important;
    flex-shrink: 0 !important;
}

.stweg-reg-billing-switch.yearly {
    background: var(--brand) !important;
}

.stweg-reg-billing-switch::after {
    content: '' !important;
    position: absolute !important;
    top: 3px !important;
    left: 3px !important;
    width: 20px !important;
    height: 20px !important;
    background: white !important;
    border-radius: 50% !important;
    transition: transform 0.3s !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15) !important;
}

.stweg-reg-billing-switch.yearly::after {
    transform: translateX(22px) !important;
}

.stweg-reg-billing-savings {
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 2px 10px !important;
    border-radius: 20px !important;
    white-space: nowrap !important;
    transition: all 0.3s !important;
    color: var(--text-muted) !important;
    background: var(--bg-muted, #f3f4f6) !important;
}

.stweg-reg-billing-savings.active {
    color: white !important;
    background: var(--brand) !important;
    transform: scale(1.05) !important;
}

.stweg-reg-price-yearly {
    display: none !important;
}

.stweg-reg-billing-yearly .stweg-reg-price-monthly {
    display: none !important;
}

.stweg-reg-billing-yearly .stweg-reg-price-yearly {
    display: inline !important;
}

/* ============================================================
   TRUST BADGES
   ============================================================ */
.stweg-reg-trust {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
    margin-top: 20px !important;
    padding-top: 20px !important;
    border-top: 1px solid var(--border) !important;
}

.stweg-reg-trust-item {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 12px !important;
    color: var(--text-muted) !important;
}

.stweg-reg-trust-item svg {
    width: 16px !important;
    height: 16px !important;
    color: var(--brand) !important;
}
