:root {
    --primary-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --secondary-gradient: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    --accent-color: #38ef7d;
    --primary-color: #11998e;
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --card-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    /* Prioritize Inter if available, fallback to Poppins */
    color: var(--text-dark);
    background-color: #f5f7fa;
    /* Slightly darker light bg for contrast with white cards */
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: #333;
}

/* Utilities */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-primary {
    background: var(--primary-gradient) !important;
}

.shadow-soft {
    box-shadow: var(--card-shadow) !important;
}

/* Buttons */
.btn-primary-gradient {
    background: var(--primary-gradient);
    border: none;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    /* Slightly squarer for professional look */
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.btn-primary-gradient:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(17, 153, 142, 0.2);
    color: white;
}

.btn-light {
    background: white;
    border: 1px solid #e2e8f0;
    color: #4a5568;
}

.btn-light:hover {
    background: #f8f9fa;
    border-color: #cbd5e0;
}

/* Navbar */
.navbar {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #eaeaea;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: #4a5568 !important;
    font-size: 0.95rem;
}

/* Sidebar (Admin) */
.sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #64748b;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: all 0.2s;
    font-weight: 500;
}

.sidebar-link:hover {
    background-color: #f1f5f9;
    color: var(--primary-color);
}

.sidebar-link.active {
    background-color: #effcf6;
    /* Very light green bg */
    color: var(--primary-color);
    font-weight: 600;
}

.sidebar-link i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    margin-right: 12px;
}

/* Cards */
.card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    box-shadow: var(--card-shadow);
}

.card-header {
    background: white;
    border-bottom: 1px solid #f1f5f9;
    padding: 20px 24px;
}

.card-body {
    padding: 24px;
}

/* Tables */
.table {
    margin-bottom: 0;
}

.table thead th {
    background-color: #f8f9fa;
    color: #64748b;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px;
}

.table tbody td {
    padding: 16px;
    vertical-align: middle;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
}

.table-hover tbody tr:hover {
    background-color: #fbfcfd;
}

/* Badges */
.badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
}

.badge.bg-success {
    background-color: #d1fae5 !important;
    /* Light green bg */
    color: #059669 !important;
    /* Dark green text */
}

.badge.bg-warning {
    background-color: #fef3c7 !important;
    color: #d97706 !important;
}

.badge.bg-danger {
    background-color: #fee2e2 !important;
    color: #dc2626 !important;
}

.badge.bg-info {
    background-color: #dbeafe !important;
    color: #2563eb !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.hero-section h1 {
    color: #1e293b;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}