/* =========================================
   SOLAR FRESH THEME - LIGHT GREEN & BLUE
   ========================================= */

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

:root {
    /* Color Palette - Fresh & Clean */
    --solar-bg: #f0fdf4;
    /* Very Light Mint/Green tint */
    --solar-card: #ffffff;
    --solar-border: #dcfce7;
    /* Light Green Border */

    --text-primary: #1e293b;
    /* Dark Slate for text */
    --text-secondary: #64748b;
    /* Muted Slate */

    --accent-primary: #0ea5e9;
    /* Sky Blue */
    --accent-secondary: #22c55e;
    /* Green */
    --accent-gold: #eab308;
    /* Darker Gold for visibility on light */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #22c55e 100%);
    /* Blue to Green */
    --gradient-header: linear-gradient(90deg, #ffffff 0%, #f0f9ff 100%);
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #fcd34d 100%);

    /* Effects */
    --glass-blur: blur(16px);
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --box-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   GLOBAL RESET & TYPOGRAPHY
   ========================================= */
body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--solar-bg);
    /* Subtle mesh gradient for background interest */
    background-image:
        radial-gradient(at 0% 0%, rgba(14, 165, 233, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(34, 197, 94, 0.1) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: #0f172a;
    /* Darker Heading */
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* =========================================
   COMPONENTS - CARDS
   ========================================= */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.glass-card:hover {
    box-shadow: var(--box-shadow-lg);
    transform: translateY(-2px);
}

.card {
    background-color: transparent;
    border: none;
}

.card-header {
    background: transparent;
    border-bottom: 1px solid #f1f5f9;
    padding: 1.5rem;
}

.card-body {
    padding: 2rem;
}

/* =========================================
   BUTTONS & ACTIONS
   ========================================= */
.btn-premium {
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(14, 165, 233, 0.2);
    transition: var(--transition);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(14, 165, 233, 0.3);
    color: white;
}

.btn-premium-outline {
    background: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    padding: 8px 20px;
    border-radius: 12px;
    font-weight: 500;
}

.btn-premium-outline:hover {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 4px 6px rgba(14, 165, 233, 0.2);
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--solar-border);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    margin-left: 1rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary) !important;
}

/* =========================================
   FORMS & INPUTS
   ========================================= */
.form-control,
.form-select {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--text-primary);
    border-radius: 8px;
    padding: 12px;
}

.form-control:focus,
.form-select:focus {
    background: #ffffff;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
    color: var(--text-primary);
}

.form-label {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* =========================================
   UTILITIES & ANIMATIONS
   ========================================= */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gold {
    color: var(--accent-gold);
}

.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Table Styles for Light Theme */
.table {
    color: var(--text-primary);
}

.table thead th {
    background-color: #f8fafc;
    color: var(--text-secondary);
    border-color: #e2e8f0;
    font-weight: 600;
}

.table td,
.table th {
    border-color: #e2e8f0;
}

.table-hover tbody tr:hover {
    background-color: #f1f5f9;
}

/* Icons */
.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    background: #f0f9ff;
    /* Light Blue tint */
    border: 1px solid #bae6fd;
    color: var(--accent-primary);
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 768px) {

    /* Reduce container padding */
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Card Adjustments */
    .glass-card {
        padding: 0;
        border-radius: 16px;
    }

    .card-header {
        padding: 1rem;
    }

    .card-body {
        padding: 1rem;
    }

    /* Typography */
    h2 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.25rem;
    }

    .display-6 {
        font-size: 1.5rem;
    }

    /* Navbar */
    .navbar-brand {
        font-size: 1.25rem;
    }

    .nav-link {
        margin-left: 0;
        padding: 0.5rem 0;
    }

    /* Buttons */
    .btn-premium,
    .btn-premium-outline {
        width: 100%;
        display: block;
        margin-bottom: 0.5rem;
        text-align: center;
    }

    .d-flex.align-items-center.me-3 {
        margin-right: 0 !important;
        margin-bottom: 1rem;
        width: 100%;
        justify-content: center;
    }

    /* Tables */
    .table thead {
        display: none;
        /* Hide headers on very small screens if using card view approach, but for now kept simple */
    }

    .table,
    .table tbody,
    .table tr,
    .table td {
        display: block;
        width: 100%;
    }

    .table tr {
        margin-bottom: 1rem;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 1rem;
        background: #fff;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        padding: 0.5rem 0;
        border: none;
        border-bottom: 1px solid #f1f5f9;
        font-size: 0.9rem;
    }

    .table td:last-child {
        border-bottom: none;
        justify-content: flex-end;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }

    .table td:before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-secondary);
        text-align: left;
        margin-right: 1rem;
        font-size: 0.85rem;
        text-transform: uppercase;
    }

    /* Adjust avatar size */
    .avatar-circle {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .btn-mobile-full {
        width: 100%;
        display: block;
    }
}