/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0f172a;
    --primary-light: #1e293b;
    --gold: #d4af37;
    --gold-light: #fef08a;
    --gold-dark: #a16207;
    --accent: #aa7c11;
    --background: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Typography & Links */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}
a:hover {
    color: var(--primary-color);
}

/* Custom Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--accent) 100%);
    color: #ffffff;
    border: none;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(212, 175, 55, 0.4);
    color: #ffffff;
}

.btn-dark-navy {
    background-color: var(--primary-color);
    color: #ffffff;
    border: 1px solid var(--primary-light);
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-dark-navy:hover {
    background-color: var(--primary-light);
    color: var(--gold);
    transform: translateY(-2px);
}

/* Header & Navbar */
.navbar-custom {
    background-color: var(--primary-color);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    padding: 1rem 0;
}
.navbar-brand-custom {
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff !important;
}
.navbar-brand-custom span {
    color: var(--gold);
}
.nav-link-custom {
    color: #cbd5e1 !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}
.nav-link-custom:hover, .nav-link-custom.active {
    color: var(--gold) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e1b4b 100%);
    color: #ffffff;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
}

/* Card Styling */
.card-custom {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}
.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}
.card-header-gold {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #ffffff;
    border-bottom: 2px solid var(--gold);
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
    padding: 1.2rem;
}

/* Dashboards Styling */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}
.sidebar {
    width: 260px;
    background-color: var(--primary-color);
    color: #ffffff;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--primary-light);
    font-weight: 700;
    color: var(--gold);
}
.sidebar-menu {
    list-style: none;
    padding: 1rem 0;
    margin: 0;
}
.sidebar-item a {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    color: #94a3b8;
    font-weight: 500;
    border-left: 4px solid transparent;
}
.sidebar-item a i {
    margin-right: 10px;
    font-size: 1.2rem;
}
.sidebar-item a:hover, .sidebar-item.active a {
    color: #ffffff;
    background-color: var(--primary-light);
    border-left-color: var(--gold);
}
.main-content {
    flex-grow: 1;
    padding: 2rem;
    background-color: #f1f5f9;
}

/* Metrics Cards */
.metric-card {
    background-color: #ffffff;
    border-left: 4px solid var(--gold);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.metric-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* Form Styles */
.form-control-custom {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 0.6rem 0.8rem;
    transition: all 0.3s ease;
}
.form-control-custom:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    outline: none;
}

/* Print CSS */
@media print {
    body {
        background-color: #ffffff;
        color: #000000;
    }
    .no-print {
        display: none !important;
    }
    .print-container {
        width: 100%;
        margin: 0;
        padding: 20px;
    }
}
