/**
 * Psyrcle — Account Page Stylesheet
 * psyrcle-account.css
 *
 * FILE PLACEMENT:
 *   /wp-content/themes/[your-child-theme]/assets/css/psyrcle-account.css
 *
 * ENQUEUE (add to functions.php):
 *
 *   add_action( 'wp_enqueue_scripts', 'psyrcle_enqueue_account_styles' );
 *   function psyrcle_enqueue_account_styles() {
 *       if ( is_account_page() ) {
 *           wp_enqueue_style(
 *               'psyrcle-account',
 *               get_stylesheet_directory_uri() . '/assets/css/psyrcle-account.css',
 *               [],
 *               '1.0.0'
 *           );
 *       }
 *   }
 *
 * NOTE: Also remove the inline psyrcle_account_styles() function and
 * its add_action( 'wp_head' ) call from my-account.php once this
 * file is enqueued — they do the same job.
 *
 * Covers:
 *   1.  Design tokens (CSS custom properties)
 *   2.  Psyrcle account layout & header
 *   3.  Tab navigation
 *   4.  Cards, grids, fields
 *   5.  Status items & pills
 *   6.  Tables (order, status, log)
 *   7.  Event list
 *   8.  Practice stats grid
 *   9.  Badges (header + psyrcle_status_badge() helper output)
 *  10.  Notices & banners
 *  11.  Buttons
 *  12.  WooCommerce native element overrides
 *        — Navigation (hidden; replaced by psy-tab-nav)
 *        — Orders table
 *        — Edit Account form
 *        — Edit Address form
 *        — Payment Methods
 *        — Notices
 *        — Single order view
 *  13.  Ultimate Member form overrides (edit account)
 *  14.  Responsive breakpoints
 */


/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */

:root {
    --psy-cream:      #F5F0E8;
    --psy-warm-white: #FAF8F3;
    --psy-ink:        #1A1612;
    --psy-bark:       #3B2F24;
    --psy-sage:       #7A8C6E;
    --psy-gold:       #C5A35C;
    --psy-gold-light: #E2C98A;
    --psy-terracotta: #8C4A2F;
    --psy-mist:       #D4CFC7;
    --psy-card:       #FAF8F4;
    --psy-border:     rgba(197, 163, 92, 0.18);
    --psy-border-mid: rgba(212, 207, 199, 0.4);

    /* Status colours */
    --psy-complete-bg:    rgba(122, 140, 110, 0.16);
    --psy-complete-text:  #8aac7c;
    --psy-complete-border:rgba(122, 140, 110, 0.28);
    --psy-pending-bg:     rgba(197, 163, 92, 0.11);
    --psy-pending-text:   #C5A35C;
    --psy-pending-border: rgba(197, 163, 92, 0.24);
    --psy-locked-bg:      rgba(140, 74, 47, 0.10);
    --psy-locked-text:    #c4724d;
    --psy-locked-border:  rgba(140, 74, 47, 0.22);

    /* Typography scale */
    --psy-font-body:    'DM Sans', sans-serif;
    --psy-font-serif:   'Cormorant Garamond', serif;
    --psy-font-display: 'Cinzel', serif;
}


/* ============================================================
   2. ACCOUNT WRAPPER & HERO HEADER
   ============================================================ */

.psyrcle-account {
    font-family: var(--psy-font-body);
    font-weight: 300;
    color: var(--psy-ink);
    background: var(--psy-cream);
}

/* Hero banner behind member name + badges */
.psy-account-hero {
    background: var(--psy-bark);
    padding: 3rem 3rem 2.5rem;
    position: relative;
    overflow: hidden;
}

/* Decorative rings */
.psy-account-hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    border: 1px solid rgba(197, 163, 92, 0.1);
    pointer-events: none;
}
.psy-account-hero::after {
    content: '';
    position: absolute;
    top: 30px; right: 50px;
    width: 160px; height: 160px;
    border-radius: 50%;
    border: 1px solid rgba(197, 163, 92, 0.07);
    pointer-events: none;
}

.psy-hero-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.psy-member-identity {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.psy-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(197, 163, 92, 0.12);
    border: 1px solid rgba(197, 163, 92, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.psy-greeting {
    font-family: var(--psy-font-body);
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--psy-gold);
    margin-bottom: 0.3rem;
}

.psy-name {
    font-family: var(--psy-font-serif);
    font-size: 1.9rem;
    font-weight: 300;
    color: var(--psy-cream);
    letter-spacing: 0.03em;
    line-height: 1.15;
    margin: 0;
}

.psy-meta {
    font-size: 0.7rem;
    color: rgba(245, 240, 232, 0.4);
    letter-spacing: 0.07em;
    margin-top: 0.25rem;
}

/* Header badge strip */
.psy-badges {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    align-items: center;
}

.psy-badge {
    font-family: var(--psy-font-body);
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
}

.badge-active {
    background: rgba(122, 140, 110, 0.22);
    color: #a8c09a;
    border: 1px solid rgba(122, 140, 110, 0.35);
}
.badge-eligible {
    background: rgba(197, 163, 92, 0.14);
    color: var(--psy-gold-light);
    border: 1px solid rgba(197, 163, 92, 0.28);
}
.badge-pending {
    background: rgba(140, 74, 47, 0.18);
    color: #d4836a;
    border: 1px solid rgba(140, 74, 47, 0.3);
}


/* ============================================================
   3. TAB NAVIGATION
   ============================================================ */

.psy-tab-nav {
    background: var(--psy-warm-white);
    border-bottom: 1px solid var(--psy-border);
    padding: 0 3rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbar but keep scroll functionality */
    scrollbar-width: none;
}
.psy-tab-nav::-webkit-scrollbar { display: none; }

.psy-tab-nav ul {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    list-style: none;
    padding: 0;
    gap: 0;
    white-space: nowrap;
}

.psy-tab-nav ul li { margin: 0; }

.psy-tab-nav ul li a {
    display: block;
    font-family: var(--psy-font-body);
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--psy-bark);
    opacity: 0.5;
    text-decoration: none;
    padding: 1.1rem 1.5rem;
    border-bottom: 2px solid transparent;
    transition: opacity 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.psy-tab-nav ul li a:hover {
    opacity: 0.85;
    text-decoration: none;
    color: var(--psy-bark);
}

.psy-tab-nav ul li.psy-tab-active a {
    opacity: 1;
    color: var(--psy-gold);
    border-bottom-color: var(--psy-gold);
}

/* Hide WooCommerce's own nav — we've replaced it */
.woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-navigation {
    display: none !important;
}


/* ============================================================
   4. CONTENT BODY & LAYOUT
   ============================================================ */

.psy-account-body {
    background: var(--psy-cream);
    min-height: 50vh;
}

.psy-content {
    max-width: 1140px;
    margin: 0 auto;
    padding: 2.5rem 3rem 5rem;
}

/* WooCommerce wraps tab content in this — make it full-width */
.woocommerce-MyAccount-content {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Section eyebrow label */
.psy-section-label {
    display: block;
    font-family: var(--psy-font-body);
    font-size: 0.58rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--psy-gold);
    margin-bottom: 1.6rem;
}

/* Two-column grid */
.psy-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}


/* ============================================================
   5. CARDS
   ============================================================ */

.psy-card {
    background: var(--psy-card);
    border: 1px solid var(--psy-border);
    padding: 1.8rem;
    margin-bottom: 1.2rem;
}

.psy-card-title {
    font-family: var(--psy-font-display);
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--psy-bark);
    margin: 0 0 1.2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--psy-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.psy-card-title a {
    font-family: var(--psy-font-body);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: var(--psy-gold);
    text-decoration: none;
    font-weight: 300;
    opacity: 1;
    transition: opacity 0.2s;
}
.psy-card-title a:hover { opacity: 0.65; }

/* Field key/value pairs */
.psy-fields { display: flex; flex-direction: column; gap: 0.95rem; }

.psy-field { display: flex; flex-direction: column; gap: 0.25rem; }

.psy-field-label {
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--psy-mist);
    margin: 0;
}

.psy-field-value {
    font-size: 0.88rem;
    color: var(--psy-ink);
    margin: 0;
}
.psy-field-value.muted {
    color: var(--psy-mist);
    font-style: italic;
    font-size: 0.8rem;
}

/* Address block */
.psy-address {
    font-size: 0.88rem;
    line-height: 1.85;
    color: var(--psy-ink);
    margin: 0;
}
.psy-address-empty {
    font-size: 0.82rem;
    color: var(--psy-mist);
    font-style: italic;
}


/* ============================================================
   6. STATUS LIST ITEMS & PILLS
   ============================================================ */

.psy-status-list { display: flex; flex-direction: column; gap: 0.8rem; }

.psy-status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(245, 240, 232, 0.55);
    border: 1px solid var(--psy-border);
    gap: 1rem;
    flex-wrap: wrap;
}

.psy-status-left { display: flex; align-items: center; gap: 0.75rem; }

.psy-status-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    flex-shrink: 0;
}
.psy-status-icon.complete { background: rgba(122, 140, 110, 0.18); color: var(--psy-sage); }
.psy-status-icon.pending  { background: rgba(197, 163, 92, 0.14);  color: var(--psy-gold); }
.psy-status-icon.locked   { background: rgba(140, 74, 47, 0.14);   color: var(--psy-terracotta); }

.psy-status-name {
    font-size: 0.82rem;
    color: var(--psy-ink);
    font-weight: 400;
    margin: 0;
}

.psy-status-sub {
    font-size: 0.67rem;
    color: var(--psy-mist);
    margin: 0.1rem 0 0;
    letter-spacing: 0.04em;
}

/* Status pills (psy- prefix) */
.psy-pill {
    font-family: var(--psy-font-body);
    font-size: 0.57rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.26rem 0.72rem;
    border-radius: 20px;
    white-space: nowrap;
}

.psy-pill-complete {
    background: var(--psy-complete-bg);
    color: var(--psy-complete-text);
    border: 1px solid var(--psy-complete-border);
}
.psy-pill-pending {
    background: var(--psy-pending-bg);
    color: var(--psy-pending-text);
    border: 1px solid var(--psy-pending-border);
}
.psy-pill-locked {
    background: var(--psy-locked-bg);
    color: var(--psy-locked-text);
    border: 1px solid var(--psy-locked-border);
}

/* psyrcle_status_badge() output from functions.php */
.psyrcle-badge {
    font-family: var(--psy-font-body);
    font-size: 0.57rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.26rem 0.72rem;
    border-radius: 20px;
    display: inline-block;
    white-space: nowrap;
}
.psyrcle-badge--complete {
    background: var(--psy-complete-bg);
    color: var(--psy-complete-text);
    border: 1px solid var(--psy-complete-border);
}
.psyrcle-badge--pending {
    background: var(--psy-pending-bg);
    color: var(--psy-pending-text);
    border: 1px solid var(--psy-pending-border);
}
.psyrcle-badge--locked {
    background: var(--psy-locked-bg);
    color: var(--psy-locked-text);
    border: 1px solid var(--psy-locked-border);
}


/* ============================================================
   7. ORDER TABLE (custom + WooCommerce native)
   ============================================================ */

/* Custom order table (psy-order-table) */
.psy-order-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}
.psy-order-table th {
    font-family: var(--psy-font-body);
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--psy-mist);
    padding: 0.7rem 0.9rem;
    text-align: left;
    border-bottom: 1px solid var(--psy-border);
    font-weight: 400;
    background: transparent;
}
.psy-order-table td {
    padding: 0.95rem 0.9rem;
    border-bottom: 1px solid var(--psy-border-mid);
    color: var(--psy-ink);
    vertical-align: middle;
}
.psy-order-table tr:last-child td { border-bottom: none; }
.psy-order-table tr:hover td { background: rgba(245, 240, 232, 0.5); }

/* WooCommerce native orders table */
.woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    font-family: var(--psy-font-body);
}
.woocommerce-orders-table th,
.woocommerce-orders-table thead th {
    font-family: var(--psy-font-body);
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--psy-mist) !important;
    padding: 0.7rem 0.9rem !important;
    text-align: left !important;
    border-bottom: 1px solid var(--psy-border) !important;
    font-weight: 400 !important;
    background: transparent !important;
}
.woocommerce-orders-table td,
.woocommerce-orders-table tbody td {
    padding: 0.95rem 0.9rem !important;
    border-bottom: 1px solid var(--psy-border-mid) !important;
    color: var(--psy-ink);
    vertical-align: middle;
    background: transparent;
}
.woocommerce-orders-table tbody tr:last-child td { border-bottom: none !important; }
.woocommerce-orders-table tbody tr:hover td { background: rgba(245, 240, 232, 0.5) !important; }

/* Order number cell */
.psy-order-num,
.woocommerce-orders-table__cell-order-number a {
    font-family: var(--psy-font-serif);
    font-size: 0.95rem;
    color: var(--psy-bark);
    text-decoration: none;
}
.woocommerce-orders-table__cell-order-number a:hover { color: var(--psy-gold); }

/* Order status */
.woocommerce-orders-table__cell-order-status mark,
.woocommerce-orders-table__cell-order-status .order-status {
    background: transparent !important;
    padding: 0 !important;
    font-size: 0.75rem;
    font-family: var(--psy-font-body);
}
.woocommerce-orders-table__cell-order-status .wc-completed,
mark.completed  { color: var(--psy-sage) !important; }
mark.processing { color: var(--psy-gold) !important; }
mark.on-hold    { color: var(--psy-gold) !important; }
mark.pending    { color: var(--psy-mist) !important; }

/* View order button in orders table */
.woocommerce-orders-table__cell-order-actions .button,
.woocommerce-orders-table__cell-order-actions a.button {
    font-family: var(--psy-font-body) !important;
    font-size: 0.65rem !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    background: transparent !important;
    color: var(--psy-gold) !important;
    border: 1px solid var(--psy-border) !important;
    padding: 0.35rem 0.85rem !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: border-color 0.2s, color 0.2s !important;
}
.woocommerce-orders-table__cell-order-actions .button:hover {
    border-color: var(--psy-gold) !important;
    color: var(--psy-bark) !important;
    background: transparent !important;
}

/* Order type tags */
.psy-order-tag {
    font-family: var(--psy-font-body);
    font-size: 0.56rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
}
.tag-retreat { background: rgba(140,74,47,0.1);  color: var(--psy-terracotta); border: 1px solid rgba(140,74,47,0.2); }
.tag-event   { background: rgba(122,140,110,0.1); color: var(--psy-sage);       border: 1px solid rgba(122,140,110,0.2); }
.tag-product { background: rgba(197,163,92,0.1);  color: #a0802e;               border: 1px solid rgba(197,163,92,0.2); }
.tag-merch   { background: rgba(59,47,36,0.08);   color: var(--psy-bark);       border: 1px solid rgba(59,47,36,0.15); }

/* Order detail link */
.psy-order-link,
.psy-order-link:visited {
    font-size: 0.68rem;
    color: var(--psy-gold);
    text-decoration: none;
}
.psy-order-link:hover { opacity: 0.65; }

/* Order status text colours */
.psy-status-complete   { color: var(--psy-sage); }
.psy-status-processing { color: var(--psy-gold); }
.psy-status-pending    { color: var(--psy-mist); }


/* ============================================================
   8. SINGLE ORDER VIEW
   ============================================================ */

.woocommerce-order-details,
.woocommerce-customer-details {
    font-family: var(--psy-font-body);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.woocommerce-order-details h2,
.woocommerce-customer-details h2,
.woocommerce-column__title {
    font-family: var(--psy-font-display) !important;
    font-size: 0.65rem !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    color: var(--psy-bark) !important;
    font-weight: 400 !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 1px solid var(--psy-border) !important;
}

.woocommerce-table--order-details {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}
.woocommerce-table--order-details th,
.woocommerce-table--order-details td {
    padding: 0.85rem 0.9rem !important;
    border-bottom: 1px solid var(--psy-border-mid) !important;
    color: var(--psy-ink);
}
.woocommerce-table--order-details tfoot th,
.woocommerce-table--order-details tfoot td {
    font-weight: 400;
    color: var(--psy-bark);
}
.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td {
    font-family: var(--psy-font-serif);
    font-size: 1.1rem;
    border-bottom: none !important;
}


/* ============================================================
   9. EVENT LIST
   ============================================================ */

.psy-event-list { display: flex; flex-direction: column; gap: 1rem; }

.psy-event-item {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 1.3rem 1.5rem;
    background: var(--psy-card);
    border: 1px solid var(--psy-border);
    flex-wrap: wrap;
}

.psy-event-date { text-align: center; min-width: 48px; flex-shrink: 0; }

.psy-event-day {
    font-family: var(--psy-font-serif);
    font-size: 1.9rem;
    font-weight: 300;
    color: var(--psy-bark);
    line-height: 1;
    margin: 0;
}

.psy-event-mon {
    font-family: var(--psy-font-body);
    font-size: 0.58rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--psy-gold);
    margin: 0.15rem 0 0;
}

.psy-event-rule {
    width: 1px;
    height: 40px;
    background: var(--psy-border);
    flex-shrink: 0;
}

.psy-event-info { flex: 1; min-width: 140px; }

.psy-event-name {
    font-family: var(--psy-font-serif);
    font-size: 1rem;
    color: var(--psy-ink);
    margin: 0 0 0.25rem;
    font-weight: 400;
}

.psy-event-meta {
    font-size: 0.68rem;
    color: var(--psy-mist);
    margin: 0;
}

.psy-event-btn,
.psy-event-btn:visited {
    font-family: var(--psy-font-body);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--psy-bark);
    border: 1px solid var(--psy-border);
    padding: 0.42rem 0.9rem;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
    white-space: nowrap;
    display: inline-block;
}
.psy-event-btn:hover { border-color: var(--psy-gold); color: var(--psy-gold); }


/* ============================================================
   10. PRACTICE STATS GRID (functions.php output)
   ============================================================ */

.psyrcle-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--psy-border);
    border: 1px solid var(--psy-border);
    margin-bottom: 1.5rem;
}

.psyrcle-stat {
    background: var(--psy-card);
    padding: 1.5rem;
    text-align: center;
}

.psyrcle-stat-num {
    display: block;
    font-family: var(--psy-font-serif);
    font-size: 2.6rem;
    font-weight: 300;
    color: var(--psy-bark);
    line-height: 1;
}
.psyrcle-stat-num small {
    font-size: 1rem;
    vertical-align: super;
    font-family: var(--psy-font-body);
}

.psyrcle-stat-label {
    display: block;
    font-family: var(--psy-font-body);
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--psy-mist);
    margin-top: 0.5rem;
}


/* ============================================================
   11. STATUS & LOG TABLES (functions.php output)
   ============================================================ */

.psyrcle-account-section { margin-bottom: 0.5rem; }

.psyrcle-account-section h3.psyrcle-section-title {
    font-family: var(--psy-font-display);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--psy-bark);
    font-weight: 400;
    margin: 0 0 1.4rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--psy-border);
}

.psyrcle-member-id {
    font-size: 0.78rem;
    color: var(--psy-mist);
    margin: 0 0 1.2rem;
    letter-spacing: 0.05em;
}
.psyrcle-member-id strong { color: var(--psy-bark); font-weight: 400; }

.psyrcle-status-table,
.psyrcle-log-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    margin-bottom: 1.2rem;
    font-family: var(--psy-font-body);
}

.psyrcle-status-table th,
.psyrcle-log-table th {
    font-family: var(--psy-font-body);
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--psy-mist);
    padding: 0.7rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--psy-border);
    font-weight: 400;
    background: transparent;
}

.psyrcle-status-table td,
.psyrcle-log-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--psy-border-mid);
    vertical-align: middle;
    color: var(--psy-ink);
}

.psyrcle-status-table td small,
.psyrcle-log-table td small {
    display: block;
    font-size: 0.68rem;
    color: var(--psy-mist);
    margin-top: 0.2rem;
}

.psyrcle-status-table tr:last-child td,
.psyrcle-log-table tr:last-child td { border-bottom: none; }

.psyrcle-status-table tr:hover td,
.psyrcle-log-table tr:hover td { background: rgba(245, 240, 232, 0.5); }

/* Dashboard: quick status strip */
.psyrcle-status-quick {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    margin: 0.8rem 0 0;
}
.psyrcle-status-quick li { margin: 0; }

.psyrcle-dashboard h4 {
    font-family: var(--psy-font-display);
    font-size: 0.58rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--psy-bark);
    font-weight: 400;
    margin: 1.2rem 0 0;
}

.psyrcle-dashboard-welcome {
    font-size: 0.92rem;
    color: var(--psy-ink);
    font-family: var(--psy-font-body);
    line-height: 1.6;
}
.psyrcle-dashboard-welcome strong { font-weight: 500; }

.psyrcle-dashboard-recent-order {
    margin-top: 1.2rem;
    font-size: 0.85rem;
    color: var(--psy-ink);
    line-height: 1.6;
}
.psyrcle-dashboard-recent-order a { color: var(--psy-gold); text-decoration: none; }
.psyrcle-dashboard-recent-order a:hover { opacity: 0.7; }


/* ============================================================
   12. NOTICES & INFO BANNERS (functions.php + WooCommerce)
   ============================================================ */

/* functions.php psyrcle notice */
.psyrcle-notice {
    padding: 1.1rem 1.3rem;
    border: 1px solid var(--psy-border);
    font-size: 0.82rem;
    margin-top: 1.2rem;
    background: rgba(197, 163, 92, 0.06);
    color: var(--psy-ink);
    line-height: 1.6;
    font-family: var(--psy-font-body);
}
.psyrcle-notice--info { border-color: rgba(197, 163, 92, 0.25); }
.psyrcle-notice strong { font-weight: 500; display: block; margin-bottom: 0.3rem; }

/* HIPAA note */
.psyrcle-hipaa-note {
    font-size: 0.7rem;
    color: var(--psy-mist);
    margin-top: 1.2rem;
    line-height: 1.6;
    font-family: var(--psy-font-body);
}

/* Empty state */
.psyrcle-empty {
    text-align: center;
    padding: 3rem 2rem;
    border: 1px dashed rgba(197, 163, 92, 0.2);
    font-size: 0.82rem;
    color: var(--psy-mist);
    font-family: var(--psy-font-body);
}

/* WooCommerce notices */
.woocommerce-notices-wrapper { margin-bottom: 1.5rem; }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-radius: 0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    font-family: var(--psy-font-body) !important;
    font-size: 0.85rem !important;
    padding: 1rem 1.2rem !important;
    list-style: none !important;
}
.woocommerce-message {
    background: rgba(122, 140, 110, 0.08) !important;
    border-bottom: 2px solid var(--psy-sage) !important;
    color: var(--psy-bark) !important;
}
.woocommerce-info {
    background: rgba(197, 163, 92, 0.08) !important;
    border-bottom: 2px solid var(--psy-gold) !important;
    color: var(--psy-bark) !important;
}
.woocommerce-error {
    background: rgba(140, 74, 47, 0.07) !important;
    border-bottom: 2px solid var(--psy-terracotta) !important;
    color: var(--psy-terracotta) !important;
}
.woocommerce-error li { list-style: none !important; margin: 0 !important; }


/* ============================================================
   13. BUTTONS
   ============================================================ */

/* Small inline button (functions.php) */
.psyrcle-btn-small,
a.psyrcle-btn-small {
    font-family: var(--psy-font-body) !important;
    font-size: 0.62rem !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    background: var(--psy-bark) !important;
    color: var(--psy-cream) !important;
    border: none !important;
    padding: 0.45rem 1rem !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: background 0.2s !important;
    cursor: pointer !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.psyrcle-btn-small:hover,
a.psyrcle-btn-small:hover {
    background: var(--psy-gold) !important;
    color: var(--psy-cream) !important;
}

/* Outline button */
.psy-btn-outline,
.psy-btn-outline:visited {
    font-family: var(--psy-font-body);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--psy-bark);
    border: 1px solid var(--psy-border);
    padding: 0.5rem 1.1rem;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
    transition: border-color 0.2s, color 0.2s;
    background: transparent;
}
.psy-btn-outline:hover { border-color: var(--psy-gold); color: var(--psy-gold); }

/* WooCommerce primary button */
.woocommerce-account .button,
.woocommerce-account button[type="submit"],
.woocommerce-account input[type="submit"] {
    font-family: var(--psy-font-body) !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    background: var(--psy-bark) !important;
    color: var(--psy-cream) !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0.75rem 1.8rem !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    box-shadow: none !important;
    text-decoration: none !important;
    display: inline-block !important;
    line-height: 1.4 !important;
}
.woocommerce-account .button:hover,
.woocommerce-account button[type="submit"]:hover,
.woocommerce-account input[type="submit"]:hover {
    background: var(--psy-gold) !important;
    color: var(--psy-cream) !important;
}

/* Pass / security rows */
.psy-pass-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--psy-border-mid);
    gap: 1rem;
}
.psy-pass-row:last-child { border-bottom: none; }

.psy-pass-label {
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--psy-mist);
    flex: 1;
    margin: 0;
}
.psy-pass-val {
    font-size: 0.82rem;
    color: var(--psy-ink);
    flex: 2;
}
.psy-pass-link,
.psy-pass-link:visited {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--psy-gold);
    text-decoration: none;
    transition: opacity 0.2s;
}
.psy-pass-link:hover { opacity: 0.65; }


/* ============================================================
   14. WOOCOMMERCE FORM OVERRIDES
       (Edit Account, Edit Address, Payment Methods)
   ============================================================ */

/* Form layout */
.woocommerce-EditAccountForm,
.woocommerce-address-fields {
    font-family: var(--psy-font-body);
}

.woocommerce-EditAccountForm h3,
.woocommerce-address-fields h3 {
    font-family: var(--psy-font-display) !important;
    font-size: 0.62rem !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    color: var(--psy-bark) !important;
    font-weight: 400 !important;
    margin: 0 0 1.2rem !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 1px solid var(--psy-border) !important;
}

/* Form rows */
.woocommerce-form-row,
.form-row {
    margin-bottom: 1.2rem !important;
}

/* Labels */
.woocommerce-form-row label,
.form-row label,
.woocommerce-account label {
    font-family: var(--psy-font-body) !important;
    font-size: 0.62rem !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: var(--psy-mist) !important;
    margin-bottom: 0.4rem !important;
    display: block !important;
    font-weight: 400 !important;
}

/* All text inputs */
.woocommerce-account input[type="text"],
.woocommerce-account input[type="email"],
.woocommerce-account input[type="password"],
.woocommerce-account input[type="tel"],
.woocommerce-account input[type="number"],
.woocommerce-account select,
.woocommerce-account textarea {
    font-family: var(--psy-font-body) !important;
    font-size: 0.88rem !important;
    font-weight: 300 !important;
    color: var(--psy-ink) !important;
    background: var(--psy-warm-white) !important;
    border: 1px solid var(--psy-border) !important;
    border-radius: 0 !important;
    padding: 0.7rem 0.9rem !important;
    width: 100% !important;
    box-shadow: none !important;
    transition: border-color 0.2s !important;
    outline: none !important;
    box-sizing: border-box !important;
}

.woocommerce-account input[type="text"]:focus,
.woocommerce-account input[type="email"]:focus,
.woocommerce-account input[type="password"]:focus,
.woocommerce-account input[type="tel"]:focus,
.woocommerce-account select:focus,
.woocommerce-account textarea:focus {
    border-color: var(--psy-gold) !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Placeholder text */
.woocommerce-account input::placeholder,
.woocommerce-account textarea::placeholder {
    color: var(--psy-mist) !important;
    font-style: italic !important;
    font-size: 0.82rem !important;
}

/* Fieldset / legend */
.woocommerce-account fieldset {
    border: 1px solid var(--psy-border) !important;
    padding: 1.2rem !important;
    margin-bottom: 1.5rem !important;
}
.woocommerce-account fieldset legend {
    font-family: var(--psy-font-display) !important;
    font-size: 0.58rem !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    color: var(--psy-bark) !important;
    padding: 0 0.5rem !important;
    font-weight: 400 !important;
}

/* Password strength indicator */
.woocommerce-account .woocommerce-password-strength {
    font-size: 0.72rem !important;
    letter-spacing: 0.06em !important;
    margin-top: 0.4rem !important;
    font-family: var(--psy-font-body) !important;
    border-radius: 0 !important;
}

/* WooCommerce address display */
.woocommerce-Addresses .woocommerce-Address {
    background: var(--psy-card);
    border: 1px solid var(--psy-border);
    padding: 1.8rem;
    margin-bottom: 1.2rem;
    font-family: var(--psy-font-body);
}
.woocommerce-Addresses .woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 1px solid var(--psy-border) !important;
}
.woocommerce-Addresses .woocommerce-Address-title h3 {
    font-family: var(--psy-font-display) !important;
    font-size: 0.58rem !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    color: var(--psy-bark) !important;
    font-weight: 400 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}
.woocommerce-Addresses .woocommerce-Address-title .edit {
    font-family: var(--psy-font-body) !important;
    font-size: 0.6rem !important;
    letter-spacing: 0.1em !important;
    color: var(--psy-gold) !important;
    text-decoration: none !important;
}
.woocommerce-Addresses address {
    font-family: var(--psy-font-body) !important;
    font-size: 0.88rem !important;
    line-height: 1.85 !important;
    color: var(--psy-ink) !important;
    font-style: normal !important;
}


/* ============================================================
   15. PAYMENT METHODS
   ============================================================ */

.woocommerce-MyAccount-paymentMethods {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    font-family: var(--psy-font-body);
}

.woocommerce-MyAccount-paymentMethods th {
    font-size: 0.58rem !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    color: var(--psy-mist) !important;
    padding: 0.7rem 0.9rem !important;
    text-align: left !important;
    border-bottom: 1px solid var(--psy-border) !important;
    font-weight: 400 !important;
    background: transparent !important;
}

.woocommerce-MyAccount-paymentMethods td {
    padding: 0.95rem 0.9rem !important;
    border-bottom: 1px solid var(--psy-border-mid) !important;
    color: var(--psy-ink) !important;
    vertical-align: middle !important;
}

.woocommerce-MyAccount-paymentMethods tr:last-child td { border-bottom: none !important; }

.woocommerce-MyAccount-paymentMethods .button {
    font-size: 0.62rem !important;
    padding: 0.35rem 0.85rem !important;
    letter-spacing: 0.12em !important;
}


/* ============================================================
   16. ULTIMATE MEMBER FORM OVERRIDES
       (when UM edit-account form is embedded via shortcode)
   ============================================================ */

.um-form,
.um .um-field-area {
    font-family: var(--psy-font-body) !important;
}

.um .um-field-label label {
    font-size: 0.62rem !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: var(--psy-mist) !important;
    font-weight: 400 !important;
}

.um input[type="text"],
.um input[type="email"],
.um input[type="password"],
.um input[type="tel"],
.um select,
.um textarea {
    font-family: var(--psy-font-body) !important;
    font-size: 0.88rem !important;
    font-weight: 300 !important;
    color: var(--psy-ink) !important;
    background: var(--psy-warm-white) !important;
    border: 1px solid var(--psy-border) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: border-color 0.2s !important;
}

.um input:focus,
.um select:focus,
.um textarea:focus {
    border-color: var(--psy-gold) !important;
    box-shadow: none !important;
    outline: none !important;
}

.um .um-button,
.um input[type="submit"] {
    font-family: var(--psy-font-body) !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    background: var(--psy-bark) !important;
    color: var(--psy-cream) !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0.75rem 1.8rem !important;
    box-shadow: none !important;
    transition: background 0.2s !important;
}
.um .um-button:hover,
.um input[type="submit"]:hover {
    background: var(--psy-gold) !important;
}


/* ============================================================
   17. RESPONSIVE BREAKPOINTS
   ============================================================ */

@media (max-width: 1024px) {
    .psy-account-hero { padding: 2.5rem 2rem 2rem; }
    .psy-tab-nav      { padding: 0 2rem; }
    .psy-content      { padding: 2rem 2rem 4rem; }
}

@media (max-width: 900px) {
    .psy-account-hero { padding: 2rem 1.5rem 1.8rem; }
    .psy-tab-nav      { padding: 0 1.5rem; }
    .psy-content      { padding: 2rem 1.5rem 4rem; }
    .psy-grid-2       { grid-template-columns: 1fr; }
    .psyrcle-stats-grid { grid-template-columns: 1fr 1fr; }
    .psy-hero-inner   { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 680px) {
    .psy-name { font-size: 1.5rem; }
    .psy-grid-2 { grid-template-columns: 1fr; }
    .psyrcle-stats-grid { grid-template-columns: 1fr; }

    /* Hide less essential table columns on mobile */
    .woocommerce-orders-table th:nth-child(3),
    .woocommerce-orders-table td:nth-child(3),
    .psy-order-table th:nth-child(5),
    .psy-order-table td:nth-child(5) { display: none; }

    /* Stack status items */
    .psy-status-item { flex-direction: column; align-items: flex-start; }
    .psy-event-item  { flex-direction: column; align-items: flex-start; }
    .psy-event-rule  { display: none; }
}

@media (max-width: 480px) {
    .psy-account-hero  { padding: 1.8rem 1.2rem; }
    .psy-tab-nav ul li a { padding: 1rem 1rem; font-size: 0.6rem; }
    .psy-content { padding: 1.5rem 1.2rem 3rem; }
    .psy-card    { padding: 1.2rem; }
    .psyrcle-status-table th,
    .psyrcle-status-table td { padding: 0.7rem 0.6rem; }
}
