:root {
    --primary: #2F4F4F; /* Forest Green */
    --secondary: #8B7D6B; /* Warm Taupe */
    --accent: #D97706; /* Amber/Gold (modernized for dashboard) */
    --neutral: #E8ECEF; /* Soft Gray */
    --text: #333333; /* Dark Slate */
    --light: #F5F5F5; /* Cream */
}

body {
    font-family: 'Inter', 'Open Sans', system-ui, sans-serif;
    line-height: 1.5;
}

/* Dashboard pages use Tailwind slate background via layout body class.
   Other admin pages get a cleaner light surface from layout wrapper. */

/* Make sure Tailwind dashboard content wins inside its container */
.max-w-screen-2xl {
  font-feature-settings: "kern", "tnum";
}

/* Gentle improvement to old Bootstrap cards used on non-dashboard admin pages */
.card {
  border-radius: 1rem !important;
  border-color: #e5e7eb;
}
.card .card-header {
  font-weight: 600;
  background: #f8fafc;
}

/* Override Bootstrap primary classes (gold/amber for primary actions) */
.bg-primary {
    background-color: var(--primary) !important;
}
.text-primary {
    color: var(--primary) !important;
}
.btn-primary {
    background-color: #D97706;
    border-color: #D97706;
    color: white;
}
.btn-primary:hover {
    background-color: #B45309;
    border-color: #B45309;
}
.btn-outline-primary {
    color: #D97706;
    border-color: #D97706;
}
.btn-outline-primary:hover {
    background-color: #D97706;
    color: #fff;
}

.hero {
    position: relative;
    min-height: 400px;
    background: url('https://images.pexels.com/photos/11734169/pexels-photo-11734169.jpeg?auto=compress&cs=tinysrgb&w=1200&h=600&fit=crop') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom right, rgba(47, 79, 79, 0.4), rgba(139, 125, 107, 0.6));
}
.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeIn 2s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero h1 {
    font-size: 3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.hero h2 {
    font-size: 1.8rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.card {
    background-color: var(--light);
    border-color: var(--secondary);
}
.list-group-item {
    background-color: var(--light);
    border-color: var(--secondary);
}
footer {
    text-align: center;
    padding: 2rem 0;
    font-size: .9rem;
    color: var(--text);
    background-color: var(--light);
    border-top: 1px solid var(--secondary);
    margin-top: 4rem;
}
@media (max-width: 768px) {
    .hero {
        min-height: 300px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero h2 {
        font-size: 1.5rem;
    }
}