/* ===================================================================
 * Accounts Manager Plus by WMD — Frontend Styles
 * Dark theme dashboard matching the design spec.
 * Theme colors are injected as CSS variables via inline <style>
 * in the shortcode output (overriding the defaults below).
 * =================================================================== */

.amp-wmb-dashboard {
    --amp-bg: #0f0f12;
    --amp-card: #1a1a20;
    --amp-accent: #6c2dc4;
    --amp-text: #ffffff;
    --amp-muted: #b3b3b3;
    --amp-border: #2a2a30;

    background: var(--amp-bg);
    color: var(--amp-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    padding: 24px;
    border-radius: 12px;
    min-height: 600px;
}

.amp-wmb-dashboard * {
    box-sizing: border-box;
}

/* ===== Three-Column Grid ===== */
.amp-wmb-grid {
    display: grid;
    grid-template-columns: 260px 1fr 320px;
    gap: 20px;
}

@media (max-width: 1200px) {
    .amp-wmb-grid {
        grid-template-columns: 240px 1fr;
    }
    .amp-right {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .amp-wmb-grid {
        grid-template-columns: 1fr;
    }
    .amp-right {
        grid-template-columns: 1fr;
    }
}

/* ===== Generic Card ===== */
.amp-card {
    background: var(--amp-card);
    border: 1px solid var(--amp-border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

/* ===== Sidebar (Left Column) ===== */
.amp-sidebar {
    background: var(--amp-card);
    border: 1px solid var(--amp-border);
    border-radius: 12px;
    padding: 20px;
    position: sticky;
    top: 20px;
    align-self: start;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.amp-profile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--amp-border);
    margin-bottom: 16px;
}

.amp-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--amp-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.amp-profile-info {
    min-width: 0;
}

.amp-username {
    font-size: 16px;
    font-weight: 600;
    color: var(--amp-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.amp-tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    color: #fff;
    margin-top: 4px;
}

.amp-tier-badge .amp-icon {
    width: 12px;
    height: 12px;
}

/* ===== Nav Menu ===== */
.amp-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.amp-nav li {
    margin: 0;
    padding: 0;
}

.amp-nav li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--amp-muted);
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.15s ease;
}

.amp-nav li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--amp-text);
}

.amp-nav li.amp-nav-active a {
    background: var(--amp-accent);
    color: #fff;
}

.amp-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.amp-nav-icon .amp-icon {
    width: 18px;
    height: 18px;
}

.amp-nav-label {
    flex: 1;
}

.amp-nav-badge {
    background: var(--amp-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* ===== Main Content (Center Column) ===== */
.amp-main-header {
    margin-bottom: 24px;
}

.amp-main-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--amp-text);
    margin: 0 0 4px 0;
}

.amp-main-header p {
    color: var(--amp-muted);
    font-size: 14px;
    margin: 0;
}

/* ===== Promo Card ===== */
.amp-promo-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(135deg, var(--amp-accent), #4a1f8a);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.amp-promo-icon {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 12px;
    flex-shrink: 0;
}

.amp-promo-icon .amp-icon {
    width: 28px;
    height: 28px;
    color: #fff;
}

.amp-promo-content h2 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px 0;
}

.amp-promo-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

/* ===== Tier Summary ===== */
.amp-tier-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 600px) {
    .amp-tier-summary {
        grid-template-columns: 1fr;
    }
}

.amp-tier-status,
.amp-lifetime-spend {
    background: var(--amp-card);
    border: 1px solid var(--amp-border);
    border-radius: 12px;
    padding: 20px;
}

.amp-tier-status-label,
.amp-lifetime-label {
    font-size: 12px;
    color: var(--amp-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.amp-tier-status-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.amp-tier-status-name .amp-icon {
    width: 28px;
    height: 28px;
}

/* Progress Bar */
.amp-progress-bar-container {
    margin-top: 12px;
}

.amp-progress-bar-track {
    width: 100%;
    height: 8px;
    background: var(--amp-border);
    border-radius: 4px;
    overflow: hidden;
}

.amp-progress-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.amp-progress-bar-text {
    font-size: 13px;
    color: var(--amp-text);
    font-weight: 600;
    margin-top: 8px;
}

.amp-progress-bar-subtext {
    font-size: 12px;
    color: var(--amp-muted);
    margin-top: 4px;
}

.amp-max-tier-msg {
    color: var(--amp-muted);
    font-size: 14px;
    font-style: italic;
}

/* Lifetime Spend */
.amp-lifetime-amount {
    font-size: 32px;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 6px;
}

.amp-lifetime-subtext {
    font-size: 12px;
    color: var(--amp-muted);
}

/* ===== Tier Cards Grid ===== */
.amp-tier-cards-section {
    margin-bottom: 24px;
}

.amp-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--amp-text);
    margin: 0 0 16px 0;
}

.amp-tier-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 900px) {
    .amp-tier-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .amp-tier-cards-grid {
        grid-template-columns: 1fr;
    }
}

.amp-tier-card {
    position: relative;
    background: var(--amp-card);
    border: 2px solid var(--amp-border);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    transition: transform 0.15s ease;
}

.amp-tier-card:hover {
    transform: translateY(-2px);
}

.amp-tier-card-current {
    border-width: 2px;
}

.amp-tier-current-label {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    white-space: nowrap;
}

.amp-tier-card-icon {
    margin: 8px auto 12px;
}

.amp-tier-card-icon .amp-icon {
    width: 36px;
    height: 36px;
}

.amp-tier-card-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.amp-tier-card-range {
    font-size: 12px;
    color: var(--amp-muted);
    margin-bottom: 16px;
}

.amp-tier-rewards-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.amp-tier-rewards-list li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px;
    color: var(--amp-muted);
    padding: 4px 0;
    line-height: 1.4;
}

.amp-reward-check {
    color: #22c55e;
    font-weight: 700;
    flex-shrink: 0;
}

.amp-tier-card-locked {
    opacity: 0.6;
}

.amp-tier-locked-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--amp-muted);
    background: rgba(0, 0, 0, 0.5);
    padding: 12px 20px;
    border-radius: 8px;
}

.amp-tier-locked-overlay .amp-icon {
    width: 20px;
    height: 20px;
}

.amp-tier-footer-note {
    text-align: center;
    color: var(--amp-muted);
    font-size: 13px;
    margin-top: 16px;
}

/* ===== Rewards Bar ===== */
.amp-rewards-bar {
    display: flex;
    justify-content: space-around;
    background: var(--amp-card);
    border: 1px solid var(--amp-border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.amp-reward-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--amp-muted);
    text-align: center;
}

.amp-reward-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(108, 45, 196, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amp-accent);
}

.amp-reward-icon .amp-icon {
    width: 22px;
    height: 22px;
}

/* ===== Right Column Widgets ===== */
.amp-widget-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--amp-text);
    margin: 0 0 16px 0;
}

.amp-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.amp-widget-header .amp-widget-title {
    margin: 0;
}

/* Status Widget */
.amp-status-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.amp-status-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(108, 45, 196, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amp-accent);
    flex-shrink: 0;
}

.amp-status-icon .amp-icon {
    width: 20px;
    height: 20px;
}

.amp-status-label {
    font-size: 12px;
    color: var(--amp-muted);
}

.amp-status-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--amp-text);
}

.amp-status-divider {
    height: 1px;
    background: var(--amp-border);
    margin: 16px 0;
}

/* Affiliate Widget */
.amp-affiliate-code-block {
    margin-bottom: 16px;
}

.amp-affiliate-code-label {
    font-size: 12px;
    color: var(--amp-muted);
    margin-bottom: 6px;
}

.amp-affiliate-code-row,
.amp-affiliate-url-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.amp-affiliate-code {
    flex: 1;
    background: var(--amp-bg);
    color: var(--amp-accent);
    font-size: 16px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--amp-border);
    letter-spacing: 1px;
}

.amp-affiliate-url-input {
    flex: 1;
    background: var(--amp-bg);
    color: var(--amp-muted);
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--amp-border);
    min-width: 0;
}

.amp-copy-btn {
    background: var(--amp-bg);
    border: 1px solid var(--amp-border);
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
    color: var(--amp-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.amp-copy-btn:hover {
    background: var(--amp-accent);
    color: #fff;
}

.amp-copy-btn .amp-icon {
    width: 16px;
    height: 16px;
}

.amp-affiliate-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.amp-affiliate-stat {
    background: var(--amp-bg);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

.amp-stat-label {
    font-size: 11px;
    color: var(--amp-muted);
    margin-bottom: 4px;
}

.amp-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--amp-text);
}

.amp-store-credit-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--amp-muted);
}

.amp-store-credit-display strong {
    color: #22c55e;
    font-size: 15px;
}

/* Buttons */
.amp-wmb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.15s ease;
}

.amp-wmb-btn-primary {
    background: var(--amp-accent);
    color: #fff;
}

.amp-wmb-btn-primary:hover {
    opacity: 0.9;
    color: #fff;
}

.amp-wmb-btn-block {
    display: flex;
    width: 100%;
    margin-bottom: 8px;
}

.amp-wmb-link {
    display: inline-block;
    color: var(--amp-accent);
    font-size: 13px;
    text-decoration: none;
}

.amp-wmb-link:hover {
    text-decoration: underline;
}

/* Quick Actions */
.amp-quick-actions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.amp-quick-actions-list li {
    border-bottom: 1px solid var(--amp-border);
}

.amp-quick-actions-list li:last-child {
    border-bottom: none;
}

.amp-quick-actions-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: var(--amp-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.15s ease;
}

.amp-quick-actions-list li a:hover {
    color: var(--amp-accent);
}

.amp-arrow {
    color: var(--amp-accent);
}

/* Recent Orders */
.amp-orders-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.amp-order-item {
    border-bottom: 1px solid var(--amp-border);
}

.amp-order-item:last-child {
    border-bottom: none;
}

.amp-order-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    text-decoration: none;
    color: var(--amp-text);
}

.amp-order-number {
    font-size: 14px;
    font-weight: 600;
}

.amp-order-date {
    font-size: 12px;
    color: var(--amp-muted);
    margin-top: 2px;
}

.amp-order-status {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: capitalize;
}

.amp-status-green  { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.amp-status-amber  { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.amp-status-blue   { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.amp-status-gray   { background: rgba(156, 163, 175, 0.15); color: #9ca3af; }
.amp-status-red    { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

.amp-empty-state {
    color: var(--amp-muted);
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

/* Rewards Section (standalone) */
.amp-rewards-overview h2 {
    color: var(--amp-text);
    margin: 0 0 20px 0;
}

.amp-rewards-balance {
    text-align: center;
    padding: 24px;
    background: var(--amp-bg);
    border-radius: 12px;
    margin-bottom: 20px;
}

.amp-balance-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--amp-accent);
}

.amp-balance-label {
    font-size: 14px;
    color: var(--amp-muted);
    margin-top: 4px;
}

.amp-balance-value {
    font-size: 13px;
    color: var(--amp-muted);
    margin-top: 8px;
}

.amp-rewards-history h3 {
    font-size: 16px;
    color: var(--amp-text);
    margin: 20px 0 12px 0;
}

.amp-rewards-log {
    list-style: none;
    padding: 0;
    margin: 0;
}

.amp-rewards-log li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--amp-border);
    font-size: 13px;
}

.amp-rewards-log li:last-child {
    border-bottom: none;
}

.amp-log-type {
    font-weight: 700;
    min-width: 60px;
}

.amp-log-earn {
    color: #22c55e;
}

.amp-log-redeem {
    color: #ef4444;
}

.amp-log-reason {
    flex: 1;
    color: var(--amp-muted);
}

.amp-log-date {
    color: var(--amp-muted);
    font-size: 12px;
}

/* Login Prompt */
.amp-wmb-login-prompt .amp-wmb-btn {
    margin-top: 16px;
}

/* ===== Tab Views (amp_tab fix) ===== */
.amp-affiliate-dashboard { padding: 4px 0; }
.amp-affiliate-dashboard .amp-muted { color: var(--amp-muted, #b3b3b3); }
.amp-affiliate-howitworks { margin-top: 24px; padding: 20px; background: var(--amp-card, #1a1a20); border: 1px solid var(--amp-border, #2a2a30); border-radius: 12px; }
.amp-affiliate-howitworks h3 { margin: 0 0 10px; color: var(--amp-text, #fff); font-size: 16px; }
.amp-affiliate-howitworks ol { margin: 0; padding-left: 20px; color: var(--amp-muted, #b3b3b3); line-height: 1.9; font-size: 14px; }
.amp-affiliate-log { margin-top: 24px; }
.amp-affiliate-log h3 { margin: 0 0 12px; color: var(--amp-text, #fff); font-size: 16px; }
.amp-table { width: 100%; border-collapse: collapse; background: var(--amp-card, #1a1a20); border: 1px solid var(--amp-border, #2a2a30); border-radius: 10px; overflow: hidden; }
.amp-table th, .amp-table td { padding: 12px 14px; text-align: left; font-size: 14px; color: var(--amp-text, #fff); border-bottom: 1px solid var(--amp-border, #2a2a30); }
.amp-table th { background: rgba(108,45,196,0.15); font-weight: 600; }
.amp-table tr:last-child td { border-bottom: none; }
.amp-empty-state { padding: 36px 20px; text-align: center; background: var(--amp-card, #1a1a20); border: 1px dashed var(--amp-border, #2a2a30); border-radius: 12px; color: var(--amp-muted, #b3b3b3); }
.amp-empty-state p { margin: 0 0 14px; font-size: 14px; }
.amp-wishlist-section { padding: 4px 0; }
.amp-wishlist-grid { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.amp-wishlist-item a { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.amp-wishlist-item img { border-radius: 8px; width: 100%; height: auto; }
.amp-wishlist-name { color: var(--amp-text, #fff); font-size: 14px; font-weight: 600; }
.amp-wishlist-price { color: var(--amp-accent, #6c2dc4); font-size: 14px; font-weight: 700; }
.amp-rewards-overview { padding: 24px; }
.amp-rewards-overview h2 { color: var(--amp-text, #fff); margin: 0 0 16px; }
.amp-rewards-balance { text-align: center; padding: 20px 0; }
.amp-balance-number { font-size: 44px; font-weight: 800; color: var(--amp-accent, #6c2dc4); line-height: 1; }
.amp-balance-label { color: var(--amp-muted, #b3b3b3); margin-top: 6px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.amp-balance-value { color: var(--amp-text, #fff); margin-top: 8px; font-size: 14px; }
.amp-rewards-bar { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 20px 0; }
.amp-reward-item { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--amp-card, #1a1a20); border: 1px solid var(--amp-border, #2a2a30); border-radius: 999px; color: var(--amp-text, #fff); font-size: 13px; }
.amp-reward-item .amp-reward-icon svg { width: 16px; height: 16px; color: var(--amp-accent, #6c2dc4); }
.amp-rewards-history { margin-top: 24px; }
.amp-rewards-history h3 { color: var(--amp-text, #fff); font-size: 16px; margin: 0 0 12px; }
.amp-rewards-log { list-style: none; padding: 0; margin: 0; }
.amp-rewards-log li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--amp-border, #2a2a30); font-size: 14px; color: var(--amp-text, #fff); }
.amp-rewards-log .amp-log-earn { color: #22c55e; font-weight: 700; min-width: 60px; }
.amp-rewards-log .amp-log-redeem { color: #ef4444; font-weight: 700; min-width: 60px; }
.amp-rewards-log .amp-log-reason { flex: 1; color: var(--amp-muted, #b3b3b3); }
.amp-rewards-log .amp-log-date { color: var(--amp-muted, #b3b3b3); font-size: 12px; }
@media (max-width: 768px) {
    .amp-affiliate-stats { grid-template-columns: 1fr 1fr !important; }
    .amp-table { font-size: 12px; }
    .amp-wishlist-grid { grid-template-columns: 1fr 1fr !important; }
}


/* ===== WooCommerce endpoint content (native WC rendered inside dashboard) ===== */
.amp-wc-content { background:#fff; color:#2a2a30; border-radius:12px; padding:24px; margin-bottom:16px; min-height:200px; }
.amp-wc-content a { color:#6c2dc4; }
.amp-wc-content h2, .amp-wc-content h3 { color:#1a1a20; }
.amp-wc-content .woocommerce-message, .amp-wc-content .woocommerce-info, .amp-wc-content .woocommerce-error { border-radius:8px; }
.amp-wc-content table th, .amp-wc-content table td { color:#2a2a30; }
.amp-wc-content input[type=text], .amp-wc-content input[type=email], .amp-wc-content input[type=password], .amp-wc-content input[type=tel], .amp-wc-content input[type=url], .amp-wc-content select, .amp-wc-content textarea { background:#fff; color:#2a2a30; border:1px solid #d1d5db; border-radius:6px; padding:8px 10px; }
.amp-wc-content .button, .amp-wc-content .woocommerce-Button, .amp-wc-content button { background:#6c2dc4 !important; color:#fff !important; border:none; border-radius:8px; padding:10px 18px; font-weight:600; }
.amp-wc-content .button:hover, .amp-wc-content .woocommerce-Button:hover, .amp-wc-content button:hover { background:#5a28a8 !important; color:#fff !important; }
.amp-wc-content .woocommerce-MyAccount-navigation { display:none; }

/* ===== Mobile Nav Drawer ===== */
.amp-nav-toggle { display:none; }
.amp-nav-backdrop { display:none; }

@media (max-width: 768px) {
    .amp-nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 0;
        background: var(--amp-accent, #6c2dc4);
        border: none;
        border-radius: 10px;
        cursor: pointer;
        flex-shrink: 0;
    }
    .amp-nav-toggle .amp-nav-toggle-bar {
        display:block;
        width: 20px;
        height: 2px;
        background:#fff;
        border-radius:2px;
    }
    .amp-main-header { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
    .amp-main-header-text { flex:1; min-width:0; }

    .amp-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        max-width: 85vw;
        max-height: 100vh;
        border-radius: 0;
        z-index: 10001;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        overflow-y: auto;
        padding: 20px 16px;
    }
    .amp-wmb-dashboard.amp-nav-open .amp-sidebar { transform: translateX(0); }

    .amp-nav-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.55);
        z-index: 10000;
    }
    .amp-wmb-dashboard.amp-nav-open .amp-nav-backdrop { display: block; }
}
