:root {
    --primary: #1a7a3c;
    --primary-dark: #145c2d;
    --accent: #d99a1b;
    --text: #222;
    --bg: #f7f8f5;
}

* { box-sizing: border-box; }
html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* ---- Navbar (Bootstrap navbar-dark needs an actual background color) ---- */
.navbar {
    background: var(--primary-dark);
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.navbar-brand {
    gap: 10px;
}

.brand-logo {
    height: 42px;
    width: auto;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

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

/* ---- Footer ---- */
main {
    flex: 1; /* This makes the 'main' area expand to fill empty space */
}

/* Remove any unwanted margins from the footer */
footer {
    background: var(--primary-dark);
    padding: 40px 0 20px;
    margin-top: 0 !important; /* Force no top margin */
    width: 100%;
}
footer h5 {
    color: var(--accent);
    margin-bottom: 15px;
}

footer a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}

footer a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.admin-footer-link {
    color: rgba(255,255,255,0.55) !important;
    font-size: 0.85rem;
}

.developer-credit {
    color: rgba(255,255,255,0.55);
    font-size: 0.8rem;
}

.developer-credit a {
    color: rgba(255,255,255,0.55);
}

.developer-credit a:hover {
    color: var(--accent);
}

/* ---- Generic page section wrapper (used by forms/admin pages) ---- */
.page-section {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
}

/* ---- Team / leadership cards ---- */
.team-card img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: #fff;
}

/* ---- Admin dashboard ---- */
.stat-card {
    background: #f2f4f1;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-dark);
}

.stat-label {
    color: #555;
    font-size: 0.9rem;
    margin-top: 5px;
}

.stat-success .stat-number { color: var(--primary); }
.stat-pending .stat-number { color: var(--accent); }
.stat-failed .stat-number { color: #c0392b; }

.status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status-paid { background: #e2f4e6; color: var(--primary-dark); }
.status-pending { background: #fdf3e2; color: #a9740b; }
.status-failed { background: #fdecea; color: #c0392b; }

.signature-block {
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 20px;
}
/* Fade-in Animation */
.fade-in {
    animation: fadeIn 1.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
