/* assets/css/style.css - Million Dollar Platform Edition */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --md-primary: #1a73e8;
    --md-primary-container: #e8f0fe;
    --md-on-primary-container: #174ea6;
    --md-surface: #ffffff;
    --md-surface-variant: #f8f9fa;
    --md-outline: #dadce0;
    --md-on-surface: #202124;
    --md-on-surface-variant: #5f6368;
    
    /* Solid Card Styling */
    --card-bg: #ffffff;
    --card-shadow: 0 1px 3px rgba(60,64,67, 0.3), 0 4px 8px 3px rgba(60,64,67, 0.15);
    --card-shadow-low: 0 1px 2px 0 rgba(60,64,67, 0.3), 0 1px 3px 1px rgba(60,64,67, 0.15);
    --card-border: 1px solid #dadce0;
    --card-radius: 12px;

    /* Elevation System */
    --elevation-1: 0 1px 3px rgba(60,64,67,0.3), 0 4px 8px 3px rgba(60,64,67,0.15);
    --elevation-2: 0 1px 2px rgba(60,64,67,0.3), 0 2px 6px 2px rgba(60,64,67,0.15);

    --primary: #1a73e8;
}

/* ===== Material Grid ===== */
.md-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .md-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    .md-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== Material Buttons ===== */
.md-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    line-height: 1.4;
    height: 40px;
    box-sizing: border-box;
}

.md-btn--primary {
    background: var(--md-primary);
    color: #ffffff;
}

.md-btn--primary:hover {
    box-shadow: var(--elevation-1);
    background: #1557b0;
}

.md-btn--tonal {
    background: var(--md-primary-container);
    color: var(--md-on-primary-container);
}

.md-btn--tonal:hover {
    background: #d2e3fc;
}

/* ===== Auth Input ===== */
.auth-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--md-outline);
    border-radius: 8px;
    font-size: 14px;
    color: var(--md-on-surface);
    background: var(--md-surface);
    transition: border-color 0.2s;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

.auth-input:focus {
    outline: none;
    border-color: var(--md-primary);
    box-shadow: 0 0 0 3px rgba(26,115,232,0.12);
}

/* ===== Badge ===== */
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

/* ===== Utility Classes ===== */
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.mb-5 { margin-bottom: 48px; }
.mt-3 { margin-top: 16px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-5 { padding-top: 48px; padding-bottom: 48px; }
.px-3 { padding-left: 16px; padding-right: 16px; }
.p-2 { padding: 8px; }
.w-100 { width: 100%; }
.h-100 { height: 100%; }
.text-center { text-align: center; }
.text-end { text-align: right; }
.fw-bold { font-weight: 700; }
.small { font-size: 13px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 16px; }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.bg-danger { background: #d93025; color: white; }
.bg-light { background: #f8f9fa; }
.text-dark { color: #202124; }
.text-primary { color: var(--md-primary); }
.bg-primary-soft { background: var(--md-primary-container); }
.form-label { display: block; font-size: 13px; font-weight: 500; color: var(--md-on-surface-variant); margin-bottom: 6px; }
/* ===== Responsive (Mobile-First Progressive Enhancements) ===== */
.creator-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 1024px) {
    .creator-layout {
        grid-template-columns: 280px 1fr;
        gap: 32px;
    }
}

.editor-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 1024px) {
    .editor-wrapper {
        grid-template-columns: 1fr 320px;
        gap: 32px;
    }
}

.nav-center {
    display: none;
}

@media (min-width: 992px) {
    .nav-center {
        display: flex;
        align-items: center;
    }
}

.nav-right .brand-btn {
    display: none;
}

@media (min-width: 992px) {
    .nav-right .brand-btn {
        display: inline-flex;
    }
}

.nav-search-form {
    display: none;
}

@media (min-width: 768px) {
    .nav-search-form {
        display: block;
    }
}

.nav-container {
    padding: 0 12px;
}

@media (min-width: 768px) {
    .nav-container {
        padding: 0 16px;
    }
}

@media (min-width: 992px) {
    .nav-container {
        padding: 0 24px;
    }
}

.mega-menu {
    display: none;
}

@media (min-width: 992px) {
    .mega-menu {
        display: block;
    }
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--md-surface);
    color: var(--md-on-surface);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Ecosystem Header */
.ecosystem-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    height: 72px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo img {
    height: 32px;
}

.nav-center {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--md-on-surface);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover {
    background: rgba(0,0,0,0.04);
}

/* Mega Menu */
.has-dropdown {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #FFFFFF;
    box-shadow: var(--elevation-2);
    border-radius: 16px;
    width: 600px;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.has-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.mega-col h4 {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--md-primary);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.mega-col a {
    display: block;
    color: var(--md-on-surface);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 0;
    transition: color 0.2s;
}

.mega-col a:hover {
    color: var(--md-primary);
}

/* Buttons */
.brand-btn {
    background: var(--md-primary);
    color: #FFFFFF;
    border: none;
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.brand-btn:hover {
    box-shadow: var(--elevation-1);
    transform: scale(1.02);
}

.brand-btn-tonal {
    background: #E8F0FE;
    color: var(--md-primary);
}

/* Material Components */
.md-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--md-outline);
    transition: all 0.3s;
}

.md-card:hover {
    box-shadow: var(--elevation-1);
}

/* Hero Section (Mobile-First) */
.hero-cinematic {
    padding: 100px 0 60px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, #E8F0FE 0%, #FFFFFF 70%);
}

@media (min-width: 768px) {
    .hero-cinematic {
        padding: 160px 0 100px;
    }
}

.hero-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
    line-height: 1.15;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 48px;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 64px;
        letter-spacing: -2px;
    }
}

.hero-subtitle {
    font-size: 15px;
    color: var(--md-on-surface-variant);
    max-width: 100%;
    margin: 0 auto 32px;
    padding: 0 16px;
    box-sizing: border-box;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 18px;
        max-width: 600px;
        padding: 0;
    }
}

@media (min-width: 1024px) {
    .hero-subtitle {
        font-size: 20px;
        margin: 0 auto 40px;
    }
}

/* Auth Pages Premium Styling - Refined Edition */
.auth-body {
    background-color: #f8f9fa;
    margin: 0;
    min-height: 100vh;
}

.auth-navbar {
    background: #1a73e8;
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .auth-navbar {
        padding: 0 48px;
        font-size: 24px;
    }
}

.auth-page-wrapper {
    padding: 32px 16px;
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .auth-page-wrapper {
        padding: 60px 20px;
    }
}

.auth-card-new {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    width: 100%;
    max-width: 440px;
    overflow: hidden;
}

.auth-content {
    padding: 32px 24px;
}

@media (min-width: 768px) {
    .auth-content {
        padding: 48px 64px;
    }
}

.auth-header-new {
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .auth-header-new {
        margin-bottom: 40px;
    }
}

.auth-header-new h2 {
    font-size: 28px;
    font-weight: 800;
    color: #202124;
    margin: 0 0 12px 0;
}

@media (min-width: 768px) {
    .auth-header-new h2 {
        font-size: 40px;
    }
}

.auth-header-new p {
    color: #5f6368;
    font-size: 15px;
    margin: 0;
}

@media (min-width: 768px) {
    .auth-header-new p {
        font-size: 18px;
    }
}

.form-label-new {
    display: block;
    font-size: 14px;
    color: #5f6368;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-container-new {
    position: relative;
    margin-bottom: 24px;
}

.input-icon-new {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #5f6368;
    display: flex;
    align-items: center;
}

.input-field-new {
    width: 100%;
    padding: 12px 16px 12px 48px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 16px;
    color: #202124;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.input-field-new:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: inset 0 0 0 1px #1a73e8;
}

.input-hint-new {
    font-size: 13px;
    color: #5f6368;
    margin-top: -16px;
    margin-bottom: 24px;
}

.auth-btn-new {
    background: #1a73e8;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    transition: background 0.2s;
    width: 100%;
    box-sizing: border-box;
    display: block;
    text-align: center;
}

@media (min-width: 768px) {
    .auth-btn-new {
        width: auto;
        display: inline-block;
    }
}

.auth-btn-new:hover {
    background: #1557b0;
}

.auth-footer-new {
    padding: 16px 24px;
    border-top: 1px solid #f1f3f4;
    font-size: 14px;
    color: #202124;
}

@media (min-width: 768px) {
    .auth-footer-new {
        padding: 24px 64px;
        font-size: 15px;
    }
}

.auth-footer-new a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer-new a:hover {
    text-decoration: underline;
}

/* Password Grid */
.password-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .password-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

/* Dashboard Mobile-First Layout Architecture */
.dashboard-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f8f9fa;
}

@media (min-width: 992px) {
    .dashboard-wrapper {
        flex-direction: row;
    }
}

.dashboard-sidebar {
    position: fixed;
    top: 0;
    left: -310px;
    width: 290px;
    height: 100vh;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    background: #ffffff;
    padding: 32px 16px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-sidebar.open {
    left: 0;
}

@media (min-width: 992px) {
    .dashboard-sidebar {
        position: sticky;
        top: 0;
        left: 0;
        width: 280px;
        background: var(--md-surface-variant);
        border-right: var(--card-border);
        box-shadow: none;
        height: 100vh;
    }
}

.sidebar-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    padding: 0 8px;
}

.profile-avatar {
    width: 48px;
    height: 48px;
    background: #1a73e8;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.profile-info h4 {
    margin: 0;
    font-size: 16px;
    color: #202124;
}

.profile-info p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #5f6368;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.sidebar-nav-item {
    margin-bottom: 4px;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: #5f6368;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.sidebar-nav-link:hover {
    background: #f1f3f4;
    color: #202124;
}

.sidebar-nav-link.active {
    background: #e8f0fe;
    color: #1a73e8;
}

.pro-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border-radius: 16px;
    padding: 20px;
    margin-top: 24px;
    border: 1px solid #e8eaf6;
}

.pro-card h5 {
    margin: 0 0 8px;
    color: #673ab7;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.pro-card p {
    font-size: 13px;
    color: #5f6368;
    margin: 0 0 16px;
}

/* Dashboard Main Content Area */
.dashboard-main {
    flex-grow: 1;
    padding: 96px 16px 48px;
    overflow-y: auto;
}

@media (min-width: 768px) {
    .dashboard-main {
        padding: 96px 32px 48px;
    }
}

@media (min-width: 992px) {
    .dashboard-main {
        padding: 48px 64px;
    }
}

.dashboard-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .dashboard-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 48px;
    }
}

.dashboard-header h1 {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 8px;
}

@media (min-width: 768px) {
    .dashboard-header h1 {
        font-size: 32px;
    }
}

.dashboard-header p {
    color: #5f6368;
    font-size: 15px;
    margin: 0;
}

@media (min-width: 768px) {
    .dashboard-header p {
        font-size: 16px;
    }
}

.role-badge {
    padding: 6px 12px;
    background: #f1f3f4;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #5f6368;
}

.role-badge span {
    color: #1a73e8;
    font-weight: 700;
}

/* Stats Layout */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

@media (min-width: 576px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        margin-bottom: 48px;
    }
}

.stat-card {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: var(--card-radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 768px) {
    .stat-card {
        padding: 24px;
        gap: 20px;
    }
}

.stat-card:hover {
    box-shadow: var(--card-shadow-low);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-info h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
}

.stat-info p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #5f6368;
}

/* Feature Layout */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

@media (min-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        margin-bottom: 48px;
    }
}

.feature-card {
    background: #FFFFFF;
    padding: 24px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    border: 1px solid #f1f3f4;
    transition: transform 0.2s;
}

@media (min-width: 768px) {
    .feature-card {
        padding: 32px;
    }
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.feature-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .feature-left {
        flex-direction: row;
        gap: 24px;
        align-items: center;
    }
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-info h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.feature-info p {
    margin: 0 0 20px;
    font-size: 14px;
    color: #5f6368;
    max-width: 100%;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .feature-info p {
        max-width: 280px;
    }
}

.feature-right svg {
    color: #dadce0;
}

/* Activity Section */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-header h3 {
    font-size: 20px;
    font-weight: 700;
}

.activity-list {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 8px 0;
    border: 1px solid #f1f3f4;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid #f1f3f4;
}

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

.activity-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1a73e8;
}

.activity-content {
    flex-grow: 1;
}

.activity-content p {
    margin: 0;
    font-size: 14px;
}

.activity-content span {
    font-size: 12px;
    color: #5f6368;
}

/* --- Terminal Block --- */
.terminal-mock {
    background: #1e1e1e;
    color: #00ff00;
    border-radius: 12px;
    margin: 32px 0;
    overflow: hidden;
    font-family: 'Fira Code', 'Courier New', monospace;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.terminal-header {
    background: #333;
    padding: 10px 16px;
    display: flex;
    gap: 8px;
}

.terminal-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-header .dot:nth-child(1) { background: #ff5f56; }
.terminal-header .dot:nth-child(2) { background: #ffbd2e; }
.terminal-header .dot:nth-child(3) { background: #27c93f; }

.terminal-mock pre {
    padding: 24px;
    margin: 0;
    white-space: pre-wrap;
    font-size: 16px;
}

/* --- Code Sandbox --- */
.code-sandbox-container {
    background: var(--md-surface-variant);
    border: var(--card-border);
    border-radius: 16px;
    margin: 40px 0;
    overflow: hidden;
}

.sandbox-controls {
    padding: 12px 20px;
    background: #fff;
    border-bottom: var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sandbox-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 300px;
}

.sandbox-code {
    border-right: var(--card-border);
    background: #2d2d2d;
    max-height: 400px;
    overflow: auto;
}

.sandbox-preview {
    background: white;
}

.sandbox-preview iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   DASHBOARD MOBILE RESPONSIVENESS SYSTEM (Elite v4.5 Hardening)
   ========================================================================== */

/* Mobile Dashboard Top Navigation Bar */
.mobile-dashboard-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #ffffff;
    border-bottom: 1px solid var(--md-outline);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.mobile-sidebar-toggle {
    background: none;
    border: none;
    color: var(--md-on-surface);
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.2s;
}

.mobile-sidebar-toggle:hover {
    background: #f1f3f4;
}

.mobile-header-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--md-on-surface);
}

.mobile-header-avatar {
    width: 36px;
    height: 36px;
    background: var(--md-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    overflow: hidden;
}

.mobile-header-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sidebar Close Trigger for Mobile view */
.sidebar-header-mobile-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    color: var(--md-on-surface-variant);
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
    background: #f1f3f4;
}

.sidebar-header-mobile-close:hover {
    background: #e8eaed;
    color: var(--md-on-surface);
}

/* Sliding Menu Overlay Backdrop */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

/* Profile Form Fluid Grid (Mobile-First Layout) */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 992px) {
    .profile-grid {
        grid-template-columns: 1fr 2fr;
        gap: 48px;
    }
}

/* Mobile Header Show Control */
@media (max-width: 992px) {
    .mobile-dashboard-header {
        display: flex;
    }
    .sidebar-header-mobile-close {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}


