/* ============================================
   G100 Ltd – Portal Styles
   Notion/Stripe‑inspired, responsive, navy/gold
   ============================================ */

:root {
    --navy: #1a2a3a;
    --gold: #c9a14b;
    --gold-light: #e0c87a;
    --light-bg: #f8f9fa;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-hover: 0 10px 30px rgba(0,0,0,0.08);
    --radius: 12px;
    --transition: all 0.3s ease;
}

/* ---------- Dashboard Layout ---------- */
.dashboard-wrapper {
    display: flex;
    min-height: calc(100vh - 200px);
    background: var(--light-bg);
}

.dashboard-sidebar {
    width: 260px;
    background: #fff;
    padding: 2rem 1rem;
    border-right: 1px solid #e9ecef;
    flex-shrink: 0;
    position: sticky;
    top: 70px;
    height: fit-content;
}

.dashboard-sidebar .nav-link {
    color: #555;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    text-decoration: none;
}

.dashboard-sidebar .nav-link:hover,
.dashboard-sidebar .nav-link.active {
    background: var(--gold);
    color: #fff;
}

.dashboard-sidebar .nav-link i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* ---------- Sidebar Logo ---------- */
.sidebar-logo-link {
    display: block;
    text-align: center;
    margin-bottom: 1.5rem;
}
.sidebar-logo {
    max-width: 180px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.dashboard-content {
    flex: 1;
    padding: 2rem;
    max-width: calc(100% - 260px);
}

/* ---------- Stats Cards ---------- */
.stat-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.stat-card .stat-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

.stat-card .stat-label {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

/* ---------- Welcome Section ---------- */
.welcome-section {
    background: linear-gradient(135deg, var(--navy) 0%, #2a3f55 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.welcome-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(201, 161, 75, 0.08);
    pointer-events: none;
}

.welcome-section h1 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.welcome-section .badge {
    background: var(--gold);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
}

/* ---------- Quick Actions ---------- */
.quick-action {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #f0f0f0;
    text-decoration: none;
    color: var(--navy);
    display: block;
    height: 100%;
}

.quick-action:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold);
    color: var(--navy);
}

.quick-action i {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    display: block;
}

.quick-action h6 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.quick-action small {
    color: #6c757d;
}

/* ---------- Messages ---------- */
.message-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.message-item:last-child {
    border-bottom: none;
}

.message-item .message-title {
    font-weight: 600;
    color: var(--navy);
}

.message-item .message-date {
    font-size: 0.8rem;
    color: #6c757d;
}

.message-item .message-preview {
    color: #555;
    font-size: 0.9rem;
    margin: 0;
}

.message-item.unread {
    background: #fcf8f0;
    padding-left: 0.75rem;
    border-left: 3px solid var(--gold);
    border-radius: 4px;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .dashboard-sidebar {
        display: none;
    }
    .dashboard-content {
        max-width: 100%;
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .stat-card .stat-number {
        font-size: 1.5rem;
    }
    .welcome-section {
        padding: 1.5rem;
    }
    .welcome-section h1 {
        font-size: 1.5rem;
    }
}