/* =========================
   AgriHerd Theme Variables
========================= */
:root {
    --agri-dark: #073b24;
    --agri-green: #2f7d32;
    --agri-light: #eaf5ec;
    --agri-gold: #f2b632;
    --agri-muted: #6c757d;
}

/* =========================
   Base Layout
========================= */
body {
    background: #f6f8f5;
    font-family: Arial, Helvetica, sans-serif;
    color: #1d1d1d;
}

/* =========================
   Header / Branding
========================= */
.topbar {
    background: linear-gradient(135deg, var(--agri-dark), var(--agri-green));
    color: white;
    padding: 24px 0;
    border-bottom: 5px solid var(--agri-gold);
}

.brand-title {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 3px;
}

.brand-tagline {
    letter-spacing: 4px;
    font-size: 12px;
    opacity: 0.9;
}

/* =========================
   Buttons
========================= */
.btn-agri {
    background: var(--agri-green);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    padding: 10px 18px;
}

.btn-agri:hover {
    background: var(--agri-dark);
    color: white;
}

/* =========================
   Cards
========================= */
.card-agri {
    border-radius: 18px;
    border: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* =========================
   Section Titles
========================= */
.section-title {
    color: var(--agri-dark);
    font-weight: 800;
}

/* =========================
   Status Badges
========================= */
.status-badge {
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-alive {
    background: #eaf5ec;
    color: #2f7d32;
}

.status-sold {
    background: #fff3cd;
    color: #8a6d00;
}

.status-dead {
    background: #f8d7da;
    color: #842029;
}

/* =========================
   Dashboard Cards
========================= */
.dashboard-card {
    border: none;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: 0.2s ease;
    display: flex;
    flex-direction: column;
}

.dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* =========================
   Icon Circles
========================= */
.icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--agri-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 15px;
}

/* =========================
   Stats Cards
========================= */
.stat-card {
    border-radius: 16px;
    border: none;
    background: white;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.stat-number {
    font-size: 30px;
    font-weight: 800;
    color: var(--agri-dark);
}

/* =========================
   Footer
========================= */
footer {
    color: var(--agri-muted);
    font-size: 13px;
}
.stat-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.stat-link:hover .stat-card {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.stat-link .stat-card {
    transition: 0.2s ease;
}