/* Sigma Account Dashboard – right content panel */

.woocommerce-account .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
}

.sig-acct-main {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 32px;
    flex: 1;
}

.sig-dash {
    font-family: var(--font-family-sigma, 'Sigma Serif Text', Georgia, serif);
    color: #000;
}

/* Header */
.sig-dash__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 28px;
}

.sig-dash__greeting {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.2;
}

.sig-dash__subtitle {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.sig-dash__loyalty {
    text-align: right;
}

.sig-dash__loyalty-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.sig-dash__loyalty-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.sig-dash__loyalty-id {
    font-size: 16px;
    font-weight: 700;
}

.sig-dash__copy-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #666;
    line-height: 0;
}

.sig-dash__copy-btn:hover {
    color: #000;
}

/* Stat cards */
.sig-dash__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.sig-dash__stat-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.sig-dash__stat-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.sig-dash__stat-body {
    flex: 1;
    min-width: 0;
}

.sig-dash__stat-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.sig-dash__stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
}

.sig-dash__stat-note {
    margin: 0;
    font-size: 12px;
    color: #666;
    line-height: 1.45;
}

.sig-dash__progress {
    margin-top: 10px;
    height: 4px;
    background: #e8e8e8;
    border-radius: 2px;
    overflow: hidden;
}

.sig-dash__progress-fill {
    display: block;
    height: 100%;
    background: #333;
    border-radius: 2px;
}

/* Content panels */
.sig-dash__panel {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 20px;
}

.sig-dash__panel--wide {
    margin-top: 20px;
}

.sig-dash__panel .woocommerce-Address-title,
.sig-dash__panel .woocommerce-Address-title.title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
    text-transform: none;
    letter-spacing: normal;
}

.sig-dash__panel .woocommerce-account-points-history {
    margin-top: 16px;
}

.sig-dash__panel table {
    width: 100%;
    border-collapse: collapse;
}

.sig-dash__panel table thead th {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 12px 10px;
    border-bottom: 1px solid #e0e0e0;
    background: #fafafa;
    text-align: left;
}

.sig-dash__panel table tbody td {
    padding: 14px 10px;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    color: #333;
    vertical-align: middle;
}

.sig-dash__panel table tbody tr:last-child td {
    border-bottom: none;
}

.sig-dash__panel .thead__dark {
    background: #fafafa !important;
    color: #666 !important;
}

.sig-dash__panel .thead__dark th {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid #e0e0e0;
}

.sig-dash__panel .table__body td {
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

/* Info notice */
.sig-dash__notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 28px;
}

.sig-dash__notice-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1976d2;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    font-style: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.sig-dash__notice p {
    margin: 0;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

/* Quick access */
.sig-dash__section {
    margin-top: 8px;
}

.sig-dash__section-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px;
}

.sig-dash__quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 8px;
}

.sig-dash__quick-card {
    display: block;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sig-dash__quick-card:hover {
    border-color: #bbb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    color: inherit;
    text-decoration: none;
}

.sig-dash__quick-card strong {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
}

.sig-dash__quick-card p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.sig-dash__merch-title {
    text-align: center;
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Support footer */
.sig-dash__support {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin: 32px 0 0;
}

.sig-dash__support a {
    color: #1976d2;
    text-decoration: underline;
}

.sig-dash__support a:hover {
    color: #0d47a1;
}

/* Merchandise filter btn */
.sig-dash .btn.active {
    pointer-events: none;
    cursor: default;
    opacity: 0.7;
}

/* Account navigation – new class names */
.sig-acct-nav {
    padding-top: var(--spacing-08, 8px);
    width: 25%;
}

.sig-acct-nav__dashboard {
    font-family: 'Sigma Serif Text', Georgia, serif;
    font-weight: bold;
    display: block;
    padding: 10px 15px 10px 0;
    text-decoration: none;
    color: inherit;
    text-transform: uppercase;
}

.sig-acct-nav__dashboard.sig-acct-nav__link--active {
    font-weight: bold;
    color: #000;
}

.sig-acct-nav__heading {
    border-bottom: 1px solid rgba(51, 51, 51, 0.1);
    font-family: 'Sigma Serif Text', Georgia, serif;
    padding-top: var(--spacing-16, 16px);
    padding-bottom: var(--spacing-16, 16px);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 0;
    cursor: pointer;
    position: relative;
    padding-right: 20px;
}

.sig-acct-nav__heading::after {
    content: '▶';
    position: absolute;
    right: 0;
    top: 30%;
    font-size: 12px;
    transition: transform 0.3s;
}

.sig-acct-nav__group--logout .sig-acct-nav__heading::after {
    display: none;
}

.sig-acct-nav__heading--open::after {
    transform: rotate(90deg);
}

.sig-acct-nav__sublist {
    display: none;
    flex-direction: column;
    gap: 5px;
    margin-left: 10px;
}

.sig-acct-nav__link {
    font-family: 'Sigma Serif Text', Georgia, serif;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    display: block;
    padding: 5px 0;
    transition: 0.3s;
    text-transform: uppercase;
}

.sig-acct-nav__link--active {
    font-weight: bold;
    color: #000;
}

.sig-acct-nav__link:hover {
    opacity: 0.6;
    color: #555;
}

.sig-acct-nav__logout {
    font-family: 'Sigma Serif Text', Georgia, serif;
    text-decoration: none;
    color: inherit;
}

/* Other account pages – panel styling */
.sig-acct-main .woocommerce-EditAccountForm,
.sig-acct-main .referral-bonus-form,
.sig-acct-main .container {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 24px;
}

/* Responsive */
@media screen and (max-width: 1200px) {
    .sig-dash__stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .sig-acct-nav {
        width: 100%;
    }

    .sig-acct-main {
        width: 100%;
        margin-top: 20px;
        padding: 20px;
    }

    .sig-dash__header {
        flex-direction: column;
    }

    .sig-dash__loyalty {
        text-align: left;
    }

    .sig-dash__loyalty-row {
        justify-content: flex-start;
    }

    .sig-dash__stats {
        grid-template-columns: 1fr;
    }

    .sig-dash__quick-grid {
        grid-template-columns: 1fr;
    }

    .sig-dash__panel table {
        font-size: 10px;
    }
}
