/* MPH Frontend Dashboard — Gold Series Customer Portal */
/* Mirrors admin/gold-series.css for visual consistency */

:root {
    --color-bg-dark: #0f172a;
    --color-bg-card: #1e293b;
    --color-border: rgba(255, 255, 255, 0.1);
    --color-text: #ffffff;
    --color-text-muted: rgba(255, 255, 255, 0.7);
    --color-accent: #CD853F;
    --color-success: #22c55e;
    --color-error: #ef4444;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

.mph-dashboard-wrapper {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0;
}

/* Inherit admin Gold Series styles for frontend */
.mph-top-bar {
    height: 44px;
    margin: 0;
    margin-left: 8px;
    width: calc(100% - 24px);
    box-sizing: border-box;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #CD853F 100%);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 15px 25px -8px rgba(139, 69, 19, 0.4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.mph-top-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mph-top-bar-left .mph-company-name {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
    color: #fff;
    text-shadow: none;
}

.mph-top-bar-center {
    display: flex;
    align-items: center;
}

.mph-premium-badge {
    background: linear-gradient(135deg, #b8860b, #daa520, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mph-top-bar-right {
    display: flex;
    align-items: center;
}

.mph-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
}

/* Main Layout */
.mph-main-layout {
    display: flex;
    margin-left: 8px;
    width: calc(100% - 24px);
    min-height: 600px;
    gap: 0;
}

/* Sidebar */
.mph-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-radius: 0 0 0 16px;
    display: flex;
    flex-direction: column;
}

.mph-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-bottom: 8px;
}

.mph-user-name {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.mph-user-role {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    text-transform: capitalize;
}

.mph-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.mph-contact-item a {
    color: #CD853F !important;
    text-decoration: none;
}

/* Content Area */
.mph-content {
    flex: 1;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0 0 16px 0;
}

/* Cards */
.mph-card {
    background: linear-gradient(135deg, #2c3e50, #34495e, #7f8c8d);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--color-border);
    margin-bottom: 12px;
}

.mph-card h3 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.mph-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    line-height: 1.6;
}

/* Tables */
.mph-table {
    width: 100%;
    border-collapse: collapse;
}

.mph-table th {
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.mph-table td {
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile */
@media (max-width: 768px) {
    .mph-top-bar {
        width: 100%;
        margin-left: 0;
        border-radius: 0;
    }

    .mph-main-layout {
        flex-direction: column;
        width: 100%;
        margin-left: 0;
    }

    .mph-sidebar {
        width: 100%;
        border-radius: 0;
    }

    .mph-content {
        border-radius: 0;
    }

    .mph-tagline {
        display: none;
    }
}