/* assets/css/admin.css */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700&display=swap');

:root {
    --primary-navy: #0f172a;
    --brand-gold: #F6B82F;
    --brand-gold-hover: #d9a022;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: #f1f5f9;
    overflow-x: hidden; /* Prevent horizontal scrollbar */
}

/* --- LOGIN PAGE SPECIFIC --- */
body.login-body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.login-card {
    width: 100%;
    max-width: 400px; /* Constrain width so it doesn't fill screen */
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    background: #fff;
}

/* --- ADMIN LAYOUT --- */
.sidebar {
    min-height: 100vh;
    background: #fff;
    border-right: 1px solid #e2e8f0;
}

.nav-link {
    color: #64748b;
    font-weight: 600;
    margin-bottom: 8px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 8px;
    transition: all 0.3s;
}

.nav-link:hover {
    background-color: #fffbeb;
    color: #b45309;
}

.nav-link.active {
    background-color: var(--brand-gold);
    color: var(--primary-navy);
    box-shadow: 0 4px 6px -1px rgba(246, 184, 47, 0.3);
}

/* --- TABLES & MODALS --- */
.table-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

/* Fix Bootstrap default blue links in admin */
a { text-decoration: none; }

/* Buttons */
.btn-primary {
    background-color: var(--brand-gold);
    border-color: var(--brand-gold);
    color: var(--primary-navy);
    font-weight: 700;
}
.btn-primary:hover {
    background-color: var(--brand-gold-hover);
    border-color: var(--brand-gold-hover);
    color: #000;
}

.btn-outline-secondary:hover {
    background-color: var(--brand-gold);
    color: var(--primary-navy);
    border-color: var(--brand-gold);
}

/* assets/css/admin.css - APPEND THIS */

/* DASHBOARD SPECIFIC STYLES */
.dashboard-hero {
    background-color: var(--primary-navy);
    color: #fff;
    padding: 40px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px; /* Space for floating cards */
}

/* Abstract Pattern for Hero Background */
.dashboard-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: var(--brand-gold);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(60px);
}

.welcome-text h2 { color: #fff; font-weight: 800; }
.welcome-text p { color: #94a3b8; }

/* Premium Stat Cards */
.stat-card-premium {
    background: #fff;
    border: none;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border-left: 4px solid var(--brand-gold); /* Gold Accent */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card-premium:hover {
    transform: translateY(-5px);
}

.stat-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fffbeb; /* Light Gold */
    color: #b45309; /* Dark Gold Text */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    color: #64748b;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Recent Leads Table Styling */
.table-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    overflow: hidden;
    border: none;
}

.table-header {
    padding: 20px 25px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.avatar-initial {
    width: 35px;
    height: 35px;
    background-color: var(--primary-navy);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}