/* ==========================================================================
   MAKING A WILL — WooCommerce + Plugin Brand Override CSS
   Brand: Navy #0A192F | Gold #C5A365 | CTA Red #D94F3D | Off-white #FAFAFA
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. PAGE HERO — Used on make-your-will, will-auth, my-wills + standard pages
   -------------------------------------------------------------------------- */

.mw-page-hero {
    background: #0A192F;
    padding: 3rem 0 2.5rem;
    color: #fff;
    text-align: center;
}

.mw-page-hero-label {
    color: #C5A365;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin: 0 0 0.6rem;
    font-family: 'Inter', sans-serif;
}

.mw-page-hero-title {
    color: #fff;
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
    line-height: 1.25;
}

.mw-page-hero-sub {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.0625rem;
    max-width: 580px;
    margin: 0 auto 1.25rem;
    font-family: 'Inter', sans-serif;
}

.mw-page-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1rem;
}

.mw-page-hero-trust span {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(197, 163, 101, 0.35);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.8125rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

/* --------------------------------------------------------------------------
   2. BUILDER WRAP — the outer container around all plugin shortcodes
   -------------------------------------------------------------------------- */

.mw-builder-wrap {
    background: #F5F7FA;
    min-height: 60vh;
    padding: 2rem 1rem 4rem;
}

.mw-builder-content {
    max-width: 1360px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   3. AUTH GATE (.mw-auth-gate) — Make Your Will page
   -------------------------------------------------------------------------- */

.mw-auth-gate {
    width: min(820px, calc(100vw - 2rem)) !important;
    margin: 0 auto !important;
    border: none !important;
    border-radius: 16px !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Inner card */
.mw-auth-gate-inner,
.mw-auth-gate > * {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(10, 25, 47, 0.08);
}

.mw-auth-gate-head h2 {
    color: #0A192F !important;
    font-family: 'Merriweather', Georgia, serif !important;
    font-size: 1.75rem !important;
    margin: 0 0 0.5rem !important;
    font-weight: 700 !important;
}

.mw-auth-gate-head p {
    color: #5A6A7A !important;
    font-size: 1rem !important;
    margin: 0 0 1.25rem !important;
}

/* Step breadcrumb pills */
.mw-auth-gate-steps {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    margin: 0 0 1rem !important;
}

.mw-auth-gate-steps span {
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 999px !important;
    padding: 0.3rem 0.875rem !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    color: #94A3B8 !important;
    background: #F8FAFC !important;
    font-family: 'Inter', sans-serif !important;
}

.mw-auth-gate-steps span.is-active {
    border-color: #0A192F !important;
    background: #0A192F !important;
    color: #C5A365 !important;
}

/* Trust cues */
.mw-auth-gate-cues {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    margin: 1rem 0 !important;
}

.mw-auth-gate-cues span {
    border: 1px solid #E2E8F0 !important;
    border-radius: 999px !important;
    padding: 0.3rem 0.875rem !important;
    font-size: 0.8125rem !important;
    color: #475569 !important;
    background: #F8FAFC !important;
    font-family: 'Inter', sans-serif !important;
}

/* Action buttons */
.mw-auth-gate-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.75rem !important;
    margin: 1.5rem 0 1rem !important;
    align-items: center !important;
}

.mw-auth-gate-actions a,
.mw-auth-gate-actions a:visited {
    text-decoration: none !important;
}

.mw-auth-gate-actions .button,
.mw-auth-gate-actions .button:visited {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 48px !important;
    padding: 0.75rem 1.75rem !important;
    border-radius: 8px !important;
    border: 2px solid #0A192F !important;
    background: #fff !important;
    color: #0A192F !important;
    font-weight: 700 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9375rem !important;
    line-height: 1 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.mw-auth-gate-actions .button:hover {
    background: #0A192F !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
}

.mw-auth-gate-actions .button.button-primary,
.mw-auth-gate-actions .button.button-primary:visited {
    background: #D94F3D !important;
    border-color: #D94F3D !important;
    color: #fff !important;
    font-size: 1rem !important;
    padding: 0.875rem 2rem !important;
    box-shadow: 0 4px 14px rgba(217, 79, 61, 0.3) !important;
}

.mw-auth-gate-actions .button.button-primary:hover {
    background: #c0392b !important;
    border-color: #c0392b !important;
    box-shadow: 0 6px 18px rgba(217, 79, 61, 0.4) !important;
    transform: translateY(-2px) !important;
}

.mw-auth-gate-note {
    color: #64748B !important;
    font-size: 0.875rem !important;
    font-family: 'Inter', sans-serif !important;
    margin: 0 !important;
}

/* --------------------------------------------------------------------------
   4. AUTH BRIDGE (.mw-auth-bridge) — Will Login page
   -------------------------------------------------------------------------- */

.mw-auth-bridge {
    width: min(780px, calc(100vw - 2rem)) !important;
    margin: 0 auto !important;
    border: none !important;
    border-radius: 16px !important;
    padding: 2.5rem !important;
    background: #fff !important;
    box-shadow: 0 4px 24px rgba(10, 25, 47, 0.08) !important;
    border: 1px solid #E2E8F0 !important;
}

.mw-auth-bridge h2 {
    color: #0A192F !important;
    font-family: 'Merriweather', Georgia, serif !important;
    font-size: 1.625rem !important;
    margin: 0 0 0.4rem !important;
}

.mw-auth-bridge p {
    color: #5A6A7A !important;
}

/* Login/Register tab switcher */
.mw-auth-bridge-tabs {
    display: flex !important;
    gap: 0.5rem !important;
    margin: 1rem 0 1.25rem !important;
    background: #F1F5F9 !important;
    border-radius: 10px !important;
    padding: 0.35rem !important;
}

.mw-auth-bridge-tabs a {
    flex: 1 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0.65rem 1rem !important;
    text-decoration: none !important;
    color: #64748B !important;
    font-weight: 600 !important;
    background: transparent !important;
    text-align: center !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9375rem !important;
    transition: all 0.2s !important;
}

.mw-auth-bridge-tabs a.is-active {
    color: #0A192F !important;
    background: #fff !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1) !important;
    border: none !important;
}

.mw-auth-bridge-tabs a:hover:not(.is-active) {
    color: #0A192F !important;
    background: rgba(255,255,255,0.5) !important;
    border: none !important;
}

.mw-auth-bridge-helper {
    color: #64748B !important;
    font-size: 0.9rem !important;
    font-family: 'Inter', sans-serif !important;
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 8px !important;
    padding: 0.75rem 1rem !important;
    margin-bottom: 1.25rem !important;
}

/* --------------------------------------------------------------------------
   5. WILL BUILDER APP (.mw-app)
   -------------------------------------------------------------------------- */

.mw-app {
    font-family: 'Inter', sans-serif !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
}

.mw-sticky-progress {
    background: #fff !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    padding: 0.875rem 1.25rem !important;
    margin: 0 0 1.25rem !important;
    top: 0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
}

.mw-sticky-progress-text {
    color: #0A192F !important;
    font-weight: 700 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8125rem !important;
}

.mw-progress-wrap {
    background: #E2E8F0 !important;
    border-radius: 999px !important;
    height: 8px !important;
}

.mw-progress {
    background: linear-gradient(90deg, #0A192F, #C5A365) !important;
    border-radius: 999px !important;
    height: 100% !important;
    transition: width 0.3s ease !important;
}

/* Journey pills */
.mw-journey-shell span {
    border: 1.5px solid #CBD5E1 !important;
    color: #64748B !important;
    background: #F8FAFC !important;
    font-family: 'Inter', sans-serif !important;
}

.mw-journey-shell span.done {
    border-color: #86EFAC !important;
    color: #166534 !important;
    background: #F0FDF4 !important;
}

.mw-journey-shell span.active {
    border-color: #0A192F !important;
    color: #C5A365 !important;
    background: #0A192F !important;
}

/* Step nav pills */
.mw-step-nav {
    display: flex !important;
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0 !important;
}

.mw-step-pill {
    border: 1.5px solid #CBD5E1 !important;
    background: #fff !important;
    color: #475569 !important;
    border-radius: 999px !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.8125rem !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    transition: all 0.18s ease !important;
}

.mw-step-pill:hover {
    border-color: #0A192F !important;
    color: #0A192F !important;
    transform: translateY(-1px) !important;
}

.mw-step-pill.active {
    background: #0A192F !important;
    border-color: #0A192F !important;
    color: #C5A365 !important;
}

.mw-step-pill.is-complete {
    border-color: #86EFAC !important;
    background: #F0FDF4 !important;
    color: #166534 !important;
}

.mw-step-pill.active.is-complete {
    background: #0A192F !important;
    border-color: #0A192F !important;
    color: #C5A365 !important;
}

/* Panel */
.mw-panel {
    background: #fff !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 14px !important;
    padding: 1.75rem !important;
    box-shadow: 0 2px 12px rgba(10, 25, 47, 0.05) !important;
}

.mw-panel h3 {
    color: #0A192F !important;
    font-family: 'Merriweather', Georgia, serif !important;
    font-size: 1.375rem !important;
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
}

.mw-panel h4 {
    color: #0A192F !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
}

.mw-panel label {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    color: #334155 !important;
}

.mw-step-meta {
    background: #EFF6FF !important;
    color: #1E40AF !important;
    border-radius: 999px !important;
    padding: 0.3rem 0.875rem !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    font-family: 'Inter', sans-serif !important;
}

.mw-step-intro {
    color: #475569 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9375rem !important;
    line-height: 1.7 !important;
    margin-bottom: 1rem !important;
}

/* Form inputs */
.mw-panel input[type="text"],
.mw-panel input[type="email"],
.mw-panel input[type="tel"],
.mw-panel input[type="number"],
.mw-panel input[type="date"],
.mw-panel textarea {
    display: block !important;
    width: 100% !important;
    margin-top: 0.4rem !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 8px !important;
    padding: 0.6875rem 0.875rem !important;
    font-size: 0.9375rem !important;
    font-family: 'Inter', sans-serif !important;
    background: #FAFAFA !important;
    color: #1E293B !important;
    transition: border-color 0.18s, box-shadow 0.18s !important;
}

.mw-panel input:focus,
.mw-panel textarea:focus,
.mw-panel select:focus {
    outline: none !important;
    border-color: #0A192F !important;
    box-shadow: 0 0 0 3px rgba(10, 25, 47, 0.1) !important;
    background: #fff !important;
}

.mw-panel select {
    display: block !important;
    width: 100% !important;
    margin-top: 0.4rem !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 8px !important;
    padding: 0.6875rem 0.875rem !important;
    font-size: 0.9375rem !important;
    font-family: 'Inter', sans-serif !important;
    background: #FAFAFA !important;
}

.mw-field-error input,
.mw-field-error textarea,
.mw-field-error select {
    border-color: #EF4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}

.mw-field-error-text {
    color: #DC2626 !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    font-family: 'Inter', sans-serif !important;
    margin-top: 0.35rem !important;
}

/* Repeat blocks */
.mw-repeat {
    border: 1.5px dashed #CBD5E1 !important;
    border-radius: 12px !important;
    padding: 1.25rem !important;
    margin-bottom: 1rem !important;
    background: #F8FAFC !important;
}

.mw-repeat-title {
    color: #0A192F !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    font-family: 'Inter', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 0.875rem !important;
}

/* Action buttons bar */
.mw-actions {
    background: linear-gradient(to top, #F5F7FA 60%, rgba(245, 247, 250, 0)) !important;
    padding-top: 1.25rem !important;
    bottom: 0 !important;
    z-index: 10 !important;
    gap: 0.75rem !important;
    display: flex !important;
    flex-wrap: wrap !important;
    margin-top: 1.25rem !important;
    position: sticky !important;
}

.mw-actions button {
    padding: 0.75rem 1.75rem !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    background: #D94F3D !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9375rem !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 3px 12px rgba(217, 79, 61, 0.25) !important;
}

.mw-actions button:hover:not(:disabled) {
    background: #c0392b !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(217, 79, 61, 0.35) !important;
}

.mw-actions button:disabled {
    opacity: 0.55 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

/* Secondary/utility buttons */
.mw-btn {
    border-radius: 8px !important;
    padding: 0.6rem 1rem !important;
    font-weight: 600 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.875rem !important;
    cursor: pointer !important;
    border: 1.5px solid transparent !important;
    transition: all 0.18s !important;
}

.mw-btn-secondary {
    background: #fff !important;
    border-color: #0A192F !important;
    color: #0A192F !important;
}

.mw-btn-secondary:hover {
    background: #0A192F !important;
    color: #fff !important;
}

.mw-btn-danger {
    background: #FFF5F5 !important;
    border-color: #FECACA !important;
    color: #DC2626 !important;
}

.mw-btn-danger:hover {
    background: #FEE2E2 !important;
}

.mw-btn-link {
    background: transparent !important;
    border-color: #CBD5E1 !important;
    color: #475569 !important;
    padding: 0.5rem 0.875rem !important;
}

/* Readiness pills */
.mw-ready-pill {
    border-radius: 999px !important;
    padding: 0.3rem 0.875rem !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    border: 1.5px solid #CBD5E1 !important;
    background: #F8FAFC !important;
    color: #475569 !important;
    font-family: 'Inter', sans-serif !important;
}

.mw-ready-pill.is-yes {
    border-color: #86EFAC !important;
    background: #F0FDF4 !important;
    color: #166534 !important;
}

.mw-ready-pill.is-no {
    border-color: #FCD34D !important;
    background: #FFFBEB !important;
    color: #92400E !important;
}

/* Trust cues */
.mw-trust-cue {
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 999px !important;
    padding: 0.3rem 0.875rem !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    background: #F8FAFC !important;
    font-family: 'Inter', sans-serif !important;
}

/* Error and loading states */
.mw-error {
    background: #FEF2F2 !important;
    color: #DC2626 !important;
    border: 1px solid #FECACA !important;
    border-radius: 10px !important;
    padding: 0.875rem 1rem !important;
    font-family: 'Inter', sans-serif !important;
}

.mw-loading {
    color: #475569 !important;
    font-family: 'Inter', sans-serif !important;
}

.mw-save-state {
    color: #0A192F !important;
    font-size: 0.8rem !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
}

/* Help sidebar */
.mw-help {
    background: #FFFBF0 !important;
    border: 1px solid #C5A365 !important;
    border-radius: 12px !important;
    padding: 1.25rem !important;
    top: 80px !important;
    position: sticky !important;
}

.mw-help h4 {
    color: #7A5200 !important;
    font-family: 'Merriweather', Georgia, serif !important;
    margin-bottom: 0.75rem !important;
}

.mw-help-priority {
    display: inline-block !important;
    border-radius: 999px !important;
    padding: 0.2rem 0.6rem !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    background: #FEF3C7 !important;
    color: #92400E !important;
    border: 1px solid #FCD34D !important;
    font-family: 'Inter', sans-serif !important;
}

.mw-help-priority.legal_critical {
    background: #FEF2F2 !important;
    color: #DC2626 !important;
    border-color: #FECACA !important;
}

/* Review cards */
.mw-review-card {
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    background: #F8FAFC !important;
    padding: 1rem 1.25rem !important;
}

.mw-review-card h5 {
    color: #0A192F !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-weight: 700 !important;
    margin: 0 0 0.75rem !important;
}

.mw-review-list li {
    color: #334155 !important;
    font-family: 'Inter', sans-serif !important;
}

/* Remove/danger buttons */
.mw-remove-btn {
    background: #FFF5F5 !important;
    color: #DC2626 !important;
    border: 1.5px solid #FECACA !important;
    border-radius: 8px !important;
    padding: 0.5rem 0.875rem !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.875rem !important;
    cursor: pointer !important;
    transition: all 0.18s !important;
}

.mw-remove-btn:hover {
    background: #FEE2E2 !important;
}

/* --------------------------------------------------------------------------
   6. ACCOUNT HUB (.mw-account-hub)
   -------------------------------------------------------------------------- */

.mw-account-hub {
    width: min(1340px, calc(100vw - 2rem)) !important;
    max-width: 1340px !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 2rem !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.mw-hub-head {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 1.75rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.mw-hub-head h2 {
    color: #0A192F !important;
    font-family: 'Merriweather', Georgia, serif !important;
    font-size: 1.75rem !important;
    margin: 0 !important;
}

.mw-hub-head p {
    color: #64748B !important;
    font-family: 'Inter', sans-serif !important;
    margin: 0.4rem 0 0 !important;
}

.mw-notice {
    background: #F0FDF4 !important;
    border: 1px solid #86EFAC !important;
    border-radius: 10px !important;
    color: #166534 !important;
    padding: 0.875rem 1rem !important;
    font-family: 'Inter', sans-serif !important;
    margin-top: 1rem !important;
}

/* Hub tab bar */
.mw-hub-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    margin-top: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
    background: #fff !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    padding: 0.5rem !important;
    margin-bottom: 1.5rem !important;
}

.mw-hub-tab {
    display: inline-block !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0.6rem 1.25rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #64748B !important;
    text-decoration: none !important;
    background: transparent !important;
    font-family: 'Inter', sans-serif !important;
    transition: all 0.18s !important;
}

.mw-hub-tab:hover {
    background: #F1F5F9 !important;
    color: #0A192F !important;
    border: none !important;
}

.mw-hub-tab.is-active {
    background: #0A192F !important;
    color: #C5A365 !important;
    border: none !important;
}

/* Stat cards */
.mw-hub-cards {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 1rem !important;
    margin-bottom: 1.5rem !important;
}

.mw-hub-card {
    border: 1px solid #E2E8F0 !important;
    border-radius: 14px !important;
    padding: 1.25rem !important;
    background: #fff !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important;
}

.mw-hub-card h3 {
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    color: #94A3B8 !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

.mw-hub-card-value {
    color: #0A192F !important;
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    font-family: 'Merriweather', Georgia, serif !important;
    margin: 0.625rem 0 0 !important;
    line-height: 1 !important;
}

/* Detail panels */
.mw-hub-detail {
    background: #fff !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 14px !important;
    padding: 1.5rem !important;
    margin-bottom: 1.25rem !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important;
}

.mw-hub-detail h3 {
    color: #0A192F !important;
    font-family: 'Merriweather', Georgia, serif !important;
}

/* Wills table */
.mw-my-wills-table {
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #fff !important;
}

.mw-my-wills-table th {
    background: #0A192F !important;
    color: #C5A365 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    padding: 0.875rem 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.mw-my-wills-table td {
    border-bottom: 1px solid #F1F5F9 !important;
    padding: 1rem !important;
    font-family: 'Inter', sans-serif !important;
    color: #334155 !important;
}

.mw-my-wills-table tr:last-child td {
    border-bottom: none !important;
}

/* Status badges */
.mw-status-badge {
    display: inline-block !important;
    border-radius: 999px !important;
    padding: 0.25rem 0.75rem !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    font-family: 'Inter', sans-serif !important;
    text-transform: capitalize !important;
    border: 1.5px solid #CBD5E1 !important;
    background: #F8FAFC !important;
    color: #475569 !important;
}

.mw-status-badge.is-locked,
.mw-status-badge.is-completed,
.mw-status-badge.is-processing,
.mw-status-badge.is-wc-processing,
.mw-status-badge.is-wc-completed,
.mw-status-badge.is-resolved,
.mw-status-badge.is-closed {
    border-color: #86EFAC !important;
    background: #F0FDF4 !important;
    color: #166534 !important;
}

.mw-status-badge.is-open,
.mw-status-badge.is-assigned,
.mw-status-badge.is-pending,
.mw-status-badge.is-draft {
    border-color: #C5A365 !important;
    background: #FFFBF0 !important;
    color: #7A5200 !important;
}

.mw-status-badge.is-failed,
.mw-status-badge.is-on-hold,
.mw-status-badge.is-wc-failed,
.mw-status-badge.is-cancelled,
.mw-status-badge.is-invalid {
    border-color: #FECACA !important;
    background: #FEF2F2 !important;
    color: #DC2626 !important;
}

/* Account cards */
.mw-account-card {
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    padding: 1.25rem !important;
    background: #FAFAFA !important;
}

.mw-account-card h4 {
    color: #0A192F !important;
    font-family: 'Inter', sans-serif !important;
    margin: 0 0 0.875rem !important;
}

/* Detail actions */
.mw-detail-actions .button,
.mw-detail-actions .button:visited {
    background: #fff !important;
    border: 1.5px solid #0A192F !important;
    color: #0A192F !important;
    border-radius: 8px !important;
    padding: 0.5rem 1rem !important;
    font-weight: 600 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.875rem !important;
    text-decoration: none !important;
    transition: all 0.18s !important;
    display: inline-block !important;
}

.mw-detail-actions .button:hover {
    background: #0A192F !important;
    color: #fff !important;
}

/* --------------------------------------------------------------------------
   7. WOOCOMMERCE OVERRIDES
   -------------------------------------------------------------------------- */

/* Primary buttons */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce-page #respond input#submit,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button {
    background-color: #D94F3D !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.2s ease !important;
    font-size: 0.9375rem !important;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce-page a.button:hover,
.woocommerce-page button.button:hover {
    background-color: #c0392b !important;
    color: #fff !important;
}

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background-color: #0A192F !important;
    color: #fff !important;
}

.woocommerce a:not(.button), .woocommerce-page a:not(.button) { color: #0A192F; }
.woocommerce a:not(.button):hover, .woocommerce-page a:not(.button):hover { color: #C5A365; }
.woocommerce .price, .woocommerce .amount { color: #0A192F !important; }

/* WC Forms */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 8px !important;
    padding: 0.6875rem 0.875rem !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9375rem !important;
    background: #FAFAFA !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    border-color: #0A192F !important;
    box-shadow: 0 0 0 3px rgba(10,25,47,0.1) !important;
    outline: none !important;
}

.woocommerce form label, .woocommerce-page form label {
    font-weight: 600 !important;
    color: #334155 !important;
    font-family: 'Inter', sans-serif !important;
}

/* WC My Account nav */
.woocommerce-account .woocommerce-MyAccount-navigation {
    background: #0A192F;
    border-radius: 12px;
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none; margin: 0; padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 0.6rem 1.25rem;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    color: #C5A365;
    border-left-color: #C5A365;
    background: rgba(197,163,101,0.08);
    text-decoration: none;
}

/* WC shop table */
.woocommerce table.shop_table th {
    background: #0A192F !important;
    color: #C5A365 !important;
    font-family: 'Inter', sans-serif !important;
    padding: 0.75rem 1rem !important;
}

.woocommerce table.shop_table td {
    font-family: 'Inter', sans-serif !important;
    border-bottom: 1px solid #F1F5F9 !important;
}

/* WC notices */
.woocommerce-message { border-top-color: #D94F3D !important; }
.woocommerce-info { border-top-color: #0A192F !important; }
.woocommerce-message::before { color: #D94F3D !important; }
.woocommerce-info::before { color: #0A192F !important; }

/* WC page wrap */
.woocommerce-page-wrap {
    background: #F5F7FA;
    min-height: 50vh;
}

/* --------------------------------------------------------------------------
   8. RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
    .mw-hub-cards { grid-template-columns: repeat(2, 1fr) !important; }
    .mw-account-cards { grid-template-columns: 1fr 1fr !important; }
    .mw-content-grid { grid-template-columns: 1fr !important; }
    .mw-help { position: static !important; }
}

@media (max-width: 640px) {
    .mw-hub-cards { grid-template-columns: 1fr 1fr !important; }
    .mw-grid-2 { grid-template-columns: 1fr !important; }
    .mw-account-cards { grid-template-columns: 1fr !important; }
    .mw-actions button { width: 100% !important; }
    .mw-auth-gate-actions .button { width: 100% !important; text-align: center !important; }
    .mw-review-summary { grid-template-columns: 1fr !important; }
    .mw-auth-bridge-tabs { flex-direction: column !important; }
    .mw-page-hero { padding: 2rem 1rem 1.75rem !important; }
    .mw-page-hero-title { font-size: 1.625rem !important; }

    .mw-my-wills-table,
    .mw-my-wills-table thead,
    .mw-my-wills-table tbody,
    .mw-my-wills-table tr,
    .mw-my-wills-table th,
    .mw-my-wills-table td { display: block !important; width: 100% !important; }
    .mw-my-wills-table thead { display: none !important; }
    .mw-my-wills-table tr { border-bottom: 1px solid #F1F5F9 !important; }

    .mw-builder-wrap { padding: 1rem 0.5rem 3rem !important; }
    .mw-account-hub { padding: 1rem !important; }
}

/* ==========================================================================
   INLINE AUTH BRIDGE — Login & Register Forms
   ========================================================================== */

/* Step breadcrumb row (same pattern as auth gate) */
.mw-auth-bridge--inline .mw-auth-bridge-steps {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    margin: 0 0 1.25rem !important;
}

.mw-auth-bridge--inline .mw-auth-step {
    border: 1.5px solid #CBD5E1;
    border-radius: 999px;
    padding: 0.3rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #94A3B8;
    background: #F8FAFC;
    font-family: 'Inter', sans-serif;
}

.mw-auth-bridge--inline .mw-auth-step.is-active {
    border-color: #0A192F;
    background: #0A192F;
    color: #C5A365;
}

/* Tab switcher — override existing styles for inline variant */
.mw-auth-bridge--inline .mw-auth-bridge-tabs {
    display: flex !important;
    gap: 0.5rem !important;
    margin: 0 0 1.5rem !important;
    background: #F1F5F9 !important;
    border-radius: 12px !important;
    padding: 0.35rem !important;
}

.mw-auth-bridge--inline .mw-auth-tab {
    flex: 1;
    border: none !important;
    border-radius: 8px !important;
    padding: 0.75rem 1rem !important;
    text-decoration: none !important;
    color: #64748B !important;
    font-weight: 600 !important;
    background: transparent !important;
    text-align: center !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9375rem !important;
    transition: all 0.2s !important;
    cursor: pointer;
}

.mw-auth-bridge--inline .mw-auth-tab.is-active {
    color: #0A192F !important;
    background: #fff !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1) !important;
}

.mw-auth-bridge--inline .mw-auth-tab:hover:not(.is-active) {
    color: #0A192F !important;
    background: rgba(255,255,255,0.5) !important;
    text-decoration: none !important;
}

/* Form intro text */
.mw-form-intro {
    color: #5A6A7A;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    margin: 0 0 1.25rem;
    line-height: 1.6;
}

/* Form error banner */
.mw-form-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #DC2626;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

/* Form rows */
.mw-form .mw-form-row {
    margin-bottom: 1.125rem;
}

.mw-form .mw-form-row label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: #334155;
    margin-bottom: 0.4rem;
}

/* All text/email/password inputs inside the form */
.mw-form input[type="text"],
.mw-form input[type="email"],
.mw-form input[type="password"] {
    display: block !important;
    width: 100% !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 8px !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.9375rem !important;
    font-family: 'Inter', sans-serif !important;
    background: #FAFAFA !important;
    color: #1E293B !important;
    transition: border-color 0.18s, box-shadow 0.18s !important;
    box-sizing: border-box !important;
    line-height: 1.4 !important;
}

.mw-form input:focus {
    outline: none !important;
    border-color: #0A192F !important;
    box-shadow: 0 0 0 3px rgba(10, 25, 47, 0.10) !important;
    background: #fff !important;
}

/* Password wrapper with show/hide toggle */
.mw-password-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
}

.mw-password-wrap input[type="password"],
.mw-password-wrap input[type="text"] {
    padding-right: 4.5rem !important;
    flex: 1;
}

.mw-toggle-pw {
    position: absolute !important;
    right: 0.75rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
    color: #64748B !important;
    font-size: 0.8125rem !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    padding: 0.25rem !important;
    z-index: 2;
}

.mw-toggle-pw:hover {
    color: #0A192F !important;
}

/* Password strength meter */
.mw-pw-strength {
    font-size: 0.8125rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-top: 0.4rem;
    min-height: 1.2em;
    transition: color 0.2s;
}

/* Remember me + forgot password inline row */
.mw-form-row.mw-form-row--inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.mw-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #475569;
    font-weight: 500;
    cursor: pointer;
}

.mw-checkbox-label input[type="checkbox"] {
    margin: 0;
    width: auto !important;
    accent-color: #0A192F;
}

.mw-form-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #0A192F;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.mw-form-link:hover {
    color: #C5A365;
}

/* Trust badges row */
.mw-form-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0.75rem 0 1.25rem;
}

.mw-form-trust span {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    color: #475569;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
}

/* Submit button */
.mw-submit-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    width: 100% !important;
    padding: 0.9375rem 2rem !important;
    border-radius: 8px !important;
    border: none !important;
    background: #D94F3D !important;
    color: #fff !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    margin-top: 1rem !important;
    box-shadow: 0 4px 14px rgba(217, 79, 61, 0.3) !important;
    transition: all 0.2s ease !important;
    letter-spacing: 0.01em !important;
}

.mw-submit-btn:hover,
.mw-submit-btn:focus {
    background: #c0392b !important;
    box-shadow: 0 6px 20px rgba(217, 79, 61, 0.4) !important;
    transform: translateY(-2px) !important;
    color: #fff !important;
    text-decoration: none !important;
}

.mw-submit-btn--register {
    background: #0A192F !important;
    box-shadow: 0 4px 14px rgba(10, 25, 47, 0.25) !important;
}

.mw-submit-btn--register:hover {
    background: #0f2744 !important;
    box-shadow: 0 6px 20px rgba(10, 25, 47, 0.35) !important;
}

/* Switch / legal text below form */
.mw-form-switch {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #64748B;
    margin: 1rem 0 0;
}

.mw-form-switch a {
    color: #0A192F;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.mw-form-switch a:hover {
    color: #C5A365;
}

.mw-form-legal {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    color: #94A3B8;
    margin: 0.75rem 0 0;
    line-height: 1.5;
}

.mw-form-legal a {
    color: #64748B;
    text-decoration: underline;
}

/* Already-logged-in state */
.mw-auth-bridge--loggedin {
    text-align: center !important;
    padding: 2rem !important;
}

/* Mobile tweaks */
@media (max-width: 600px) {
    .mw-auth-bridge--inline {
        padding: 1.5rem 1rem !important;
        border-radius: 12px !important;
    }

    .mw-form-row.mw-form-row--inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .mw-submit-btn {
        font-size: 0.9375rem !important;
        padding: 0.875rem 1.5rem !important;
    }
}
