/* Customer panel — production polish (matches admin palette) */
:root {
    --cp-bg: #f4f6fb;
    --cp-surface: #ffffff;
    --cp-border: #e8ecf4;
    --cp-text: #0f172a;
    --cp-muted: #64748b;
    --cp-accent: #f59e0b;
    --cp-accent-dark: #b45309;
    --cp-radius: 14px;
    --cp-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.customer-hub-strip {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.customer-hub-strip .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

.customer-hub-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.customer-hub-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    border: 1px solid transparent;
}

.customer-hub-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.customer-hub-nav a.active {
    color: #0f172a;
    background: var(--cp-accent);
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 2px 12px rgba(245, 158, 11, 0.35);
}

.customer-hub-nav a i {
    font-size: 0.85rem;
    opacity: 0.9;
}

.customer-panel-page {
    background: var(--cp-bg);
    min-height: calc(100vh - 120px);
}

.cp-hero {
    background: var(--cp-surface);
    border-radius: var(--cp-radius);
    box-shadow: var(--cp-shadow);
    border: 1px solid var(--cp-border);
    padding: 1.75rem 1.5rem;
    margin-bottom: 1.5rem;
}

.cp-hero h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cp-text);
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem 0;
}

.cp-hero p {
    margin: 0;
    color: var(--cp-muted);
    font-size: 0.95rem;
}

.cp-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.cp-action-card {
    display: block;
    background: var(--cp-surface);
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius);
    padding: 1.25rem;
    text-decoration: none !important;
    color: var(--cp-text) !important;
    box-shadow: var(--cp-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}

.cp-action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
    border-color: rgba(245, 158, 11, 0.45);
}

.cp-action-card .icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.12);
    color: var(--cp-accent-dark);
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.cp-action-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
}

.cp-action-card .sub {
    font-size: 0.8125rem;
    color: var(--cp-muted);
    margin: 0;
}

.cp-stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.25rem;
}

.cp-stat {
    flex: 1;
    min-width: 120px;
    background: rgba(245, 158, 11, 0.08);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.cp-stat .lbl {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--cp-muted);
    font-weight: 700;
}

.cp-stat .val {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--cp-text);
    line-height: 1.2;
}

@media (max-width: 576px) {
    .customer-hub-strip .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}
