/* ================================================================
   My Account - Modern Dashboard (RTL)
   ================================================================ */

.mohtava-account-page {
    max-width: 1180px;
}

/* ---------- Layout ---------- */
.mohtava-account {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
}

@media (min-width: 1024px) {
    .mohtava-account {
        grid-template-columns: 300px minmax(0, 1fr);
        gap: 24px;
    }
    .mohtava-account-sidebar {
        position: sticky;
        top: 24px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
}

.mohtava-account-content {
    min-width: 0;
}

/* ---------- Sidebar: Profile Card ---------- */
.mohtava-account-user {
    background: #fff;
    border: 1px solid #f0f1f3;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.mohtava-account-user-cover {
    height: 84px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 55%, var(--color-secondary) 130%);
    position: relative;
}

.mohtava-account-user-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.18) 0, transparent 45%),
        radial-gradient(circle at 15% 80%, rgba(255, 255, 255, 0.12) 0, transparent 40%);
}

.mohtava-account-user-body {
    padding: 0 20px 18px;
    text-align: center;
}

.mohtava-account-user-avatar {
    width: 84px;
    height: 84px;
    margin: -42px auto 0;
    border-radius: 0;
    background: #fff;
    border: 4px solid #fff;
    box-shadow: 0 6px 16px rgba(16, 24, 40, 0.12);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.mohtava-account-user-avatar img,
.mohtava-account-user-avatar .avatar {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    border-radius: 0;
}

.mohtava-account-user-name {
    margin-top: 10px;
    font-size: 17px;
    font-weight: 800;
    color: #111827;
    word-break: break-word;
}

.mohtava-account-user-sub {
    margin: 4px 0 0;
    font-size: 12.5px;
    color: #6b7280;
    direction: ltr;
}

.mohtava-account-user-since {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 12px;
    border-radius: 0;
    background: #f9fafb;
    border: 1px solid #f0f1f3;
    font-size: 11.5px;
    color: #9ca3af;
    font-weight: 500;
}

/* ---------- Sidebar: Navigation ---------- */
.mohtava-account-nav {
    background: #fff;
    border: 1px solid #f0f1f3;
    border-radius: 0;
    padding: 10px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.mohtava-account-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mohtava-account-nav-item {
    margin: 0;
}

.mohtava-account-nav-item > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.mohtava-account-nav-item > a:hover {
    background: #fff7f2;
    color: var(--color-primary);
}

.mohtava-account-nav-item.is-active > a,
.mohtava-account-nav-item.woocommerce-MyAccount-navigation-link--dashboard.is-active > a,
.mohtava-account-nav-item > a[aria-current="page"] {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-button-text);
    box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--color-primary) 45%, transparent);
}

.mohtava-account-nav-icon {
    width: 34px;
    height: 34px;
    border-radius: 0;
    background: #f5f6f7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #9ca3af;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.mohtava-account-nav-icon-svg {
    width: 17px;
    height: 17px;
}

.mohtava-account-nav-item > a:hover .mohtava-account-nav-icon {
    background: #ffe9dc;
    color: var(--color-primary);
}

.mohtava-account-nav-item.is-active > a .mohtava-account-nav-icon,
.mohtava-account-nav-item > a[aria-current="page"] .mohtava-account-nav-icon {
    background: rgba(255, 255, 255, 0.18);
    color: var(--color-button-text);
}

.mohtava-account-nav-label {
    flex: 1;
    text-align: right;
}

.mohtava-account-nav-arrow {
    width: 14px;
    height: 14px;
    color: #c4c8cf;
    transition: transform 0.18s ease, color 0.18s ease;
}

.mohtava-account-nav-item > a:hover .mohtava-account-nav-arrow {
    color: var(--color-primary);
    transform: translateX(-3px);
}

.mohtava-account-nav-item.is-active > a .mohtava-account-nav-arrow,
.mohtava-account-nav-item > a[aria-current="page"] .mohtava-account-nav-arrow {
    color: rgba(255, 255, 255, 0.85);
}

.mohtava-account-nav-item--logout > a {
    color: #ef4444;
}

.mohtava-account-nav-item--logout > a .mohtava-account-nav-icon {
    background: #fef2f2;
    color: #ef4444;
}

.mohtava-account-nav-item--logout > a:hover {
    background: #fef2f2;
    color: #dc2626;
}

.mohtava-account-nav-item--logout.is-active > a {
    background: #fef2f2;
    color: #dc2626;
    box-shadow: none;
}

.mohtava-account-nav-item--logout.is-active > a .mohtava-account-nav-icon {
    background: #fee2e2;
    color: #dc2626;
}

/* ---------- Mobile Topbar / Drawer ---------- */
.mohtava-account-topbar,
.mohtava-account-overlay {
    display: none;
}

.mohtava-account-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    border: 1px solid #f0f1f3;
    border-radius: 0;
    background: #fff;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.mohtava-account-menu-btn:hover {
    background: #fff7f2;
    border-color: #ffd9c2;
    color: var(--color-primary);
}

.mohtava-account-menu-btn-icon {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
}

@media (max-width: 1023.98px) {
    .mohtava-account-topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .mohtava-account-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 90;
        background: rgba(16, 24, 40, 0.5);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .mohtava-account-overlay.is-open {
        opacity: 1;
        pointer-events: auto;
    }

    .mohtava-account-sidebar {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
        width: min(320px, 86vw);
        background: #f7f8fa;
        overflow-y: auto;
        padding: 16px;
        box-shadow: -12px 0 40px rgba(16, 24, 40, 0.18);
        transform: translateX(105%);
        visibility: hidden;
        transition: transform 0.3s ease, visibility 0.3s ease;
    }

    .mohtava-account-sidebar.is-open {
        transform: translateX(0);
        visibility: visible;
    }

    .mohtava-account-user {
        display: flex;
        align-items: center;
        padding: 14px 16px;
    }
    .mohtava-account-user-cover {
        display: none;
    }
    .mohtava-account-user-body {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding: 0;
        text-align: center;
        flex: 1;
        min-width: 0;
    }
    .mohtava-account-user-avatar {
        width: 56px;
        height: 56px;
        margin: 0 auto 2px;
        border: 3px solid #fff;
        flex-shrink: 0;
    }
    .mohtava-account-user-sub {
        max-width: 100%;
        margin: 0;
        font-size: 12px;
        direction: ltr;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: #6b7280;
    }
    .mohtava-account-user-name {
        margin: 0;
        font-size: 15px;
        line-height: 1.4;
        word-break: break-word;
    }
    .mohtava-account-user-since {
        display: none;
    }

    .mohtava-account-nav {
        border-radius: 0;
        padding: 8px;
        background: #fff;
    }
    .mohtava-account-nav-list {
        flex-direction: column;
        gap: 2px;
        overflow: visible;
    }
    .mohtava-account-nav-item > a {
        padding: 11px 14px;
        font-size: 14px;
        border: 0;
        background: transparent;
        white-space: normal;
        gap: 12px;
    }
    .mohtava-account-nav-icon {
        width: 34px;
        height: 34px;
        border-radius: 0;
    }
    .mohtava-account-nav-icon-svg {
        width: 17px;
        height: 17px;
    }
    .mohtava-account-nav-arrow {
        display: block;
    }
    .mohtava-account-nav-label {
        flex: 1;
    }
}

/* ---------- Buttons ---------- */
.mohtava-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.18s ease;
}

.mohtava-btn--primary {
    background: linear-gradient(135deg, var(--color-button) 0%, var(--color-button-light) 100%);
    color: var(--color-button-text);
    box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--color-button) 45%, transparent);
}

.mohtava-btn--primary:hover {
    background: linear-gradient(135deg, var(--color-button-dark) 0%, var(--color-button) 100%);
    color: var(--color-button-text);
    transform: translateY(-1px);
    box-shadow: 0 12px 22px -8px color-mix(in srgb, var(--color-button) 55%, transparent);
}

.mohtava-btn--white {
    background: #fff;
    color: var(--color-primary);
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.25);
}

.mohtava-btn--white:hover {
    background: #fff4ec;
    color: var(--color-primary-dark);
    transform: translateY(-1px);
}

.mohtava-btn--ghost {
    background: #fff;
    border-color: #e5e7eb;
    color: #374151;
}

.mohtava-btn--ghost:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: #fff7f2;
}

.mohtava-btn--sm {
    padding: 7px 14px;
    font-size: 12.5px;
    border-radius: 0;
}

.mohtava-btn--lg {
    padding: 13px 30px;
    font-size: 15px;
    border-radius: 0;
}

/* ---------- Dashboard: Hero ---------- */
.mohtava-dash-hero {
    background: linear-gradient(130deg, var(--color-primary) 0%, var(--color-primary-light) 45%, var(--color-secondary) 125%);
    border-radius: 0;
    padding: 26px 28px;
    color: #fff;
    box-shadow: 0 16px 34px -14px color-mix(in srgb, var(--color-primary) 50%, transparent);
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
}

.mohtava-dash-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.16) 0, transparent 42%),
        radial-gradient(circle at 8% 95%, rgba(255, 255, 255, 0.12) 0, transparent 38%);
    pointer-events: none;
}

.mohtava-dash-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.mohtava-dash-hero-greeting {
    margin: 0;
    font-size: 13.5px;
    font-weight: 500;
    opacity: 0.9;
}

.mohtava-dash-hero-name {
    margin: 2px 0 6px;
    font-size: 24px;
    font-weight: 900;
    word-break: break-word;
}

.mohtava-dash-hero-text {
    margin: 0;
    font-size: 13px;
    opacity: 0.88;
    max-width: 520px;
    line-height: 1.8;
}

.mohtava-dash-hero-actions {
    display: flex;
    gap: 10px;
}

/* ---------- Dashboard: Stats ---------- */
.mohtava-dash-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 16px;
}

.mohtava-dash-stat {
    background: #fff;
    border: 1px solid #f0f1f3;
    border-radius: 0;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

a.mohtava-dash-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -12px rgba(16, 24, 40, 0.18);
    border-color: color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.mohtava-dash-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mohtava-dash-stat-icon--orange {
    background: #fff0e7;
    color: var(--color-primary);
}

.mohtava-dash-stat-icon--teal {
    background: #e4f7f4;
    color: var(--color-secondary);
}

.mohtava-dash-stat-icon--purple {
    background: #f1ecfd;
    color: #7c3aed;
}

.mohtava-dash-stat-value {
    font-size: 19px;
    font-weight: 800;
    color: #111827;
}

.mohtava-dash-stat-label {
    font-size: 12.5px;
    color: #6b7280;
    font-weight: 500;
}

/* ---------- Dashboard: Quick Actions ---------- */
.mohtava-dash-quick {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.mohtava-dash-quick-item {
    background: #fff;
    border: 1px dashed #e5e7eb;
    border-radius: 0;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    transition: all 0.18s ease;
}

.mohtava-dash-quick-item:hover {
    border-color: var(--color-primary);
    border-style: solid;
    background: #fff7f2;
    color: var(--color-primary);
}

.mohtava-dash-quick-icon {
    width: 34px;
    height: 34px;
    border-radius: 0;
    background: #f5f6f7;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mohtava-dash-quick-item:hover .mohtava-dash-quick-icon {
    background: #ffe9dc;
    color: var(--color-primary);
}

/* ---------- Panels ---------- */
.mohtava-panel {
    background: #fff;
    border: 1px solid #f0f1f3;
    border-radius: 0;
    padding: 22px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    margin-bottom: 16px;
}

.mohtava-panel-title {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 800;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mohtava-panel-desc {
    margin: -8px 0 16px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.8;
}

.mohtava-dash-panel {
    background: #fff;
    border: 1px solid #f0f1f3;
    border-radius: 0;
    padding: 22px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.mohtava-dash-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.mohtava-dash-panel-title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #111827;
}

.mohtava-dash-panel-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.mohtava-dash-panel-link:hover {
    color: var(--color-primary-dark);
}

/* ---------- Recent Orders ---------- */
.mohtava-recent-orders {
    display: flex;
    flex-direction: column;
}

.mohtava-recent-order {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 6px;
    border-top: 1px solid #f5f5f6;
}

.mohtava-recent-order:first-child {
    border-top: none;
}

.mohtava-recent-order-main {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    text-decoration: none;
}

.mohtava-recent-order-icon {
    width: 40px;
    height: 40px;
    border-radius: 0;
    background: #f5f6f7;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mohtava-recent-order-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mohtava-recent-order-number {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    transition: color 0.15s ease;
}

.mohtava-recent-order-main:hover .mohtava-recent-order-number {
    color: var(--color-primary);
}

.mohtava-recent-order-date {
    font-size: 12px;
    color: #9ca3af;
}

.mohtava-recent-order-total {
    font-size: 14px;
    font-weight: 800;
    color: var(--color-primary);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}

.mohtava-recent-order-items {
    font-size: 11.5px;
    font-weight: 500;
    color: #9ca3af;
}

.mohtava-recent-order-view {
    flex-shrink: 0;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    padding: 7px 14px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
    border-radius: 0;
    transition: all 0.15s ease;
}

.mohtava-recent-order-view:hover {
    background: #fff7f2;
    border-color: var(--color-primary);
}

@media (max-width: 639.98px) {
    .mohtava-recent-order {
        flex-wrap: wrap;
        gap: 10px;
    }
    .mohtava-recent-order-total {
        text-align: right;
        margin-right: 52px;
    }
    .mohtava-recent-order-view {
        margin-right: auto;
    }
}

/* ---------- Status Badges ---------- */
.mohtava-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 0;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid transparent;
}

.mohtava-status-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 0;
    background: currentColor;
}

.mohtava-status-badge--large {
    padding: 7px 18px;
    font-size: 13px;
}

.mohtava-status-badge--pending,
.mohtava-status-badge--on-hold,
.mohtava-status-badge--checkout-draft {
    background: #fffbeb;
    color: #b45309;
    border-color: #fde68a;
}

.mohtava-status-badge--processing {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.mohtava-status-badge--completed {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
}

.mohtava-status-badge--cancelled,
.mohtava-status-badge--failed {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}

.mohtava-status-badge--refunded {
    background: #f5f5f5;
    color: #4b5563;
    border-color: #e5e7eb;
}

.mohtava-status-badge--shipped {
    background: #f5f3ff;
    color: #6d28d9;
    border-color: #ddd6fe;
}

/* ---------- Orders Table ---------- */
.mohtava-table-wrap {
    background: #fff;
    border: 1px solid #f0f1f3;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.mohtava-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.mohtava-table thead th {
    background: #fafbfc;
    text-align: right;
    padding: 14px 16px;
    font-size: 12.5px;
    font-weight: 700;
    color: #6b7280;
    border-bottom: 1px solid #f0f1f3;
    white-space: nowrap;
}

.mohtava-table tbody td,
.mohtava-table tbody th {
    padding: 15px 16px;
    border-bottom: 1px solid #f5f5f6;
    color: #374151;
    vertical-align: middle;
}

.mohtava-table tbody tr:last-child td,
.mohtava-table tbody tr:last-child th {
    border-bottom: none;
}

.mohtava-table tbody tr {
    transition: background-color 0.15s ease;
}

.mohtava-table tbody tr:hover {
    background: #fffaf6;
}

.mohtava-table tbody a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

.mohtava-table tbody a:hover {
    color: var(--color-primary-dark);
}

.mohtava-table tbody th[scope="row"] {
    font-weight: 700;
}

.mohtava-table-items {
    display: block;
    font-size: 11.5px;
    color: #9ca3af;
    font-weight: 400;
    margin-top: 2px;
}

.mohtava-table .mohtava-status-badge {
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .mohtava-table thead {
        display: none;
    }

    .mohtava-table,
    .mohtava-table tbody,
    .mohtava-table tr,
    .mohtava-table td,
    .mohtava-table th {
        display: block;
        width: 100%;
    }

    .mohtava-table tbody tr {
        padding: 14px 16px;
        border-bottom: 1px solid #f0f1f3;
    }

    .mohtava-table tbody tr:last-child {
        border-bottom: none;
    }

    .mohtava-table tbody td,
    .mohtava-table tbody th {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 7px 0;
        border: none;
        text-align: right;
    }

    .mohtava-table tbody td::before,
    .mohtava-table tbody th[scope="row"]::before {
        content: attr(data-title);
        font-size: 11.5px;
        font-weight: 600;
        color: #9ca3af;
        flex-shrink: 0;
    }

    .mohtava-table tbody th[scope="row"] {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .mohtava-table tbody tr:hover {
        background: #fff;
    }
}

/* ---------- Pagination ---------- */
.mohtava-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
}

.mohtava-pagination-current {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
}

/* ---------- Empty State ---------- */
.mohtava-empty {
    background: #fff;
    border: 1px dashed #e5e7eb;
    border-radius: 0;
    padding: 48px 20px;
    text-align: center;
}

.mohtava-empty-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 16px;
    border-radius: 0;
    background: #f5f6f7;
    color: #c4c8cf;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mohtava-empty-text {
    margin: 0 0 18px;
    font-size: 14.5px;
    font-weight: 600;
    color: #6b7280;
}

/* ---------- Account Page Headers ---------- */
.mohtava-account-head {
    margin-bottom: 18px;
}

.mohtava-account-head--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.mohtava-account-head-title {
    margin: 0 0 4px;
    font-size: 21px;
    font-weight: 900;
    color: #111827;
}

.mohtava-account-head-sub {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.8;
}

.mohtava-account-head-sub mark {
    background: none;
    color: #111827;
    font-weight: 700;
}

.mohtava-order-hero-status {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ---------- View Order: Notes ---------- */
.mohtava-order-notes {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mohtava-order-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.mohtava-order-note-dot {
    width: 10px;
    height: 10px;
    border-radius: 0;
    background: var(--color-primary);
    margin-top: 7px;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px #ffe9dc;
}

.mohtava-order-note-date {
    margin: 0 0 2px;
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

.mohtava-order-note-text {
    font-size: 13.5px;
    color: #374151;
    line-height: 1.8;
}

.mohtava-order-note-text p {
    margin: 0;
}

/* ---------- Order Details (view order) ---------- */
.mohtava-order-details {
    display: flex;
    flex-direction: column;
}

.mohtava-order-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 4px;
    border-top: 1px solid #f5f5f6;
}

.mohtava-order-item:first-child {
    border-top: none;
}

.mohtava-order-item-media {
    width: 62px;
    height: 62px;
    border-radius: 0;
    overflow: hidden;
    background: #f5f6f7;
    border: 1px solid #f0f1f3;
    flex-shrink: 0;
}

.mohtava-order-item-media a {
    display: block;
    width: 100%;
    height: 100%;
}

.mohtava-order-item-thumb {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    max-width: none !important;
}

.mohtava-order-item-info {
    flex: 1;
    min-width: 0;
}

.mohtava-order-item-name {
    margin: 0 0 5px;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    line-height: 1.6;
}

.mohtava-order-item-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.mohtava-order-item-name a:hover {
    color: var(--color-primary);
}

.mohtava-order-item-meta {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.9;
}

.mohtava-order-item-qty {
    font-weight: 700;
    color: #374151;
    margin-left: 6px;
}

.mohtava-order-item-meta .woocommerce-product-attributes {
    margin: 2px 0;
}

.mohtava-order-item-total {
    font-size: 14px;
    font-weight: 800;
    color: var(--color-primary);
    flex-shrink: 0;
}

.mohtava-order-purchase-note {
    margin: 0 0 14px;
    padding: 12px 16px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 0;
    font-size: 13px;
    color: #92400e;
}

.mohtava-order-purchase-note p {
    margin: 0;
}

.mohtava-order-actions {
    display: flex;
    gap: 10px;
    padding: 14px 4px;
    border-top: 1px solid #f5f5f6;
    flex-wrap: wrap;
}

.mohtava-order-totals {
    border-top: 1px solid #f0f1f3;
    margin-top: 8px;
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mohtava-order-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13.5px;
    color: #6b7280;
}

.mohtava-order-total-value {
    font-weight: 700;
    color: #374151;
}

.mohtava-order-total--order_total .mohtava-order-total-value {
    font-size: 18px;
    font-weight: 900;
    color: var(--color-primary);
}

@media (max-width: 639.98px) {
    .mohtava-order-item {
        flex-wrap: wrap;
    }
    .mohtava-order-item-total {
        margin-right: 76px;
    }
}

/* ---------- Addresses ---------- */
.mohtava-addresses {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.mohtava-address-card {
    background: #fff;
    border: 1px solid #f0f1f3;
    border-radius: 0;
    padding: 20px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    display: flex;
    flex-direction: column;
}

.mohtava-address-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.mohtava-address-card-title {
    margin: 0;
    font-size: 14.5px;
    font-weight: 800;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mohtava-address-card-title svg {
    color: var(--color-primary);
}

.mohtava-address-card-edit {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    white-space: nowrap;
}

.mohtava-address-card-edit:hover {
    color: var(--color-primary-dark);
}

.mohtava-address-card-body {
    font-size: 13px;
    color: #4b5563;
    line-height: 2;
    font-style: normal;
    flex: 1;
}

.mohtava-address-card-line {
    margin: 2px 0 0;
}

@media (max-width: 767.98px) {
    .mohtava-addresses {
        grid-template-columns: 1fr;
    }
}

/* ---------- Downloads ---------- */
.mohtava-downloads {
    display: flex;
    flex-direction: column;
}

.mohtava-download {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 6px;
    border-top: 1px solid #f5f5f6;
}

.mohtava-download:first-child {
    border-top: none;
}

.mohtava-download-icon {
    width: 44px;
    height: 44px;
    border-radius: 0;
    background: #e4f7f4;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mohtava-download-info {
    flex: 1;
    min-width: 0;
}

.mohtava-download-name {
    margin: 0 0 3px;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.mohtava-download-name a {
    color: inherit;
    text-decoration: none;
}

.mohtava-download-name a:hover {
    color: var(--color-primary);
}

.mohtava-download-file {
    margin: 0 0 4px;
    font-size: 12.5px;
    color: #6b7280;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mohtava-download-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 0;
    font-size: 11.5px;
    color: #9ca3af;
}

.mohtava-downloads-title {
    margin-bottom: 4px;
}

@media (max-width: 639.98px) {
    .mohtava-download {
        flex-wrap: wrap;
    }
}

/* ---------- Payment Methods ---------- */
.mohtava-payment-methods {
    display: flex;
    flex-direction: column;
}

.mohtava-payment-method {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 6px;
    border-top: 1px solid #f5f5f6;
}

.mohtava-payment-method:first-child {
    border-top: none;
}

.mohtava-payment-method--default {
    background: linear-gradient(90deg, color-mix(in srgb, var(--color-secondary) 5%, transparent), transparent);
    border-radius: 0;
    padding-left: 14px;
    padding-right: 14px;
}

.mohtava-payment-method-icon {
    width: 44px;
    height: 44px;
    border-radius: 0;
    background: #f5f6f7;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mohtava-payment-method-info {
    flex: 1;
    min-width: 0;
}

.mohtava-payment-method-name {
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.mohtava-payment-method-expires {
    margin: 0;
    font-size: 12px;
    color: #9ca3af;
}

.mohtava-payment-method-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.mohtava-account-foot-action {
    margin-top: 4px;
}

/* ---------- Account Forms ---------- */
.mohtava-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 4px;
}

.mohtava-form-grid .mohtava-field,
.mohtava-form-grid > .form-row {
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    width: 100% !important;
}

.mohtava-field--wide,
.mohtava-field-hint--wide {
    grid-column: 1 / -1;
}

.mohtava-field-hint {
    margin: 6px 2px 0;
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.7;
}

.mohtava-field-hint em {
    font-style: normal;
}

.mohtava-account-submit {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 639.98px) {
    .mohtava-form-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- woocommerce_form_field (edit address / add payment method) ---------- */
.mohtava-account-page form .form-row,
.woocommerce-address-fields .form-row {
    padding: 0;
    margin: 0;
}

.mohtava-account-page form .form-row label,
.woocommerce-address-fields .form-row label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.mohtava-account-page form .form-row label .required,
.woocommerce-address-fields .form-row label .required {
    color: #ef4444;
    border: none;
}

.mohtava-account-page form .form-row input.input-text,
.mohtava-account-page form .form-row select,
.mohtava-account-page form .form-row textarea,
.woocommerce-address-fields .form-row input.input-text,
.woocommerce-address-fields .form-row select,
.woocommerce-address-fields .form-row textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    background: #fff;
    font-size: 14px;
    color: #111827;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mohtava-account-page form .form-row input.input-text:focus,
.mohtava-account-page form .form-row select:focus,
.mohtava-account-page form .form-row textarea:focus,
.woocommerce-address-fields .form-row input.input-text:focus,
.woocommerce-address-fields .form-row select:focus,
.woocommerce-address-fields .form-row textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 12%, transparent);
}

.mohtava-account-page form .form-row textarea,
.woocommerce-address-fields .form-row textarea {
    min-height: 90px;
    resize: vertical;
}

.mohtava-account-page form .form-row .select2-container .select2-selection--single,
.woocommerce-address-fields .form-row .select2-container .select2-selection--single {
    height: 46px;
    border-color: #e5e7eb;
    border-radius: 0;
    display: flex;
    align-items: center;
    padding: 0 14px;
}

/* ---------- Add payment method form ---------- */
.mohtava-account-page .wc-payment-methods-wc form {
    background: #fff;
    border: 1px solid #f0f1f3;
    border-radius: 0;
    padding: 22px;
}

.mohtava-account-page form .wc-payment-method-form-group {
    margin-bottom: 16px;
}

/* ---------- Login / Register ---------- */
.mohtava-login-wrap {
    max-width: 560px;
    margin: 0 auto;
}

.mohtava-login-mobile-cta {
    background: linear-gradient(130deg, var(--color-primary) 0%, var(--color-primary-light) 50%, var(--color-secondary) 130%);
    border-radius: 0;
    padding: 20px 24px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
    box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--color-primary) 45%, transparent);
}

.mohtava-login-mobile-cta-title {
    margin: 0 0 4px;
    font-size: 15.5px;
    font-weight: 800;
}

.mohtava-login-mobile-cta-sub {
    margin: 0;
    font-size: 12.5px;
    opacity: 0.9;
    line-height: 1.7;
}

.mohtava-login-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: #f2f3f5;
    border-radius: 0;
    padding: 6px;
    margin-bottom: 16px;
}

.mohtava-login-tab {
    padding: 10px 16px;
    border-radius: 0;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 700;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.18s ease;
}

.mohtava-login-tab.is-active {
    background: #fff;
    color: var(--color-primary);
    box-shadow: 0 4px 12px -4px rgba(16, 24, 40, 0.12);
}

.mohtava-login-panel {
    display: none;
}

.mohtava-login-panel.is-active {
    display: block;
}

.mohtava-login-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.mohtava-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #4b5563;
    cursor: pointer;
    user-select: none;
}

.mohtava-checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.mohtava-checkbox-box {
    width: 19px;
    height: 19px;
    border-radius: 0;
    border: 2px solid #d1d5db;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    color: #fff;
    flex-shrink: 0;
}

.mohtava-checkbox-box svg {
    opacity: 0;
    transition: opacity 0.15s ease;
}

.mohtava-checkbox input:checked ~ .mohtava-checkbox-box {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.mohtava-checkbox input:checked ~ .mohtava-checkbox-box svg {
    opacity: 1;
}

.mohtava-login-lost {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}

.mohtava-login-lost:hover {
    color: var(--color-primary-dark);
}

/* ---------- Auth Cards (lost / reset password) ---------- */
.mohtava-auth-card {
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #f0f1f3;
    border-radius: 0;
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.mohtava-auth-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 0;
    background: #fff0e7;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mohtava-auth-card-icon--success {
    background: #ecfdf5;
    color: #047857;
}

.mohtava-auth-card-title {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 900;
    color: #111827;
}

.mohtava-auth-card-desc {
    margin: 0 0 20px;
    font-size: 13.5px;
    color: #6b7280;
    line-height: 1.9;
}

.mohtava-auth-card .mohtava-account-submit {
    justify-content: center;
}

.mohtava-auth-card .mohtava-form-grid {
    text-align: right;
}

/* ---------- WooCommerce Notices ---------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice,
.mohtava-account-page .woocommerce-NoticeGroup ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice,
.mohtava-account-page .woocommerce-NoticeGroup li {
    border-radius: 0;
    padding: 13px 16px;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.8;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.woocommerce-message {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.woocommerce-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
}

.woocommerce-error,
.mohtava-account-page .woocommerce-NoticeGroup li.woocommerce-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    display: none;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 0;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    margin: 0;
}

.woocommerce-message .button {
    background: #047857;
    color: var(--color-button-text);
}

.woocommerce-info .button {
    background: #1d4ed8;
    color: var(--color-button-text);
}

.woocommerce-error .button {
    background: #b91c1c;
    color: var(--color-button-text);
}

/* ---------- Screen reader ---------- */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ---------- Small screens tweaks ---------- */
@media (max-width: 767.98px) {
    .mohtava-dash-stats,
    .mohtava-dash-quick {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .mohtava-dash-stat {
        flex-direction: row;
        align-items: center;
        padding: 14px 16px;
    }

    .mohtava-dash-stat-icon {
        width: 40px;
        height: 40px;
    }

    .mohtava-dash-stat-value {
        margin-right: auto;
        font-size: 17px;
    }

    .mohtava-dash-hero {
        padding: 22px 20px;
    }

    .mohtava-dash-hero-name {
        font-size: 20px;
    }

    .mohtava-panel {
        padding: 18px 16px;
    }

    .mohtava-dash-panel {
        padding: 18px 16px;
    }

    .mohtava-account-head-title {
        font-size: 18px;
    }

    .mohtava-btn--lg {
        width: 100%;
    }
}


