/* MHP Account Dashboard Styles */
:root {
    /* Colors */
    --mhp-bg-dark: #11122b;
    --mhp-bg-dark-blue: #1f1f52;
    --mhp-bg-darker: #120c2e;
    --mhp-bg-dark-alt: #1e1e40;
    --mhp-bg-card: #202637;
    /* User requested override */
    --mhp-bg-card-hover: #242649;
    --mhp-bg-card-dark: #15162b;
    --mhp-bg-card-dark-hover: #1a1b35;
    --mhp-bg-light: #f0f2f5;
    --mhp-bg-white: #ffffff;

    /* Brand Colors */
    --mhp-primary: #00d084;
    --mhp-primary-hover: #00b874;
    --mhp-secondary: #4facfe;
    --mhp-accent: #ff6b6b;
    --mhp-yellow: #ffe600;
    --mhp-orange: #ff9f43;
    
    /* Rank Colors */
    --mhp-rank-newbie: #ffe600;
    --mhp-rank-explorer: #019ce0;
    --mhp-rank-pro: #df070e;
    --mhp-rank-expert: #5a36dd;

    /* Plugin Brand Colors */
    --mhp-plugin-swift: #f2280d;
    --mhp-plugin-bugmonitor: #5936dd;
    --mhp-plugin-shifty: #fb4313;
    --mhp-plugin-wpacp: #5668fc;
    --mhp-plugin-cookie: #004feb;
    --mhp-plugin-analytics: #0caab3;
    --mhp-plugin-captcha: #e5050f;
    --mhp-plugin-redirect: #00a3dd;

    /* Text Colors */
    --mhp-text-white: #ffffff;
    --mhp-text-dark: #1a2332;
    --mhp-text-muted: #a0a3bd;
    --mhp-text-muted-light: #e0e0e0;

    /* Borders */
    --mhp-border-color: #353866;
    --mhp-border-dark: #2a2c45;
    --mhp-border-light: rgba(255, 255, 255, 0.1);

    /* Gradients */
    --mhp-gradient-primary: linear-gradient(90deg, #0dc167 0%, #2acb7b 100%);
    --mhp-gradient-hero-bg: linear-gradient(135deg, #120c2e 0%, #1e1e40 100%);
    --mhp-gradient-hero-btn: linear-gradient(180deg, #2ce58e 0%, #00c878 100%);
    --mhp-gradient-affiliate: linear-gradient(90deg, #1a1b4b 0%, #4b6cb7 100%);
    --mhp-gradient-promo: linear-gradient(135deg, #1a1b4b 0%, #2e1a47 100%);

    /* Spacing */
    --mhp-spacing-xs: 8px;
    --mhp-spacing-sm: 15px;
    --mhp-spacing-md: 20px;
    --mhp-spacing-lg: 30px;
    --mhp-spacing-xl: 50px;
    --mhp-spacing-xxl: 80px;
    --mhp-spacing-hero: 100px;

    /* Border Radius */
    --mhp-radius-sm: 6px;
    --mhp-radius-md: 12px;
    --mhp-radius-lg: 20px;
    --mhp-radius-pill: 50px;
    --mhp-radius-circle: 50%;

    /* Shadows */
    --mhp-shadow-sm: 0 4px 15px rgba(0, 230, 118, 0.3);
    --mhp-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --mhp-shadow-hero-btn: 0 10px 40px rgba(0, 200, 120, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.3);
    --mhp-shadow-hero-btn-hover: 0 15px 50px rgba(0, 200, 120, 0.7), inset 0 2px 0 rgba(255, 255, 255, 0.3);
    --mhp-shadow-card: 0 5px 15px rgba(0, 0, 0, 0.2);
    --mhp-shadow-text: 0 1px 2px rgba(0, 0, 0, 0.1);

    /* Fonts */
    --mhp-font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html .woocommerce-account .woocommerce-MyAccount-content {
    width: 100%;
    background-color: transparent;
}

body.woocommerce-account {
    background-color: var(--mhp-bg-dark) !important;
}

body.woocommerce-account #content-wrapper,
body.woocommerce-account #content-wrapper > article {
    background-color: var(--mhp-bg-dark) !important;
    color: var(--mhp-text-white);
}

body.woocommerce-account #content-wrapper > article {
    padding: 2em;
}

.woocommerce-add-payment-method .mhp-payment-box label.checkbox {
    display: inline-flex !important;
    align-items: center;
    gap: 1.5em;
    flex-wrap: nowrap;
    padding: 0 16px;
}

.wc_payment_method :checked + label {
  background: rgba(255,255,255,.2);
  padding: 10px;
}

.woocommerce form .form-row label.checkbox input[type="checkbox"],
.woocommerce-page form .form-row label.checkbox input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px;
    flex-shrink: 0;
    margin: 0;
}

body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error,
body.woocommerce-account ul.woocommerce-error {
    background-color: var(--mhp-bg-card) !important;
    border-top-color: var(--mhp-primary) !important;
    color: var(--mhp-text-white) !important;
}

body.woocommerce-account .woocommerce-error {
    border-top-color: var(--mhp-accent) !important;
}

body.woocommerce-account .woocommerce-notices-wrapper {
    background: transparent;
}

.mhp-dashboard-wrapper {
    background-color: var(--mhp-bg-light);
    color: var(--mhp-text-dark);
    font-family: var(--mhp-font-family);
    overflow: hidden;
    margin-bottom: var(--mhp-spacing-lg);
}

.mhp-dashboard-wrapper * {
    box-sizing: border-box;
}

.mhp-dashboard-wrapper a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Typography */
.mhp-dashboard-wrapper h2,
.mhp-dashboard-wrapper h3,
.mhp-dashboard-wrapper h4 {
    margin-top: 0;
    line-height: 1.2;
}

.mhp-dashboard-wrapper p {
    line-height: 1.6;
}

/* Buttons */
.mhp-btn,
.mhp-cancel-confirm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--mhp-radius-pill);
    font-weight: 700;
    font-size: 0.95em;
    cursor: pointer;
    border: none;
    gap: var(--mhp-spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.mhp-btn-primary {
    background: var(--mhp-gradient-primary);
    color: var(--mhp-text-white);
    box-shadow: var(--mhp-shadow-sm);
}

.mhp-btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 230, 118, 0.4);
    transform: translateY(-2px);
}

.mhp-btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--mhp-text-white);
}

.mhp-btn-outline:hover {
    border-color: var(--mhp-text-white);
    background: rgba(255, 255, 255, 0.1);
}

.mhp-btn-dark {
    background: var(--mhp-bg-dark);
    color: var(--mhp-text-white);
    border: 1px solid var(--mhp-border-color);
}

.mhp-btn-dark:hover {
    background: var(--mhp-bg-card);
}

.mhp-btn-small {
    padding: 8px 16px;
    font-size: 0.8em;
}

.mhp-btn-ghost {
    background: transparent;
    border: 1px solid var(--mhp-border-color);
    color: var(--mhp-text-muted-light);
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.mhp-btn-ghost:hover {
    border-color: var(--mhp-text-white);
    color: var(--mhp-text-white);
    background: rgba(255,255,255,0.05);
}

.mhp-btn-secondary {
    background: rgba(79, 172, 254, 0.12);
    border: 1px solid rgba(79, 172, 254, 0.3);
    color: var(--mhp-secondary);
    transition: background 0.15s, border-color 0.15s;
}

.mhp-btn-secondary:hover {
    background: rgba(79, 172, 254, 0.22);
    border-color: var(--mhp-secondary);
    color: var(--mhp-secondary);
}

.mhp-btn-danger {
    background: rgba(239, 68, 68, 0.9);
    color: #fff;
    border: 1px solid transparent;
    transition: background 0.15s;
}

.mhp-btn-danger:hover {
    background: #dc2626;
    color: #fff;
}

.mhp-btn-danger-ghost {
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #ef4444;
    transition: background 0.15s, border-color 0.15s;
}

.mhp-btn-danger-ghost:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
}

/* =====================
   Cancel Subscription Popup
   ===================== */

body.mhp-modal-open {
    overflow: hidden;
}

.mhp-cancel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5em;
}

.mhp-cancel-modal {
    background: var(--mhp-bg-card);
    border: 1px solid var(--mhp-border-color);
    border-radius: 20px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.mhp-cancel-modal-close {
    position: absolute;
    top: 1.1em;
    right: 1.1em;
    background: var(--mhp-bg-card-dark);
    border: 1px solid var(--mhp-border-dark);
    color: var(--mhp-text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    transition: color 0.15s, background 0.15s;
    z-index: 1;
}

.mhp-cancel-modal-close:hover {
    color: var(--mhp-text-white);
    background: var(--mhp-bg-card-hover);
}

.mhp-cancel-step {
    display: flex;
    flex-direction: column;
}

.mhp-cancel-step-body {
    padding: 2em 2em 1em;
    min-height: 180px;
}

.mhp-cancel-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3em;
    color: var(--mhp-text-muted);
    font-size: 1.5em;
}

.mhp-cancel-step-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    padding: 1.25em 2em 1.75em;
    border-top: 1px solid var(--mhp-border-dark);
}

/* Cancel content (loaded from theme template) */
.mhp-cancel-content {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.mhp-cancel-hero {
    display: flex;
    align-items: center;
    gap: 1em;
    padding-right: 2.5em;
}

.mhp-cancel-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.mhp-cancel-hero h2 {
    font-size: 1.1em;
    font-weight: 700;
    color: var(--mhp-text-white);
    margin: 0;
    line-height: 1.35;
}

.mhp-cancel-lead {
    color: var(--mhp-text-muted);
    font-size: 0.9em;
    line-height: 1.6;
    margin: 0;
}

.mhp-cancel-reasons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6em;
}

.mhp-cancel-reasons li {
    display: flex;
    align-items: flex-start;
    gap: 0.65em;
    font-size: 0.88em;
    color: var(--mhp-text-muted);
    line-height: 1.5;
}

.mhp-cancel-reasons li i {
    color: var(--mhp-primary);
    font-size: 0.9em;
    margin-top: 0.15em;
    flex-shrink: 0;
}

.mhp-cancel-reasons li strong {
    color: var(--mhp-text-muted-light);
}

.mhp-cancel-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.6em;
    font-size: 0.8em;
    color: var(--mhp-text-muted);
    background: var(--mhp-bg-card-dark);
    border: 1px solid var(--mhp-border-dark);
    border-radius: 8px;
    padding: 0.75em 1em;
    line-height: 1.5;
}

.mhp-cancel-notice i {
    flex-shrink: 0;
    margin-top: 0.1em;
    color: var(--mhp-secondary);
}

/* Step 2: Confirm */
.mhp-cancel-confirm-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75em;
    padding: 2.5em 2em 1em;
}

.mhp-cancel-confirm-icon {
    font-size: 2.8em;
    color: #f59e0b;
}

.mhp-cancel-confirm-body h3 {
    font-size: 1.15em;
    font-weight: 700;
    color: var(--mhp-text-white);
    margin: 0;
}

.mhp-cancel-confirm-body p {
    color: var(--mhp-text-muted);
    font-size: 0.9em;
    margin: 0;
    line-height: 1.6;
    max-width: 380px;
}

/* =====================
   View Subscription Page
   ===================== */

.mhp-view-sub-page {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Tab nav */
.mhp-view-sub-nav {
    display: flex;
    align-items: center;
    gap: 0;
    border-bottom: 1px solid var(--mhp-border-dark);
    margin-bottom: 1.5em;
    overflow-x: auto;
}

.mhp-view-sub-navlink {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.85em 1.4em;
    font-size: 0.88em;
    font-weight: 600;
    color: var(--mhp-text-muted);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color 0.15s, border-color 0.15s;
    text-decoration: none;
    margin-bottom: -1px;
}

.mhp-view-sub-navlink:hover {
    color: var(--mhp-text-white);
}

.mhp-view-sub-navlink.active {
    color: var(--mhp-primary);
    border-bottom-color: var(--mhp-primary);
}

/* Meta bar */
.mhp-view-sub-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    padding: 0.9em 1.5em;
    background: var(--mhp-bg-card-dark);
    border: 1px solid var(--mhp-border-dark);
    border-radius: 12px;
    margin-bottom: 1.25em;
    flex-wrap: wrap;
}

.mhp-view-sub-meta-left {
    font-size: 0.88em;
    color: var(--mhp-text-muted);
}

.mhp-view-sub-meta-left strong {
    color: var(--mhp-text-white);
}

.mhp-view-sub-meta-right {
    display: flex;
    align-items: center;
    gap: 0.5em;
    flex-wrap: wrap;
}

.mhp-view-sub-plan {
    font-size: 0.88em;
    color: var(--mhp-text-muted-light);
    font-weight: 600;
}

/* Tab panels */
.mhp-view-sub-tab {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.mhp-view-sub-tab.is-hidden {
    display: none;
}

/* Product cards */
.mhp-view-sub-downloads {
    display: flex;
    flex-direction: column;
    gap: 0.75em;
}

.mhp-view-sub-product {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5em;
    padding: 1.25em 1.5em;
    background: var(--mhp-bg-card);
    border: 1px solid var(--mhp-border-dark);
    border-radius: 14px;
    flex-wrap: wrap;
}

.mhp-view-sub-product-head {
    display: flex;
    align-items: center;
    gap: 1em;
    flex: 1;
    min-width: 0;
}

.mhp-view-sub-product-head img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--mhp-border-dark);
}

.mhp-view-sub-product-info h2 {
    font-size: 1em;
    font-weight: 700;
    color: var(--mhp-text-white);
    margin: 0 0 0.2em;
}

.mhp-view-sub-product-info span {
    font-size: 0.82em;
    color: var(--mhp-text-muted);
}

/* Action buttons bar */
.mhp-view-sub-actions {
    display: flex;
    align-items: center;
    gap: 0.6em;
    flex-wrap: wrap;
    padding: 1em 1.5em;
    background: var(--mhp-bg-card-dark);
    border: 1px solid var(--mhp-border-dark);
    border-radius: 12px;
}

/* Sites tab */
.mhp-view-sub-search {
    width: 100%;
    max-width: 360px;
    padding: 0.6em 1em;
    background: var(--mhp-bg-card-dark);
    border: 1px solid var(--mhp-border-dark);
    border-radius: var(--mhp-radius-pill);
    color: var(--mhp-text-white);
    font-size: 0.88em;
}

.mhp-view-sub-search:focus {
    outline: none;
    border-color: var(--mhp-primary);
}

.mhp-view-sub-sites-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--mhp-border-dark);
    border-radius: 14px;
    overflow: hidden;
}

.mhp-view-sub-site {
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 0.9em 1.25em;
    border-bottom: 1px solid var(--mhp-border-dark);
    transition: background 0.12s;
}

.mhp-view-sub-site:last-child {
    border-bottom: none;
}

.mhp-view-sub-site:hover {
    background: var(--mhp-bg-card-dark);
}

.mhp-view-sub-site img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    border: 1px solid var(--mhp-border-dark);
}

.mhp-view-sub-site-info {
    flex: 1;
    min-width: 0;
}

.mhp-view-sub-site-url {
    font-size: 0.9em;
    color: var(--mhp-text-white);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.mhp-view-sub-site-url:hover {
    color: var(--mhp-primary);
}

.mhp-view-sub-site-actions {
    flex-shrink: 0;
}

.mhp-view-sub-site-notfound {
    padding: 1em 1.25em;
    color: var(--mhp-text-muted);
    font-size: 0.88em;
}

.mhp-view-sub-empty-sites {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
    padding: 3em 2em;
    text-align: center;
    background: var(--mhp-bg-card-dark);
    border: 1px solid var(--mhp-border-dark);
    border-radius: 14px;
    color: var(--mhp-text-muted);
}

.mhp-view-sub-empty-sites i {
    font-size: 2em;
    opacity: 0.4;
}

/* Related orders table */
.mhp-view-sub-orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88em;
}

.mhp-view-sub-orders-table th {
    text-align: left;
    padding: 0.7em 1em;
    color: var(--mhp-text-muted);
    font-size: 0.78em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--mhp-border-dark);
}

.mhp-view-sub-orders-table td {
    padding: 0.85em 1em;
    color: var(--mhp-text-muted-light);
    border-bottom: 1px solid var(--mhp-border-dark);
    vertical-align: middle;
}

.mhp-view-sub-orders-table tr:last-child td {
    border-bottom: none;
}

.mhp-view-sub-orders-table tr:hover td {
    background: var(--mhp-bg-card-dark);
}

/* =====================
   Subscription Cancelled Page
   ===================== */

.mhp-sub-cancelled-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1em;
    padding: 4em 2em;
    max-width: 520px;
    margin: 0 auto;
}

.mhp-sub-cancelled-icon {
    font-size: 4em;
    color: var(--mhp-text-muted);
    opacity: 0.6;
}

.mhp-sub-cancelled-title {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--mhp-text-white);
    margin: 0;
}

.mhp-sub-cancelled-text {
    color: var(--mhp-text-muted);
    font-size: 0.95em;
    line-height: 1.7;
    margin: 0;
}

.mhp-sub-cancelled-actions {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5em;
}

.mhp-btn-hero {
    background: var(--mhp-gradient-hero-btn);
    color: var(--mhp-text-white);
    padding: 22px 40px;
    font-size: 1.1em;
    border-radius: var(--mhp-radius-md);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    box-shadow: var(--mhp-shadow-hero-btn);
    text-shadow: var(--mhp-shadow-text);
}

.mhp-btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: var(--mhp-shadow-hero-btn-hover);
}

/* Section: Hero / Welcome */
.mhp-hero-section {
    padding: var(--mhp-spacing-hero) 12%;
    background: var(--mhp-gradient-hero-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--mhp-spacing-xxl);
    color: var(--mhp-text-white);
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.mhp-hero-content {
    flex: 1;
    max-width: 550px;
    z-index: 1;
    text-align: left;
}

.mhp-hero-content h2 {
    font-size: 3.8em;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: var(--mhp-text-white);
    letter-spacing: -0.5px;
}

.mhp-hero-name {
    background: var(--mhp-yellow);
    color: #000 !important;
    padding: 8px 30px;
    border-radius: var(--mhp-radius-pill);
    display: inline-block;
    transform: rotate(-2deg);
    margin-top: var(--mhp-spacing-sm);
    font-size: 0.9em;
    vertical-align: middle;
    font-weight: 800;
    box-shadow: var(--mhp-shadow-card);
}

.mhp-hero-content p {
    font-size: 1.2em;
    margin: var(--mhp-spacing-lg) 0 var(--mhp-spacing-xl) 0;
    color: var(--mhp-text-white);
    font-weight: 400;
}

.mhp-hero-missions {
    flex: 1;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 1;
}

.mhp-hero-mission-item {
    background: var(--mhp-bg-card-dark);
    border: 1px solid var(--mhp-border-dark);
    border-radius: var(--mhp-radius-pill);
    padding: 12px 15px 12px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--mhp-text-white);
    box-shadow: var(--mhp-shadow-card);
}

.mhp-hero-mission-item:hover {
    background: var(--mhp-bg-card-dark-hover);
    border-color: var(--mhp-primary);
    transform: translateX(-5px);
}

.mission-left {
    display: flex;
    align-items: center;
    gap: var(--mhp-spacing-sm);
}

.mission-icon-box {
    width: 24px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-left i {
    color: var(--mhp-primary);
    font-size: 1.3em;
}

.mission-left span {
    font-weight: 700;
    font-size: 0.85em;
    letter-spacing: 0.5px;
    color: var(--mhp-text-white);
}

.mission-right {
    display: flex;
    align-items: center;
    gap: var(--mhp-spacing-sm);
}

.mission-reward {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9em;
    font-weight: 700;
}

.mission-reward i.fa-star {
    color: var(--mhp-primary);
}

.mission-reward i.fa-medal {
    color: var(--mhp-orange);
}

.mission-reward span {
    color: var(--mhp-text-white);
}

.mission-reward i {
    font-size: 1.05em;
}

.mission-reward span {
    font-size: 0.9em;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.mission-arrow {
    background: var(--mhp-primary);
    color: #000;
    width: 36px;
    height: 36px;
    border-radius: var(--mhp-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    box-shadow: var(--mhp-shadow-card);
}

.mhp-hero-missions-footer {
    font-size: 0.9em;
    color: var(--mhp-text-white);
    margin-top: var(--mhp-spacing-sm);
    padding-left: 10px;
    line-height: 1.5;
}

/* Section: Active Plugins */
.mhp-active-plugins-section {
    background: var(--mhp-bg-light);
    padding: var(--mhp-spacing-xxl) 10%;
}

.mhp-section-title {
    text-align: center;
    margin-bottom: var(--mhp-spacing-xl);
    font-size: 2em;
    font-weight: 800;
    color: var(--mhp-text-dark);
}

.mhp-plugins-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--mhp-spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.mhp-active-plugin-card {
    background: var(--mhp-bg-card);
    border-radius: var(--mhp-radius-lg);
    padding: 35px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    color: var(--mhp-text-white);
    box-shadow: var(--mhp-shadow-md);
}

.mhp-active-plugin-header {
    display: flex;
    gap: var(--mhp-spacing-md);
}

.mhp-active-plugin-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
}

.mhp-active-plugin-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mhp-active-plugin-title h4 {
    font-size: 1.4em;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: var(--mhp-text-white);
}

.mhp-active-plugin-title p {
    font-size: 0.9em;
    color: var(--mhp-text-muted);
    margin: 0;
    line-height: 1.5;
}

.mhp-active-plugin-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: var(--mhp-spacing-md);
    border-top: 1px solid var(--mhp-border-dark);
}

.mhp-active-plugin-expire {
    display: flex;
    align-items: center;
    gap: var(--mhp-spacing-xs);
    color: var(--mhp-text-muted);
    font-size: 0.85em;
}

/* Section: Must Have Pack Promo */
.mhp-promo-section {
    background: var(--mhp-gradient-promo);
    padding: 0;
    color: var(--mhp-text-white);
    position: relative;
}

.mhp-promo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--mhp-spacing-xxl);
    max-width: 1200px;
    margin: 0 auto;
}

.mhp-promo-content {
    flex: 1;
}

.mhp-promo-label {
    font-size: 1.1em;
    color: var(--mhp-primary);
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.mhp-promo-content h2 {
    font-size: 3em;
    font-weight: 800;
    margin-bottom: var(--mhp-spacing-md);
}

.mhp-promo-description {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--mhp-spacing-lg);
}

.mhp-promo-features li {
    display: flex;
    align-items: center;
    gap: var(--mhp-spacing-sm);
    margin-bottom: var(--mhp-spacing-sm);
    font-weight: 600;
}

.mhp-promo-features li i {
    color: var(--mhp-primary);
    font-size: 1.2em;
}

.mhp-promo-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.mhp-promo-cube {
    width: clamp(350px, 42vw, 650px);
    aspect-ratio: 1 / 1;
    height: auto;
    filter: drop-shadow(0 0 50px rgba(79, 172, 254, 0.4));
}

.mhp-promo-cube img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--mhp-radius-lg);
}

.mhp-promo-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background: var(--mhp-bg-white);
    border-radius: var(--mhp-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mhp-secondary);
    font-size: 2em;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 50px rgba(255, 255, 255, 1);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    }
}

/* Section: Why Choose */
.mhp-why-choose-section {
    background-color: #f3f6fb;
    background-image: url('../images/why-choose-mhp-bg.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 110px 10%;
}

.mhp-why-choose-title {
    text-align: center;
    font-size: 2.4em;
    font-weight: 800;
    color: var(--mhp-text-dark);
    margin-bottom: var(--mhp-spacing-md);
}

.mhp-why-choose-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 55px;
    color: #667085;
    line-height: 1.7;
}

.mhp-why-choose-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.mhp-testimonial-card {
    background: var(--mhp-bg-white);
    padding: 36px 40px;
    border-radius: var(--mhp-radius-lg);
    border: 1px solid rgba(16, 24, 40, 0.06);
    box-shadow: 0 12px 40px rgba(16, 24, 40, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

.mhp-testimonial-body {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.mhp-quote-icon {
    font-size: 2em;
    color: #0b1220;
    line-height: 1;
    flex-shrink: 0;
}

.mhp-testimonial-text {
    font-size: 1em;
    font-style: italic;
    color: #344054;
    margin: 0;
    line-height: 1.7;
}

.mhp-testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--mhp-spacing-sm);
    margin-top: auto;
}

.mhp-author-avatar {
    width: 46px;
    height: 46px;
    background: #f2f4f7;
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #98a2b3;
}

.mhp-author-name {
    font-weight: 700;
    color: var(--mhp-text-dark);
}

.mhp-author-title {
    font-size: 0.9em;
    color: #667085;
}

.mhp-benefits-list {
    background: var(--mhp-bg-white);
    padding: 36px 40px;
    border-radius: var(--mhp-radius-lg);
    border: 1px solid rgba(16, 24, 40, 0.06);
    box-shadow: 0 12px 40px rgba(16, 24, 40, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
}

.mhp-benefit-item {
    display: flex;
    gap: 14px;
    margin-bottom: 0;
    align-items: flex-start;
}

.mhp-benefit-icon {
    width: 34px;
    height: 34px;
    background: var(--mhp-primary);
    border-radius: var(--mhp-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mhp-text-white);
    font-size: 1.05em;
    flex-shrink: 0;
}

.mhp-benefit-icon i {
    color: var(--mhp-text-white);
}

.mhp-benefit-content h4 {
    font-size: 0.95em;
    font-weight: 800;
    color: var(--mhp-text-dark);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.mhp-benefit-content p {
    color: #667085;
    margin: 0;
    line-height: 1.6;
}

/* Section: Spotlight (WP-Shifty, Cookie) */
.mhp-spotlight {
    padding: 100px 10%;
    display: flex;
    align-items: center;
    gap: var(--mhp-spacing-xxl);
    background: var(--mhp-bg-white);
}

.mhp-spotlight.reverse {
    flex-direction: row-reverse;
}

.mhp-spotlight-image {
    flex: 1;
}

.mhp-spotlight-content {
    flex: 1;
}

.mhp-dummy-image {
    height: 300px;
    border-radius: var(--mhp-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6.25em;
    box-shadow: var(--mhp-shadow-md);
    transition: transform 0.3s ease;
    background-image: url('../images/plugin-spotlight-bg.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.mhp-dummy-image:hover {
    transform: scale(1.02);
}

.mhp-dummy-shifty {
    color: var(--mhp-accent);
    border: 1px solid var(--mhp-border-dark);
}

.mhp-dummy-cookie {
    color: var(--mhp-secondary);
    border: 1px solid var(--mhp-border-dark);
}

.mhp-spotlight-content h2 {
    font-size: 2.5em;
    font-weight: 800;
    margin-bottom: var(--mhp-spacing-md);
}

/* Plugin-specific spotlight colors */
.mhp-spotlight.plugin-swift-performance h2 {
    color: var(--mhp-plugin-swift);
}

.mhp-spotlight.plugin-bugmonitor h2 {
    color: var(--mhp-plugin-bugmonitor);
}

.mhp-spotlight.plugin-wp-shifty h2 {
    color: var(--mhp-plugin-shifty);
}

.mhp-spotlight.plugin-wpacp h2 {
    color: var(--mhp-plugin-wpacp);
}

.mhp-spotlight.plugin-cookie h2 {
    color: var(--mhp-plugin-cookie);
}

.mhp-spotlight.plugin-analytics h2 {
    color: var(--mhp-plugin-analytics);
}

.mhp-spotlight.plugin-captcha h2 {
    color: var(--mhp-plugin-captcha);
}

.mhp-spotlight.plugin-redirect h2 {
    color: var(--mhp-plugin-redirect);
}

.mhp-spotlight-content p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: var(--mhp-spacing-lg);
}

.mhp-btn-group {
    display: flex;
    gap: var(--mhp-spacing-sm);
}

/* Section: Missions */
.mhp-missions-section {
    background: var(--mhp-bg-light);
    padding: var(--mhp-spacing-xxl) 10%;
    text-align: center;
}

.mhp-missions-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 60px;
}

.mhp-missions-slider {
    overflow: hidden;
    width: 100%;
}

.mhp-missions-track {
    display: flex;
    gap: var(--mhp-spacing-lg);
    transition: transform 0.4s ease-in-out;
}

.mhp-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--mhp-bg-dark);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: var(--mhp-radius-circle);
    color: var(--mhp-text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: var(--mhp-shadow-md);
}

.mhp-slider-arrow:hover:not(:disabled) {
    background: var(--mhp-primary);
    transform: translateY(-50%) scale(1.1);
}

.mhp-slider-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.mhp-slider-prev {
    left: 0;
}

.mhp-slider-next {
    right: 0;
}

.mhp-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--mhp-spacing-lg);
    max-width: 1000px;
    margin: 0 auto 40px;
}

/* Swiper carousel for missions */
.mhp-missions-swiper {
    padding-bottom: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.mhp-missions-swiper .swiper-slide {
    height: auto;
    width: auto;
}

.mhp-mission-card {
    background: var(--mhp-bg-dark);
    border-radius: var(--mhp-radius-lg);
    padding: 30px;
    color: var(--mhp-text-white);
    text-align: left;
    box-shadow: var(--mhp-shadow-md);
    height: 100%;
    width: 100%;
}

.mhp-missions-swiper .swiper-pagination {
    bottom: 0;
}

.mhp-missions-swiper .swiper-pagination-bullet {
    background: var(--mhp-text-muted);
    opacity: 0.5;
    width: 10px;
    height: 10px;
}

.mhp-missions-swiper .swiper-pagination-bullet-active {
    background: var(--mhp-primary);
    opacity: 1;
}

.mhp-missions-footer {
    text-align: center;
    margin-top: 20px;
}

@media (max-width: 767px) {
    .mhp-mission-card {
        flex: 0 0 100%;
    }
    
    .mhp-missions-slider-wrapper {
        padding: 0 50px;
    }
    
    .mhp-slider-arrow {
        width: 40px;
        height: 40px;
    }
}

.mhp-mission-header {
    display: flex;
    align-items: center;
    gap: var(--mhp-spacing-sm);
    margin-bottom: var(--mhp-spacing-md);
}

.mhp-mission-icon {
    width: 45px;
    height: 45px;
    background: var(--mhp-border-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mhp-primary);
}

.mhp-mission-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.mhp-mission-steps li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9em;
    color: var(--mhp-text-muted);
}

.mhp-mission-steps li i {
    color: var(--mhp-primary);
    font-size: 0.8em;
}

.mhp-mission-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--mhp-spacing-md);
    border-top: 1px solid var(--mhp-border-dark);
}

.mhp-mission-xp {
    font-weight: 700;
    color: var(--mhp-accent);
    display: flex;
    align-items: center;
    gap: 5px;
}

.mhp-missions-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: var(--mhp-radius-circle);
}

.dot.active {
    background: var(--mhp-primary);
    width: 12px;
    height: 12px;
}

.mhp-view-all-missions {
    margin-left: var(--mhp-spacing-md);
    color: var(--mhp-primary);
    font-weight: 700;
    font-size: 0.9em;
}

/* Section: FAQ */
.mhp-faq-section {
    padding: var(--mhp-spacing-xxl) 10%;
    background: #f9fafc;
}

.mhp-faq-item {
    background: var(--mhp-bg-dark-blue);
    margin-bottom: var(--mhp-spacing-sm);
    border-radius: var(--mhp-radius-md);
    overflow: hidden;
    box-shadow: var(--mhp-shadow-md);
}

.mhp-faq-question {
    padding: var(--mhp-spacing-md);
    display: flex;
    align-items: center;
    gap: var(--mhp-spacing-sm);
    cursor: pointer;
    font-weight: 600;
    color: var(--mhp-text-white);
}

.faq-icon {
    width: 30px;
    height: 30px;
    background: var(--mhp-border-light);
    border-radius: var(--mhp-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mhp-text-white);
    font-size: 0.9em;
}

.toggle-icon {
    margin-left: auto;
    color: var(--mhp-text-white);
    transition: transform 0.3s ease;
}

.mhp-faq-item.active .toggle-icon {
    transform: rotate(180deg);
}

.mhp-faq-answer {
    padding: var(--mhp-spacing-lg) var(--mhp-spacing-xl);
    padding-left: 65px;
    background: var(--mhp-bg-white);
    color: #344054;
    display: none;
    line-height: 1.7;
    box-shadow: inset 0 4px 12px rgba(16, 24, 40, 0.04);
}

/* jQuery slideToggle handles visibility */

/* Section: Affiliate Banner */
.mhp-affiliate-banner {
    margin: var(--mhp-spacing-xl) 0 0;
    background: linear-gradient(135deg, #1a1b4b 0%, #2e1a47 100%);
    /* Deep blue/purple gradient */
    padding: 100px 10%;
    border-radius: 0;
    text-align: center;
    color: var(--mhp-text-white);
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mhp-affiliate-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.mhp-affiliate-content h2 {
    font-size: 3em;
    font-weight: 800;
    margin-bottom: 20px;
}

.mhp-affiliate-content p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.mhp-btn-affiliate {
    background: #00d084;
    /* Solid green as per image */
    color: #fff;
    padding: 15px 40px;
    font-size: 1em;
    border-radius: 50px;
    /* Pill shape */
    box-shadow: 0 5px 20px rgba(0, 208, 132, 0.4);
    transition: all 0.3s ease;
}

.mhp-btn-affiliate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 208, 132, 0.5);
    background: #00b874;
}

/* Floating Icons */
.aff-floating-icon {
    position: absolute;
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.aff-floating-icon i {
    font-size: 2em;
}

/* Specific Icon Positioning & Styling */
.icon-1 {
    /* Credit Card - Top Leftish */
    top: 20%;
    left: 15%;
    width: 80px;
    height: 80px;
    transform: rotate(-15deg);
    animation-delay: 0s;
}

.icon-1 i {
    color: #ff0000;
}

.icon-2 {
    /* Handshake - Left */
    top: 50%;
    left: 8%;
    width: 90px;
    height: 90px;
    transform: rotate(10deg);
    animation-delay: 1s;
}

.icon-2 i {
    color: #0066ff;
}

.icon-3 {
    /* Chart Line - Bottom Left */
    bottom: 15%;
    left: 20%;
    width: 70px;
    height: 70px;
    transform: rotate(-20deg);
    animation-delay: 2s;
}

.icon-3 i {
    color: #00cc66;
}

.icon-4 {
    /* Users - Right */
    top: 45%;
    right: 10%;
    width: 110px;
    height: 110px;
    transform: rotate(-10deg);
    animation-delay: 1.5s;
}

.icon-4 i {
    color: #0066ff;
    font-size: 3em;
}

.icon-5 {
    /* Bullhorn - Bottom Right */
    bottom: 20%;
    right: 25%;
    width: 60px;
    height: 60px;
    transform: rotate(15deg);
    animation-delay: 2.5s;
}

.icon-5 i {
    color: #9933cc;
    font-size: 1.5em;
}

.icon-6 {
    /* Chart Simple - Top Right */
    top: 15%;
    right: 18%;
    width: 70px;
    height: 70px;
    transform: rotate(20deg);
    animation-delay: 0.5s;
}

.icon-6 i {
    color: #ffcc00;
}


@keyframes float {
    0% {
        transform: translateY(0px) rotate(var(--rotation));
    }

    50% {
        transform: translateY(-20px) rotate(var(--rotation));
    }

    100% {
        transform: translateY(0px) rotate(var(--rotation));
    }
}

/* Add custom properties for rotation to keep it in animation */
.icon-1 {
    --rotation: -15deg;
}

.icon-2 {
    --rotation: 10deg;
}

.icon-3 {
    --rotation: -20deg;
}

.icon-4 {
    --rotation: -10deg;
}

.icon-5 {
    --rotation: 15deg;
}

.icon-6 {
    --rotation: 20deg;
}

/* Responsive */
@media (max-width: 1024px) {
    .mhp-hero-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 5%;
    }

    .mhp-hero-content {
        max-width: 100%;
        text-align: center;
    }

    .mhp-hero-missions {
        width: 100%;
    }

    .mhp-plugins-grid {
        grid-template-columns: 1fr;
    }

    .mhp-promo-container {
        flex-direction: column;
        text-align: center;
    }

    .mhp-promo-cube {
        width: min(520px, 85vw);
    }

    .mhp-promo-features li {
        justify-content: center;
    }

    .mhp-why-choose-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .mhp-why-choose-section {
        padding: 80px 5%;
        background-position: top center;
    }

    .mhp-testimonial-card,
    .mhp-benefits-list {
        padding: 28px 24px;
    }

    .mhp-spotlight,
    .mhp-spotlight.reverse {
        flex-direction: column;
        text-align: center;
        padding: 60px 5%;
    }

    .mhp-btn-group {
        justify-content: center;
    }

    .mhp-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Navigation Menu Styles
   ======================================== */

/* Override theme header layout for account pages */
@media (min-width: 992px) {
    body.woocommerce-account #site-header,
    body.woocommerce-order-pay #site-header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 40px !important;
        padding: 0 60px !important;
        max-width: 100% !important;
    }

    body.woocommerce-account header#site-header #logo,
    body.woocommerce-order-pay header#site-header #logo {
        position: static !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        z-index: auto !important;
        order: 0 !important;
        margin: 0 !important;
    }

    body.woocommerce-account #site-header .primary-nav,
    body.woocommerce-order-pay #site-header .primary-nav {
        position: static !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: auto !important;
        max-height: none !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-end !important;
        align-items: center !important;
        gap: 40px !important;
        padding: 0 !important;
        opacity: 1 !important;
    }

    body.woocommerce-account .primary-nav .menu.mhp-nav-menu,
    body.woocommerce-order-pay .primary-nav .menu.mhp-nav-menu {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 40px !important;
        width: auto !important;
        margin: 0 !important;
    }

    body.woocommerce-account .primary-nav .menu-cta.mhp-nav-cta,
    body.woocommerce-order-pay .primary-nav .menu-cta.mhp-nav-cta {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 24px !important;
        width: auto !important;
        justify-content: flex-end !important;
    }

    body.woocommerce-account .primary-nav .hide-on-mobile,
    body.woocommerce-order-pay .primary-nav .hide-on-mobile {
        display: flex !important;
    }
}

.mhp-nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mhp-nav-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Missions Button */
.mhp-nav-missions-wrapper {
    position: relative;
}

.mhp-nav-missions-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 220px;
    background: var(--mhp-bg-card);
    border: 1px solid var(--mhp-border-dark);
    border-radius: var(--mhp-radius-sm);
    padding: 16px 20px;
    color: var(--mhp-text-white);
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mhp-nav-missions-btn:hover,
.mhp-mission-item:hover,
.mhp-missions-link:hover {
    background: var(--mhp-bg-card-hover) !important;
}

.mhp-nav-missions-btn i:first-child {
    color: var(--mhp-primary);
    font-size: 1.1em;
}

.mhp-nav-chevron {
    font-size: 0.65em;
    opacity: 0.6;
    transition: transform 0.2s ease;
    margin-left: auto;
}

.mhp-nav-missions-wrapper.active .mhp-nav-chevron,
.mhp-nav-profile-wrapper.active .mhp-nav-chevron {
    transform: rotate(180deg);
}

/* Profile Button */
.mhp-nav-profile-wrapper {
    position: relative;
}

.mhp-nav-profile-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.mhp-nav-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--mhp-yellow);
    object-fit: cover;
}

.rank-newbie .mhp-nav-avatar,
.mhp-nav-profile-wrapper:has(.rank-newbie) .mhp-nav-avatar {
    border-color: var(--mhp-rank-newbie);
}

.rank-explorer .mhp-nav-avatar,
.mhp-nav-profile-wrapper:has(.rank-explorer) .mhp-nav-avatar {
    border-color: var(--mhp-rank-explorer);
}

.rank-pro .mhp-nav-avatar,
.mhp-nav-profile-wrapper:has(.rank-pro) .mhp-nav-avatar {
    border-color: var(--mhp-rank-pro);
}

.rank-expert .mhp-nav-avatar,
.mhp-nav-profile-wrapper:has(.rank-expert) .mhp-nav-avatar {
    border-color: var(--mhp-rank-expert);
}

.mhp-nav-profile-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.mhp-nav-username {
    min-width: 140px;
    color: var(--mhp-text-white);
    font-size: 1.05em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    text-align: left;
}

.mhp-nav-rank {
    color: var(--mhp-yellow);
    font-size: 1.05em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mhp-nav-rank.rank-newbie {
    color: var(--mhp-rank-newbie);
}

.mhp-nav-rank.rank-explorer {
    color: var(--mhp-rank-explorer);
}

.mhp-nav-rank.rank-pro {
    color: var(--mhp-rank-pro);
}

.mhp-nav-rank.rank-expert {
    color: var(--mhp-rank-expert);
}

.mhp-nav-rank i {
    font-size: 1em;
}

.mhp-nav-profile-btn .mhp-nav-chevron {
    color: var(--mhp-text-muted);
    margin-left: 4px;
}

/* Dropdown Menus */
.mhp-nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 100%;
    background: #161b27;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mhp-nav-missions-wrapper.active .mhp-nav-dropdown,
.mhp-nav-profile-wrapper.active .mhp-nav-dropdown,
.mhp-nav-notifications-wrapper.active .mhp-nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Missions Dropdown */
.mhp-mission-item {
    background: var(--mhp-bg-card);
    padding: 10px 20px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: var(--mhp-radius-sm);
}

.mhp-mission-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mhp-mission-icon {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    flex-shrink: 0;
    display: block;
    font-size: 0;
}

.mhp-mission-name {
    color: #e5e7eb;
    font-size: 0.875em;
    font-weight: 500;
    line-height: 1.3;
}

.mhp-mission-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mhp-mission-see-more {
    background: #374151;
    border: none;
    color: #9ca3af;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 0.75em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mhp-mission-see-more:hover {
    background: #4b5563;
    color: #e5e7eb;
}

.mhp-mission-badges {
    display: flex;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}

.mhp-mission-badge {
    background: transparent;
    color: #e5e7eb;
    padding: 0;
    font-size: 0.8125em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mhp-mission-badge-points i {
    color: #10b981;
    font-size: 0.8125em;
}

.mhp-mission-badge-count i {
    color: #f59e0b;
    font-size: 0.8125em;
}

.mhp-missions-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: #e5e7eb;
    font-size: 0.875em;
    font-weight: 500;
    text-decoration: none;
    background: var(--mhp-bg-card);
    border-radius: var(--mhp-radius-sm);
    white-space: normal;
}

.mhp-missions-link i {
    color: #9ca3af;
    font-size: 0.75em;
}

.mhp-missions-count {
    background: var(--mhp-bg-dark);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8125em;
    font-weight: 700;
    margin-left: auto;
}

/* Profile Dropdown */
.mhp-profile-dropdown {
    background: var(--mhp-bg-card);
    border: 1px solid var(--mhp-border-dark);
    border-radius: var(--mhp-radius-sm);
    padding: 12px;
}

.mhp-profile-dropdown a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px;
    color: #e5e7eb;
    font-size: 0.9375em;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.mhp-profile-dropdown a:hover {
    background: transparent;
    box-shadow: none;
    color: #fff;
}

.mhp-profile-dropdown a i {
    color: #3c4355;
    width: 20px;
    text-align: center;
    font-size: 1.4em;
}

.mhp-profile-dropdown hr {
    border: none;
    border-top: 1px solid #3c4355;
    margin: 4px 0;
}

/* Achievements Page */
.mhp-achievements-page {
    background: var(--mhp-bg-dark);
    padding: var(--mhp-spacing-xl) 10%;
    min-height: 100vh;
}

.mhp-achievements-header {
    text-align: center;
    margin-bottom: var(--mhp-spacing-xl);
    background: var(--mhp-bg-card);
    padding: var(--mhp-spacing-lg) var(--mhp-spacing-xl);
    border-radius: var(--mhp-radius-lg);
}

.mhp-achievements-header h2 {
    color: var(--mhp-text-muted);
    font-size: 1.25em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--mhp-spacing-md);
    margin-top: 0;
}

.mhp-achievements-stats {
    display: flex;
    justify-content: center;
    gap: var(--mhp-spacing-xxl);
}

.mhp-stat-item {
    text-align: center;
}

.mhp-stat-value {
    font-size: 2.5em;
    font-weight: 900;
    line-height: 1;
    margin-bottom: var(--mhp-spacing-xs);
}

.mhp-stat-item:first-child .mhp-stat-value {
    color: var(--mhp-primary);
}

.mhp-stat-item:last-child .mhp-stat-value {
    color: var(--mhp-text-white);
}

.mhp-stat-label {
    font-size: 0.7em;
    color: var(--mhp-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.mhp-achievement-group {
    margin-bottom: var(--mhp-spacing-xxl);
}

.mhp-group-title {
    color: var(--mhp-primary);
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: var(--mhp-spacing-xl);
    padding-bottom: 0;
    border-bottom: none;
}

.mhp-achievements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--mhp-spacing-lg);
}

.mhp-achievement-item {
    background: var(--mhp-bg-card);
    border-radius: var(--mhp-radius-lg);
    padding: var(--mhp-spacing-xl) var(--mhp-spacing-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    border: 2px solid transparent;
}

.mhp-achievement-item:hover {
    transform: translateY(-3px);
    border-color: var(--mhp-border-color);
}

.mhp-achievement-item.locked {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    background: rgba(32, 38, 55, 0.4);
    border: 2px solid var(--mhp-border-color);
}

.mhp-achievement-item.locked:hover {
    background: var(--mhp-bg-card);
    border-color: var(--mhp-border-light);
}

.mhp-achievement-item.earned {
    border: 2px solid var(--mhp-primary);
    background: var(--mhp-bg-card);
}

.mhp-achievement-icon-wrapper {
    width: 50px;
    height: 50px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--mhp-spacing-sm);
    position: relative;
    font-size: 2.5em;
    color: var(--mhp-primary);
}

.mhp-achievement-item.locked .mhp-achievement-icon-wrapper {
    background: transparent;
    color: var(--mhp-text-muted);
}

.mhp-achievement-check {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: var(--mhp-primary);
    border-radius: var(--mhp-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.35em;
}

.mhp-achievement-content {
    text-align: center;
}

.mhp-achievement-name {
    color: var(--mhp-text-white);
    font-size: 1em;
    font-weight: 700;
    margin: 0 0 var(--mhp-spacing-sm);
}

.mhp-achievement-item.locked .mhp-achievement-name {
    color: var(--mhp-text-muted-light);
}

.mhp-achievement-description {
    color: var(--mhp-text-muted);
    font-size: 0.8em;
    line-height: 1.5;
    margin-bottom: var(--mhp-spacing-md);
}

.mhp-achievement-item.locked .mhp-achievement-description {
    color: var(--mhp-text-muted);
}

.mhp-achievement-progress {
    margin: var(--mhp-spacing-md) 0;
}

.mhp-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--mhp-radius-pill);
    overflow: hidden;
    margin-bottom: var(--mhp-spacing-xs);
}

.mhp-progress-fill {
    height: 100%;
    background: var(--mhp-primary);
    border-radius: var(--mhp-radius-pill);
    transition: width 0.5s ease;
}

.mhp-progress-text {
    font-size: 0.7em;
    color: var(--mhp-text-muted);
    font-weight: 600;
}

.mhp-achievement-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0;
    border-top: none;
    margin-top: var(--mhp-spacing-sm);
}

.mhp-achievement-points {
    font-weight: 600;
    color: var(--mhp-text-muted);
    font-size: 0.75em;
}

.mhp-achievement-item.locked .mhp-achievement-points {
    color: var(--mhp-text-muted);
}

.mhp-achievement-date {
    display: none;
}

@media (max-width: 1024px) {
    .mhp-achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mhp-achievements-page {
        padding: var(--mhp-spacing-lg) 5%;
    }

    .mhp-achievements-header {
        padding: var(--mhp-spacing-md) var(--mhp-spacing-lg);
    }

    .mhp-achievements-header h2 {
        font-size: 0.8em;
    }

    .mhp-achievements-stats {
        gap: var(--mhp-spacing-lg);
        flex-direction: column;
    }

    .mhp-stat-value {
        font-size: 2em;
    }

    .mhp-achievements-grid {
        grid-template-columns: 1fr;
    }

    .mhp-group-title {
        font-size: 1.2em;
    }
}


/* Notification Button */
.woocommerce-account .primary-nav .mhp-nav-notifications-wrapper {
    display: flex !important;
    align-items: center;
    position: relative;
}

.woocommerce-account .primary-nav .mhp-nav-notifications-wrapper .mhp-nav-notifications-btn {
    background: var(--mhp-bg-card) !important;
    border: none !important;
    color: var(--mhp-text-muted) !important;
    font-size: 1.1em !important;
    cursor: pointer;
    padding: 10px !important;
    transition: all 0.2s ease;
    border-radius: var(--mhp-radius-sm);
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.woocommerce-account .primary-nav .mhp-nav-notifications-wrapper .mhp-nav-notifications-btn:hover {
    color: var(--mhp-text-white) !important;
    background: var(--mhp-bg-card-hover) !important;
    box-shadow: none !important;
}

/* Notifications Dropdown */
.mhp-notifications-dropdown {
    width: 240px !important;
    max-height: 300px;
    overflow-y: auto;
    gap: 0 !important;
    padding: 0.5em 0 !important;
}

.mhp-notifications-empty {
    color: var(--mhp-text-muted);
    font-size: 0.85em;
    padding: 1em 1.25em;
    margin: 0;
}

.mhp-notification-item {
    display: flex;
    flex-direction: column;
    gap: 0.2em;
    padding: 0.75em 1.25em;
    text-decoration: none;
    border-bottom: 1px solid var(--mhp-border-dark);
    transition: background 0.15s;
}

.mhp-notification-item:last-child {
    border-bottom: none;
}

.mhp-notification-item:hover {
    background: var(--mhp-bg-card-hover);
}

a.mhp-notification-item {
    cursor: pointer;
}

.mhp-notification--unread {
    background: rgba(var(--mhp-primary-rgb, 0,200,120), 0.06);
}

.mhp-notification--unread .mhp-notification-title::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mhp-primary);
    margin-right: 0.4em;
    vertical-align: middle;
    flex-shrink: 0;
}

.mhp-notification-title {
    font-size: 0.8em;
    font-weight: 600;
    color: var(--mhp-text-white);
    display: flex;
    align-items: center;
}

.mhp-notification-body {
    font-size: 0.75em;
    color: var(--mhp-text-muted);
    line-height: 1.4;
}

/* Notifications See More */
.mhp-notifications-see-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65em 1.25em;
    font-size: 0.78em;
    font-weight: 600;
    color: var(--mhp-primary);
    text-decoration: none;
    border-top: 1px solid var(--mhp-border-dark);
    transition: background 0.15s;
}

.mhp-notifications-see-more:hover {
    background: var(--mhp-bg-card-hover);
    color: var(--mhp-primary);
}

.mhp-notifications-see-more-count {
    background: var(--mhp-bg-card-dark);
    color: var(--mhp-text-muted);
    font-size: 0.85em;
    padding: 1px 6px;
    border-radius: 20px;
}

/* Notifications Page */
.mhp-notifications-page-wrapper {
    max-width: 640px;
}

.mhp-notifications-page-empty {
    color: var(--mhp-text-muted);
    font-size: 0.875em;
    padding: 1em 1.25em;
    margin: 0;
}

.mhp-notifications-page-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mhp-notifications-page-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1em;
    padding: 0.9em 1.25em;
    border-bottom: 1px solid var(--mhp-border-dark);
    transition: background 0.15s;
}

.mhp-notifications-page-item:last-child {
    border-bottom: none;
}

.mhp-notifications-page-item.mhp-notification--unread {
    background: rgba(0, 0, 0, 0.15);
}

.mhp-notifications-page-content {
    display: flex;
    flex-direction: column;
    gap: 0.2em;
    flex: 1;
    min-width: 0;
}

.mhp-notifications-page-content .mhp-notification-title {
    font-size: 0.875em;
}

.mhp-notifications-page-content a.mhp-notification-title:hover {
    color: var(--mhp-primary);
    text-decoration: underline;
}

.mhp-notification-delete-btn {
    background: none;
    border: none;
    color: var(--mhp-text-muted);
    cursor: pointer;
    padding: 4px 6px;
    border-radius: var(--mhp-radius-sm);
    transition: color 0.15s, background 0.15s;
    flex-shrink: 0;
    font-size: 0.8em;
    line-height: 1;
}

.mhp-notification-delete-btn:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

/* Notification Badge */
.mhp-nav-notifications-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #ef4444;
    color: white;
    font-size: 0.7em;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--mhp-bg-dark);
}

/* Profile username chevron */
.mhp-nav-username .mhp-nav-chevron {
    font-size: 0.65em;
    margin-left: auto;
    opacity: 0.6;
}

/* Achievement Popup */
.mhp-achievement-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.mhp-achievement-popup.active {
    display: flex;
}

.mhp-achievement-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.mhp-achievement-popup-content {
    position: relative;
    background: var(--mhp-bg-dark);
    border-radius: var(--mhp-radius-lg);
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    opacity: 0.96;
    animation: popup-slide-in 0.3s ease-out;
}

@keyframes popup-slide-in {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 0.96;
        transform: translateY(0) scale(1);
    }
}

.mhp-achievement-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--mhp-text-muted);
    font-size: 2em;
    line-height: 1;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.2s ease;
    z-index: 10;
}

.mhp-achievement-popup-close:hover {
    color: var(--mhp-text-white);
}

.mhp-achievement-popup-body {
    color: var(--mhp-text-white);
}

.mhp-achievement-popup-body h2 {
    font-size: 1.75em;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--mhp-text-white);
}

.mhp-achievement-popup-body h3 {
    font-size: 1.25em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--mhp-primary);
}

.mhp-achievement-popup-body p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--mhp-text-muted-light);
}

.mhp-achievement-popup-body a {
    color: var(--mhp-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.mhp-achievement-popup-body a:hover {
    color: var(--mhp-primary-hover);
    text-decoration: underline;
}

.mhp-achievement-popup-body form {
    margin-top: 25px;
}

.mhp-achievement-popup-body input[type="text"],
.mhp-achievement-popup-body input[type="url"],
.mhp-achievement-popup-body textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--mhp-bg-card-dark);
    border: 1px solid var(--mhp-border-color);
    border-radius: var(--mhp-radius-sm);
    color: var(--mhp-text-white);
    font-size: 0.9375em;
    margin-bottom: 15px;
    transition: border-color 0.2s ease;
}

.mhp-achievement-popup-body input[type="text"]:focus,
.mhp-achievement-popup-body input[type="url"]:focus,
.mhp-achievement-popup-body textarea:focus {
    outline: none;
    border-color: var(--mhp-primary);
}

.mhp-achievement-popup-body input::placeholder,
.mhp-achievement-popup-body textarea::placeholder {
    color: var(--mhp-text-muted);
}

.mhp-achievement-popup-body button[type="submit"] {
    width: 100%;
    padding: 14px 24px;
    background: var(--mhp-gradient-primary);
    border: none;
    border-radius: var(--mhp-radius-sm);
    color: var(--mhp-text-white);
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mhp-achievement-popup-body button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 208, 132, 0.3);
}

.mhp-achievement-popup-body .achievement-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: block;
}

.mhp-achievement-popup-body .achievement-points {
    display: inline-block;
    background: var(--mhp-bg-card-dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875em;
    font-weight: 600;
    color: var(--mhp-primary);
    margin-bottom: 20px;
}

body.mhp-popup-open {
    overflow: hidden;
}

/* ── Edit Account Page ── */

/* Payment methods dark theme */
.mhp-profile-details-card .woocommerce-MyAccount-paymentMethods,
.mhp-profile-details-card table.woocommerce-MyAccount-paymentMethods {
    width: 100%;
    border-collapse: collapse;
    color: var(--mhp-text-white);
    font-size: 0.9em;
}

.mhp-profile-details-card .woocommerce-MyAccount-paymentMethods th {
    text-align: left;
    padding: 0.5em 0.75em;
    font-size: 0.7em;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mhp-text-muted);
    border-bottom: 1px solid var(--mhp-border-dark);
}

.mhp-profile-details-card .woocommerce-MyAccount-paymentMethods td {
    padding: 0.75em;
    border-bottom: 1px solid var(--mhp-border-dark);
    color: var(--mhp-text-white);
    background: transparent;
}

.mhp-profile-details-card .woocommerce-MyAccount-paymentMethods tr:last-child td {
    border-bottom: none;
}

.mhp-profile-details-card .button,
.mhp-profile-details-card .woocommerce-MyAccount-paymentMethods .button {
    background: var(--mhp-bg-card-dark);
    border: 1px solid var(--mhp-border-color);
    color: var(--mhp-text-white);
    padding: 0.4em 0.875em;
    border-radius: var(--mhp-radius-sm);
    font-size: 0.8em;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    display: inline-block;
}

.mhp-profile-details-card .button:hover {
    background: var(--mhp-border-color);
    color: var(--mhp-text-white);
}

.mhp-profile-details-card .woocommerce-MyAccount-paymentMethods .woocommerce-PaymentMethod--default mark {
    background: var(--mhp-primary);
    color: #000;
    padding: 0.1em 0.4em;
    border-radius: 3px;
    font-size: 0.75em;
}

.mhp-profile-details-card p.woocommerce-info,
.mhp-profile-details-card .woocommerce-Message {
    color: var(--mhp-text-muted);
    font-size: 0.875em;
    margin: 0;
}

.mhp-profile-details-card .add-payment-method {
    margin-top: 1em;
}

.mhp-add-payment-wrapper {
    max-width: 640px;
}

.mhp-edit-account-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    padding: 1.5em 0;
    margin: 0 auto;
}

.mhp-edit-account-top,
.mhp-edit-account-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5em;
    align-items: stretch;
}

.mhp-edit-card {
    background: var(--mhp-bg-card);
    border-radius: var(--mhp-radius-md);
    padding: 1.75em;
    color: var(--mhp-text-white);
}

/* Profile overview card */
.mhp-profile-overview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1em;
}

.mhp-profile-overview-identity {
    display: flex;
    align-items: center;
    gap: 0.875em;
}

.mhp-profile-overview-avatar {
    border-radius: 50%;
    border: 3px solid var(--mhp-border-color);
    width: 56px;
    height: 56px;
    object-fit: cover;
}

.mhp-profile-overview-name {
    font-size: 1.125em;
    font-weight: 700;
    color: var(--mhp-text-white);
    margin-bottom: 0.2em;
}

.mhp-profile-overview-rank {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    font-size: 0.7em;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.2em 0.5em;
    border-radius: 4px;
}

.mhp-profile-overview-rank.rank-newbie   { color: var(--mhp-rank-newbie);   border: 1px solid var(--mhp-rank-newbie); }
.mhp-profile-overview-rank.rank-explorer { color: var(--mhp-rank-explorer); border: 1px solid var(--mhp-rank-explorer); }
.mhp-profile-overview-rank.rank-pro      { color: var(--mhp-rank-pro);      border: 1px solid var(--mhp-rank-pro); }
.mhp-profile-overview-rank.rank-expert   { color: var(--mhp-rank-expert);   border: 1px solid var(--mhp-rank-expert); }

.mhp-profile-overview-edit-btn {
    color: var(--mhp-text-muted);
    font-size: 1em;
    transition: color 0.2s;
    line-height: 1;
}
.mhp-profile-overview-edit-btn:hover { color: var(--mhp-text-white); }

.mhp-profile-overview-stats {
    display: flex;
    gap: 1.25em;
    font-size: 0.875em;
    color: var(--mhp-text-muted-light);
    margin-bottom: 1.25em;
}
.mhp-profile-overview-stats span {
    display: flex;
    align-items: center;
    gap: 0.35em;
}
.mhp-profile-overview-stats i { color: var(--mhp-primary); }

/* Rank progress bar */
.mhp-rank-progress-wrap {
    margin-bottom: 1.25em;
}

.mhp-rank-progress-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4px;
    background: var(--mhp-border-color);
    border-radius: 2px;
    margin-bottom: 0.625em;
}

.mhp-rank-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 4px;
    background: var(--mhp-primary);
    border-radius: 2px;
    transition: width 0.4s ease;
    z-index: 0;
}

.mhp-rank-progress-node {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--mhp-border-color);
    border: 2px solid var(--mhp-bg-card);
    z-index: 1;
    position: relative;
}
.mhp-rank-progress-node.active {
    background: var(--mhp-primary);
    border-color: var(--mhp-primary);
}

.mhp-rank-progress-labels {
    display: flex;
    justify-content: space-between;
}

.mhp-rank-progress-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1em;
    font-size: 0.7em;
    text-align: center;
    min-width: 0;
    flex: 1;
}

.mhp-rank-label {
    font-weight: 700;
    letter-spacing: 0.05em;
}
.mhp-rank-label.rank-newbie   { color: var(--mhp-rank-newbie); }
.mhp-rank-label.rank-explorer { color: var(--mhp-rank-explorer); }
.mhp-rank-label.rank-pro      { color: var(--mhp-rank-pro); }
.mhp-rank-label.rank-expert   { color: var(--mhp-rank-expert); }

.mhp-rank-points {
    color: var(--mhp-text-muted);
    font-size: 0.95em;
    white-space: nowrap;
}

/* Rank cards grid */
.mhp-rank-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625em;
}

.mhp-rank-card {
    background: var(--mhp-bg-card-dark);
    border: 1px solid var(--mhp-border-dark);
    border-radius: var(--mhp-radius-sm);
    padding: 0.75em;
    transition: border-color 0.2s;
}

.mhp-rank-card.active {
    border-color: var(--mhp-rank-newbie);
}
.mhp-rank-card.active.rank-newbie   { border-color: var(--mhp-rank-newbie); }
.mhp-rank-card.active.rank-explorer { border-color: var(--mhp-rank-explorer); }
.mhp-rank-card.active.rank-pro      { border-color: var(--mhp-rank-pro); }
.mhp-rank-card.active.rank-expert   { border-color: var(--mhp-rank-expert); }

.mhp-rank-card.locked {
    opacity: 0.5;
}

.mhp-rank-card-header {
    display: flex;
    align-items: center;
    gap: 0.4em;
    margin-bottom: 0.4em;
    font-size: 0.8em;
    font-weight: 700;
}
.mhp-rank-card.rank-newbie   .mhp-rank-card-header { color: var(--mhp-rank-newbie); }
.mhp-rank-card.rank-explorer .mhp-rank-card-header { color: var(--mhp-rank-explorer); }
.mhp-rank-card.rank-pro      .mhp-rank-card-header { color: var(--mhp-rank-pro); }
.mhp-rank-card.rank-expert   .mhp-rank-card-header { color: var(--mhp-rank-expert); }

.mhp-rank-card-discount {
    margin-left: auto;
    background: var(--mhp-accent);
    color: #fff;
    font-size: 0.85em;
    font-weight: 700;
    padding: 0.1em 0.4em;
    border-radius: 4px;
}

.mhp-rank-card-desc {
    font-size: 0.75em;
    color: var(--mhp-text-muted);
    line-height: 1.4;
    margin-bottom: 0.5em;
}

.mhp-rank-card-pts {
    font-size: 0.7em;
    font-weight: 700;
    color: var(--mhp-text-muted);
    letter-spacing: 0.05em;
}

/* Achievements card */
.mhp-achievements-card {
    display: flex;
    flex-direction: column;
    gap: 1.25em;
    height: 100%;
}

.mhp-achievements-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.05em;
    font-weight: 700;
}
.mhp-achievements-card-header i { color: var(--mhp-primary); margin-right: 0.35em; }

.mhp-achievements-badge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.875em;
}

.mhp-achievement-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625em;
    text-align: center;
    background: var(--mhp-bg-card-dark);
    border: 1px solid var(--mhp-border-dark);
    border-radius: var(--mhp-radius-sm);
    padding: 1em 0.5em 0.75em;
}

.mhp-achievement-hexagon {
    width: 76px;
    height: 86px;
    background: linear-gradient(160deg, #7c6030 0%, #4a3a1e 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.mhp-achievement-hexagon::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: inherit;
    clip-path: inherit;
    filter: brightness(1.3);
    opacity: 0.4;
}

.mhp-achievement-hexagon-pts {
    font-size: 1.4em;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    position: relative;
    z-index: 1;
}

/* Badge tier colors with metallic effect */
.mhp-achievement-hexagon.mhp-badge-bronze {
    background: linear-gradient(135deg, #cd7f32 0%, #8b5a2b 30%, #cd7f32 50%, #6b4423 70%, #cd7f32 100%);
    filter: drop-shadow(0 2px 6px rgba(205, 127, 50, 0.4));
}

.mhp-achievement-hexagon.mhp-badge-silver {
    background: linear-gradient(135deg, #e8e8e8 0%, #a8a8a8 30%, #c0c0c0 50%, #888888 70%, #d4d4d4 100%);
    filter: drop-shadow(0 2px 6px rgba(192, 192, 192, 0.5));
}

.mhp-achievement-hexagon.mhp-badge-gold {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 20%, #ffb90f 40%, #daa520 60%, #ffd700 80%, #ffed4e 100%);
    filter: drop-shadow(0 2px 6px rgba(255, 215, 0, 0.6));
}

.mhp-achievement-hexagon.mhp-badge-bronze::before {
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
}

.mhp-achievement-hexagon.mhp-badge-silver::before {
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.5) 50%, transparent 100%);
}

.mhp-achievement-hexagon.mhp-badge-gold::before {
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
}

.mhp-achievement-badge-name {
    font-size: 0.65em;
    font-weight: 600;
    color: var(--mhp-text-muted-light);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    word-break: break-word;
}

.mhp-no-achievements {
    font-size: 0.875em;
    color: var(--mhp-text-muted);
    margin: 0;
}

/* Add payment method form */
.mhp-payment-method-list {
    list-style: none;
    margin: 0 0 1.5em;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.mhp-payment-method-item {
    background: var(--mhp-bg-card-dark);
    border: 1px solid var(--mhp-border-dark);
    border-radius: var(--mhp-radius-sm);
    overflow: hidden;
    transition: border-color 0.2s;
}

.mhp-payment-method-item:has(.mhp-payment-radio:checked) {
    border-color: var(--mhp-primary);
}

.mhp-add-payment-wrapper .mhp-payment-method-item:has(.mhp-payment-radio:checked) {
    border-color: var(--mhp-border-dark);
}

.mhp-payment-method-label {
    display: flex;
    align-items: center;
    gap: 0.75em;
    padding: 1em 1.25em;
    cursor: pointer;
}

.mhp-payment-radio {
    accent-color: var(--mhp-primary);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    cursor: pointer;
}

.mhp-payment-method-title {
    font-size: 0.95em;
    font-weight: 600;
    color: var(--mhp-text-white);
    flex: 1;
}

.mhp-payment-method-icons {
    display: flex;
    align-items: center;
    gap: 0.3em;
}

.mhp-payment-method-icons img {
    height: 22px;
    width: auto;
}

.mhp-payment-box {
    padding: 0 1.25em 1.25em;
    border-top: 1px solid var(--mhp-border-dark);
}

.mhp-payment-box p {
    color: var(--mhp-text-muted);
    font-size: 0.8em;
    margin: 0.75em 0 0;
    line-height: 1.5;
}

/* Stripe / gateway fields inside payment box */
.mhp-payment-box .form-row,
.mhp-payment-box .woocommerce-form-row {
    margin-bottom: 0.875em;
}

.mhp-payment-box label {
    display: block;
    font-size: 0.7em;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mhp-text-muted);
    margin-bottom: 0.4em;
}

.mhp-payment-box input[type="text"],
.mhp-payment-box input[type="tel"],
.mhp-payment-box select,
.mhp-payment-box .woocommerce-input-wrapper input {
    background: var(--mhp-bg-card) !important;
    border: 1px solid var(--mhp-border-dark) !important;
    border-radius: var(--mhp-radius-sm) !important;
    color: var(--mhp-text-white) !important;
    padding: 0.625em 0.875em !important;
    font-size: 0.9em !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.mhp-payment-box input:focus,
.mhp-payment-box select:focus {
    outline: none !important;
    border-color: var(--mhp-primary) !important;
}

/* Stripe iframe container */
.mhp-payment-box .StripeElement,
.mhp-payment-box .__PrivateStripeElement {
    background: var(--mhp-bg-card) !important;
    border: 1px solid var(--mhp-border-dark) !important;
    border-radius: var(--mhp-radius-sm) !important;
    padding: 0.625em 0.875em !important;
}

.mhp-payment-box .StripeElement--focus {
    border-color: var(--mhp-primary) !important;
}

/* Profile Details card */
.mhp-profile-details-card {
    width: 100%;
}

.mhp-profile-details-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5em;
    padding-bottom: 1em;
    border-bottom: 1px solid var(--mhp-border-dark);
}

.mhp-profile-details-header h2 {
    font-size: 1.125em;
    font-weight: 700;
    color: var(--mhp-text-white);
    margin: 0;
}

.mhp-profile-details-edit-icon {
    color: var(--mhp-text-muted);
    font-size: 1em;
}

/* Profile form */
.mhp-profile-form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25em;
    margin-bottom: 1.5em;
}

.mhp-profile-form-grid--1col {
    grid-template-columns: 1fr;
}

.mhp-profile-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4em;
}

.mhp-profile-form-field label {
    font-size: 0.7em;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--mhp-text-muted);
    text-transform: uppercase;
}

.mhp-profile-form-field label .required {
    color: var(--mhp-accent);
    margin-left: 0.2em;
}

.mhp-profile-form-field input[type="text"],
.mhp-profile-form-field input[type="email"],
.mhp-profile-form-field input[type="password"],
.mhp-profile-form-field select {
    background: var(--mhp-bg-card-dark);
    border: 1px solid var(--mhp-border-dark);
    border-radius: var(--mhp-radius-sm);
    color: var(--mhp-text-white);
    padding: 0.625em 0.875em;
    font-size: 0.9em;
    width: 100%;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.mhp-profile-form-field input:focus,
.mhp-profile-form-field select:focus {
    outline: none;
    border-color: var(--mhp-primary);
}

.mhp-profile-form-field input::placeholder {
    color: var(--mhp-text-muted);
}

.mhp-profile-form-select-wrap {
    position: relative;
}

.mhp-profile-form-select-wrap::after {
    content: '';
    position: absolute;
    right: 0.875em;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid transparent;
    border-top-color: var(--mhp-text-muted);
    pointer-events: none;
}

.mhp-profile-form-select-wrap select {
    padding-right: 2em;
}

.mhp-profile-form-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 1em;
    border-top: 1px solid var(--mhp-border-dark);
}

.mhp-profile-save-btn {
    min-width: 160px;
}

/* Responsive */
@media (max-width: 900px) {
    .mhp-edit-account-top,
    .mhp-edit-account-bottom {
        grid-template-columns: 1fr;
    }

    .mhp-profile-form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .mhp-profile-form-grid {
        grid-template-columns: 1fr;
    }

    .mhp-rank-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================
   Subscriptions Page
   ===================== */

.mhp-subscriptions-page {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin: 0 auto;
    padding: 0.5em 0 2em;
    max-width: 1200px;
}

.mhp-page-title {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--mhp-text-white);
    margin: 0 0 0.25em;
}

/* Empty state */
.mhp-subs-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75em;
    padding: 4em 2em;
    text-align: center;
    background: var(--mhp-bg-card);
    border: 1px solid var(--mhp-border-dark);
    border-radius: 16px;
}

.mhp-subs-empty i {
    font-size: 2.5em;
    color: var(--mhp-text-muted);
    opacity: 0.5;
}

.mhp-subs-empty h3 {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--mhp-text-white);
    margin: 0;
}

.mhp-subs-empty p {
    color: var(--mhp-text-muted);
    margin: 0;
    font-size: 0.95em;
}

/* ════════════════════════════════════════
   SUBSCRIPTION CARDS
   ════════════════════════════════════════ */

/* One card per subscription */
.mhp-sub-card {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    margin-bottom: 1em;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.mhp-sub-card:hover {
    border-color: rgba(255,255,255,0.25);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Top row: icon + name left, ... button right */
.mhp-sub-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.75em 1.75em 1em;
}

.mhp-sub-card-title {
    display: flex;
    align-items: center;
    gap: 0.75em;
    min-width: 0;
}

.mhp-sub-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

.mhp-sub-card-icon-fb {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--mhp-bg-card-dark);
    border: 1px solid var(--mhp-border-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--mhp-text-muted);
    font-size: 0.8em;
    flex-shrink: 0;
}

.mhp-sub-card-name {
    font-size: 1em;
    font-weight: 600;
    color: var(--mhp-text-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Bottom row: Plan/Sites left, Renewal price right */
.mhp-sub-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.75em 1.75em;
}

.mhp-sub-card-meta-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 100px;
}

.mhp-sub-card-col--dl {
    display: flex;
    align-items: center;
}

.mhp-sub-card-col {
    display: flex;
    flex-direction: column;
    gap: 0.3em;
}

.mhp-sub-label {
    font-size: 1em;
    color: var(--mhp-text-muted);
    font-weight: 400;
}

.mhp-sub-value {
    display: flex;
    align-items: center;
    gap: 1px;
    font-size: 1.1em;
    font-weight: 700;
    color: var(--mhp-text-white);
}

.mhp-sub-card-meta-right .mhp-sub-value {
    font-size: 1em;
}

/* ── Status badges ── */
.mhp-sub-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    font-size: 0.75em;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mhp-sub-badge--sm {
    border-radius: 8px;
}

.mhp-sub-badge--status.mhp-sub-badge--active {
    background: rgba(0, 208, 132, 0.15);
    color: var(--mhp-primary);
    border: 1px solid rgba(0, 208, 132, 0.25);
}

.mhp-sub-badge--status.mhp-sub-badge--pending-cancel {
    background: rgba(255, 159, 67, 0.15);
    color: var(--mhp-orange);
    border: 1px solid rgba(255, 159, 67, 0.25);
}

.mhp-sub-badge--status.mhp-sub-badge--on-hold {
    background: rgba(79, 172, 254, 0.12);
    color: var(--mhp-secondary);
    border: 1px solid rgba(79, 172, 254, 0.2);
}

.mhp-sub-badge--status.mhp-sub-badge--pending {
    background: rgba(255, 230, 0, 0.12);
    color: var(--mhp-yellow);
    border: 1px solid rgba(255, 230, 0, 0.2);
}

.mhp-sub-badge--status.mhp-sub-badge--cancelled,
.mhp-sub-badge--status.mhp-sub-badge--expired {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Compact button variant (smaller, rounded) */
.mhp-btn-compact {
    border-radius: 8px !important;
    font-size: 0.82em;
    padding: 0.5em 1em;
    text-decoration: none;
}

.mhp-pack-plugin-card .mhp-btn-compact {
    width: 100%;
    justify-content: center;
}

.mhp-btn-compact.mhp-btn--disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

/* Legacy support - can be removed after updating all templates */
.mhp-dl-btn {
    border-radius: 8px !important;
    font-size: 0.82em;
    padding: 0.5em 1em;
    text-decoration: none;
}

.mhp-pack-plugin-card .mhp-dl-btn {
    width: 100%;
    justify-content: center;
}

.mhp-dl-btn--disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

/* ── Pack downloads section ── */
.mhp-pack-downloads {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 1em 1.75em 1.5em;
}

.mhp-pack-downloads-label {
    display: block;
    font-size: 0.75em;
    font-weight: 600;
    color: var(--mhp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.85em;
}

.mhp-pack-downloads-label .fa-download {
    margin-right: 0.4em;
}

.mhp-pack-downloads-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.mhp-pack-plugin-card {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 10px;
    padding: 1em 1.1em 1em;
    transition: border-color 0.15s;
    gap: 0.6em;
    justify-content: space-between;
    width: calc(33% - 40px);
}

.mhp-pack-plugin-card:hover {
    border-color: rgba(255,255,255,0.18);
}

.mhp-pack-plugin-card-header {
    display: flex;
    align-items: center;
    gap: 0.6em;
}

.mhp-pack-plugin-card-icon {
    width: 26px;
    height: 26px;
    border-radius: 5px;
    object-fit: cover;
    flex-shrink: 0;
}

.mhp-pack-plugin-card-icon-fb {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85em;
    color: var(--mhp-text-muted);
    flex-shrink: 0;
}

.mhp-pack-plugin-card-name {
    font-size: 0.9em;
    font-weight: 600;
    color: var(--mhp-text-white);
}

.mhp-pack-plugin-card-desc {
    font-size: 0.78em;
    color: var(--mhp-text-muted);
    line-height: 1.5;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.mhp-sub-card-meta-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3em;
    text-align: right;
}

/* Three-dot dropdown */
.mhp-sdrop {
    position: relative;
    flex-shrink: 0;
}

.mhp-sdrop-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid var(--mhp-border-dark);
    color: var(--mhp-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    line-height: 1;
}

.mhp-sdrop-btn:hover,
.mhp-sdrop.is-open .mhp-sdrop-btn {
    background: var(--mhp-secondary);
    border-color: var(--mhp-secondary);
    color: #fff;
}

.mhp-sdrop-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 245px;
    background: #1e2235;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s, visibility 0.18s, transform 0.18s;
    z-index: 9999;
}

.mhp-sdrop.is-open .mhp-sdrop-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mhp-sdrop-item {
    display: flex;
    align-items: center;
    gap: 0.7em;
    width: 100%;
    padding: 0.75em 1.1em;
    font-size: 0.9em;
    color: var(--mhp-text-white);
    text-decoration: none;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-align: left;
    cursor: pointer;
    transition: background 0.12s;
}

.mhp-sdrop-item:last-child {
    border-bottom: none;
}

.mhp-sdrop-item:hover {
    background: rgba(255,255,255,0.06);
}

.mhp-sdrop-item i {
    width: 16px;
    text-align: center;
    color: var(--mhp-text-muted);
    font-size: 0.9em;
    flex-shrink: 0;
}

.mhp-sdrop-item--dim,
.mhp-sdrop-item--dim i {
    color: rgba(255,255,255,0.25);
}

.mhp-sdrop-item--dim:hover {
    background: transparent;
    cursor: default;
}

#add_payment_method #payment div.payment_box .woocommerce-SavedPaymentMethods, 
.woocommerce-cart #payment div.payment_box .woocommerce-SavedPaymentMethods, 
.woocommerce-checkout #payment div.payment_box .woocommerce-SavedPaymentMethods {
    padding: 0;
}

/* Order-pay / change payment: saved card token list */
.woocommerce-SavedPaymentMethods-token input[type="radio"] {
    display: none;
}

.woocommerce-SavedPaymentMethods-token label {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.woocommerce-SavedPaymentMethods-token label:hover {
    background: rgba(108,143,255,0.08);
}

.woocommerce-SavedPaymentMethods-token input[type="radio"]:checked + label {
    background: rgba(108,143,255,0.12);
    border-color: #6c8fff;
    color: #1f1f52;
    font-weight: 600;
}

/* Order-pay page: payment gateway & button overrides */
body.woocommerce-order-pay .payment-gateway-label-container label.active {
    background: rgba(255,255,255,0.12);
    border-color: #6c8fff;
    box-shadow: 0 0 0 2px rgba(108,143,255,0.45);
    color: #fff;
}

body.woocommerce-order-pay #place_order {
    font-size: 1em;
    padding: 12px 24px;
}

body.woocommerce-order-pay #payment .form-row {
    display: flex;
    flex-direction: column;
}

#mhp-cancel-payment {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 12px;
    padding: 10px 24px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    color: rgba(255,255,255,0.65);
    font-size: 0.9em;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
    box-sizing: border-box;
}

#mhp-cancel-payment:hover {
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}


@media (max-width: 768px) {
    .mhp-achievement-popup-content {
        padding: 30px 20px;
        width: 95%;
        max-height: 90vh;
    }

    .mhp-achievement-popup-body h2 {
        font-size: 1.5em;
    }

    .mhp-achievement-popup-body h3 {
        font-size: 1.125em;
    }
}

/* ════════════════════════════════════════
   REUSABLE TABLE COMPONENTS
   ════════════════════════════════════════ */

/* Generic table wrapper */
.mhp-table-wrap {
    max-height: 420px;
    overflow-y: auto;
}

/* Generic table */
.mhp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

/* Generic table header */
.mhp-table-th {
    text-align: left;
    padding: 10px 12px;
    font-weight: 600;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid var(--mhp-border-color, rgba(255,255,255,.12));
    white-space: nowrap;
    user-select: none;
}

/* Generic sortable column */
.mhp-table-sortable {
    cursor: pointer;
}

.mhp-table-sortable:hover {
    opacity: 1;
}

.mhp-table-sort-icon {
    font-size: .7em;
    margin-left: 4px;
}

/* Generic table cell */
.mhp-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--mhp-border-color, rgba(255,255,255,.08));
    vertical-align: middle;
}

.mhp-table tbody tr:hover {
    background: rgba(255,255,255,.03);
}

/* Generic badge component */
.mhp-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 8px;
    font-size: .78rem;
    font-weight: 600;
}

.mhp-badge--success {
    background: rgba(0, 208, 132, 0.15);
    color: var(--mhp-primary);
    border: 1px solid rgba(0, 208, 132, 0.25);
}

.mhp-badge--warning {
    background: rgba(255, 159, 67, 0.15);
    color: var(--mhp-orange);
    border: 1px solid rgba(255, 159, 67, 0.25);
}

.mhp-badge--info {
    background: rgba(79, 172, 254, 0.12);
    color: var(--mhp-secondary);
    border: 1px solid rgba(79, 172, 254, 0.2);
}

.mhp-badge--danger {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.mhp-badge--pending {
    background: rgba(255, 230, 0, 0.12);
    color: var(--mhp-yellow);
    border: 1px solid rgba(255, 230, 0, 0.2);
}

/* Generic loading state */
.mhp-table-loading {
    text-align: center;
    padding: 40px 0;
    font-size: 1.5rem;
    opacity: .5;
}

/* Generic empty state */
.mhp-table-empty {
    text-align: center;
    padding: 40px 0;
    opacity: .5;
}

.mhp-table-empty i {
    font-size: 2rem;
    margin-bottom: 8px;
}

/* ─── Sites trigger ─── */
.mhp-sites-trigger {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mhp-sites-trigger .mhp-sub-label::after {
    position: absolute;
    content: '\f08e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: .7em;
    margin-left: 5px;
    opacity: .45;
}

/* ─── Sites modal ─── */
.mhp-sites-modal {
    max-width: 720px;
    width: 94vw;
    padding: 24px;
    color: rgba(255, 255, 255, .92);
}
.mhp-sites-modal-title {
    margin: 0 0 16px;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mhp-sites-modal-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.mhp-sites-search {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--mhp-border-color, rgba(255,255,255,.12));
    border-radius: 8px;
    background: var(--mhp-bg-card, #1a1a2e);
    color: inherit;
    font-size: .9rem;
    outline: none;
    transition: border-color .15s;
}
.mhp-sites-search:focus {
    border-color: var(--mhp-brand-1, #4f8aff);
}
.mhp-sites-plugin-filter {
    padding: 8px 12px;
    border: 1px solid var(--mhp-border-color, rgba(255,255,255,.12));
    border-radius: 8px;
    background: var(--mhp-bg-card, #1a1a2e);
    color: inherit;
    font-size: .9rem;
    outline: none;
    cursor: pointer;
    transition: border-color .15s;
    min-width: 160px;
}
.mhp-sites-plugin-filter:focus {
    border-color: var(--mhp-brand-1, #4f8aff);
}
.mhp-sites-count {
    white-space: nowrap;
    font-size: .85rem;
    opacity: .8;
}

/* Sites-specific table styles (extends generic .mhp-table) */
.mhp-sites-url {
    color: inherit;
    text-decoration: none;
    word-break: break-all;
}
.mhp-sites-url:hover {
    text-decoration: underline;
    opacity: .8;
}
.mhp-sites-plugin-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}
.mhp-sites-plugin-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    flex-shrink: 0;
}

/* Sites-specific badge styles (extends generic .mhp-badge) */
.mhp-badge--production {
    background: rgba(34, 197, 94, .15);
    color: #22c55e;
}
.mhp-badge--staging {
    background: rgba(234, 179, 8, .15);
    color: #eab308;
}

/* loading / empty - removed, using generic .mhp-table-loading and .mhp-table-empty */

/* pagination */
.mhp-sites-pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    padding-top: 16px;
}
.mhp-sites-page-btn {
    background: none;
    border: 1px solid var(--mhp-border-color, rgba(255,255,255,.12));
    color: inherit;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: .85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, border-color .15s;
}
.mhp-sites-page-btn:hover:not([disabled]) {
    background: rgba(255,255,255,.06);
    border-color: var(--mhp-brand-1, #4f8aff);
}
.mhp-sites-page-btn.is-active {
    background: var(--mhp-brand-1, #4f8aff);
    border-color: var(--mhp-brand-1, #4f8aff);
    color: #fff;
}
.mhp-sites-page-btn[disabled] {
    opacity: .3;
    cursor: default;
}

@media (max-width: 600px) {
    .mhp-sites-table th:nth-child(2),
    .mhp-sites-table td:nth-child(2) {
        display: none;
    }
    .mhp-sites-modal {
        width: 100vw;
        max-width: 100vw;
        border-radius: 16px 16px 0 0;
    }
}

/* ════════════════════════════════════════
   SUPPORT CENTER
   ════════════════════════════════════════ */

.mhp-support-center {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    padding: 0.5em 0 2em;
    max-width: 1200px;
}

.mhp-support-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5em;
}

/* Empty state */
.mhp-support-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75em;
    padding: 4em 2em;
    text-align: center;
    background: var(--mhp-bg-card);
    border: 1px solid var(--mhp-border-dark);
    border-radius: 16px;
}

.mhp-support-empty i {
    font-size: 2.5em;
    color: var(--mhp-text-muted);
    opacity: 0.5;
}

.mhp-support-empty h3 {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--mhp-text-white);
    margin: 0;
}

.mhp-support-empty p {
    color: var(--mhp-text-muted);
    margin: 0;
    font-size: 0.95em;
}

/* Error state */
.mhp-support-error {
    display: flex;
    align-items: center;
    gap: 0.75em;
    padding: 1.5em;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    color: #ef4444;
}

.mhp-support-error i {
    font-size: 1.5em;
    flex-shrink: 0;
}

.mhp-support-error p {
    margin: 0;
    font-size: 0.95em;
}

/* Rate limit state */
.mhp-support-rate-limit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    padding: 2em;
    background: var(--mhp-bg-card);
    border: 1px solid var(--mhp-border-dark);
    border-radius: 12px;
}

.mhp-rate-limit-message {
    display: flex;
    align-items: center;
    gap: 0.75em;
    color: var(--mhp-orange);
}

.mhp-rate-limit-message i {
    font-size: 1.5em;
    flex-shrink: 0;
}

.mhp-rate-limit-message p {
    margin: 0;
    font-size: 0.95em;
}

/* Tickets table (uses generic .mhp-table classes) */
.mhp-support-tickets-table {
    background: var(--mhp-bg-card);
    border: 1px solid var(--mhp-border-dark);
    border-radius: 12px;
    overflow: hidden;
}

.mhp-tickets-table .mhp-ticket-row {
    cursor: pointer;
    transition: background 0.15s;
}

.mhp-ticket-id {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9em;
    color: var(--mhp-text-muted);
}

.mhp-ticket-subject a {
    color: var(--mhp-text-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}

.mhp-ticket-subject a:hover {
    color: var(--mhp-primary);
}

.mhp-ticket-updated {
    color: var(--mhp-text-muted);
    font-size: 0.9em;
}

/* Tickets pagination */
.mhp-tickets-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid var(--mhp-border-dark);
}

.mhp-pagination-btn {
    background: none;
    border: 1px solid var(--mhp-border-color, rgba(255,255,255,.12));
    color: var(--mhp-text-white);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.mhp-pagination-btn:hover:not(.mhp-pagination-disabled) {
    background: rgba(255,255,255,.05);
    border-color: var(--mhp-primary);
}

.mhp-pagination-btn.mhp-pagination-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.mhp-pagination-info {
    font-size: 0.9em;
    color: var(--mhp-text-muted);
}

.mhp-pagination-info strong {
    color: var(--mhp-text-white);
}

/* Status badge helper classes */
.mhp-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.mhp-status-open {
    background: rgba(79, 172, 254, 0.15);
    color: #6bb4ff;
    border: 1px solid rgba(79, 172, 254, 0.3);
}

.mhp-status-pending {
    background: rgba(255, 193, 7, 0.15);
    color: #ffb300;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.mhp-status-resolved,
.mhp-status-closed {
    background: rgba(0, 208, 132, 0.15);
    color: #00e676;
    border: 1px solid rgba(0, 208, 132, 0.3);
}

/* Modal styles */
.mhp-modal {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mhp-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.mhp-modal-content {
    position: relative;
    background: var(--mhp-bg-card);
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.mhp-modal-large .mhp-modal-content {
    max-width: 800px;
}

.mhp-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5em 1.75em;
    border-bottom: 1px solid var(--mhp-border-dark);
}

.mhp-modal-header h2 {
    margin: 0;
    font-size: 1.25em;
    font-weight: 600;
    color: var(--mhp-text-white);
}

.mhp-modal-close {
    background: transparent;
    border: none;
    color: var(--mhp-text-muted);
    font-size: 1.5em;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
}

.mhp-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--mhp-text-white);
}

.mhp-modal-body {
    padding: 1.75em;
    overflow-y: auto;
    flex: 1;
}

/* Form elements */
.mhp-form-group {
    margin-bottom: 1.25em;
}

.mhp-form-group label {
    display: block;
    font-size: 0.9em;
    font-weight: 600;
    color: var(--mhp-text-white);
    margin-bottom: 0.5em;
}

.mhp-form-group label .required {
    color: #ef4444;
}

.mhp-form-group input[type="text"],
.mhp-form-group input[type="email"],
.mhp-form-group select,
.mhp-form-group textarea {
    width: 100%;
    padding: 0.75em 1em;
    background: var(--mhp-bg-card-dark);
    border: 1px solid var(--mhp-border-color);
    border-radius: 8px;
    color: var(--mhp-text-white);
    font-size: 0.95em;
    transition: border-color 0.15s;
}

.mhp-form-group input[type="text"]:focus,
.mhp-form-group input[type="email"]:focus,
.mhp-form-group select:focus,
.mhp-form-group textarea:focus {
    outline: none;
    border-color: var(--mhp-secondary);
}

.mhp-form-group input[type="file"] {
    display: block;
    width: 100%;
    padding: 0.5em;
    color: var(--mhp-text-white);
    font-size: 0.9em;
}

.mhp-form-help {
    font-size: 0.8em;
    color: var(--mhp-text-muted);
    margin: 0.5em 0 0;
}

/* Attachment grid */
.mhp-attachment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1em;
    margin-top: 1em;
}

.mhp-attachment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
}

.mhp-attachment-preview {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    border: 1px solid var(--mhp-border-color);
    background: var(--mhp-bg-card-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mhp-attachment-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mhp-attachment-preview i {
    font-size: 2.5em;
    color: var(--mhp-text-muted);
    opacity: 0.6;
}

.mhp-attachment-name {
    font-size: 0.75em;
    color: var(--mhp-text-muted-light);
    text-align: center;
    word-break: break-word;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3;
}

.mhp-form-actions {
    display: flex;
    gap: 0.75em;
    justify-content: flex-end;
    margin-top: 1.5em;
}

/* Loading spinner */
.mhp-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    padding: 2em;
    color: var(--mhp-text-muted);
}

/* Ticket view content */
#mhp-ticket-content {
    font-size: 0.95em;
}

/* Ticket details */
.mhp-ticket-details {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.mhp-ticket-header {
    padding-bottom: 1em;
    border-bottom: 1px solid var(--mhp-border-dark);
}

.mhp-ticket-meta {
    display: flex;
    align-items: center;
    gap: 0.75em;
    margin-bottom: 0.75em;
}

.mhp-ticket-subject {
    font-size: 1.15em;
    font-weight: 600;
    color: var(--mhp-text-white);
    margin-bottom: 0.5em;
}

.mhp-ticket-date {
    font-size: 0.85em;
    color: var(--mhp-text-muted);
}

/* Conversation */
.mhp-ticket-conversation {
    display: flex;
    flex-direction: column;
    gap: 1.25em;
}

.mhp-conversation-item {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    padding: 1em 1.25em;
    border-radius: 10px;
    border: 1px solid var(--mhp-border-dark);
}

.mhp-conversation-user {
    background: rgba(79, 172, 254, 0.06);
    border-color: rgba(79, 172, 254, 0.15);
}

.mhp-conversation-support {
    background: rgba(0, 208, 132, 0.06);
    border-color: rgba(0, 208, 132, 0.15);
}

.mhp-conversation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5em;
}

.mhp-conversation-header strong {
    font-size: 0.9em;
    font-weight: 600;
    color: var(--mhp-text-white);
}

.mhp-conversation-user .mhp-conversation-header strong {
    color: var(--mhp-secondary);
}

.mhp-conversation-support .mhp-conversation-header strong {
    color: var(--mhp-primary);
}

.mhp-conversation-header span {
    font-size: 0.8em;
    color: var(--mhp-text-muted);
}

.mhp-conversation-body {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--mhp-text-white);
}

.mhp-conversation-body p {
    margin: 0 0 0.75em;
}

.mhp-conversation-body p:last-child {
    margin-bottom: 0;
}

/* Reply form */
.mhp-ticket-reply-form {
    padding-top: 1em;
    border-top: 1px solid var(--mhp-border-dark);
}

@media (max-width: 600px) {
    .mhp-support-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1em;
    }

    .mhp-modal-content {
        width: 100%;
        max-width: 100%;
        border-radius: 16px 16px 0 0;
    }
}

/* ========================================
   NOTIFICATION SYSTEM
   ======================================== */

#mhp-notification-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.mhp-notification {
    background: white;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

.mhp-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.mhp-notification i {
    font-size: 20px;
    flex-shrink: 0;
}

.mhp-notification span {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

.mhp-notification-success {
    border-left: 4px solid #10b981;
}

.mhp-notification-success i {
    color: #10b981;
}

.mhp-notification-error {
    border-left: 4px solid #ef4444;
}

.mhp-notification-error i {
    color: #ef4444;
}

@media (max-width: 600px) {
    #mhp-notification-container {
        bottom: 10px;
        right: 10px;
        left: 10px;
    }

    .mhp-notification {
        min-width: auto;
        max-width: 100%;
    }
}