:root {
    --brand: #14532d;
    --brand-dark: #0f3d21;
}

body {
    background-color: #f5f6f8;
}

.topbar {
    background-color: var(--brand);
}

.support-banner {
    background-color: #fff8e1;
    color: #6b5400;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-bottom: 1px solid #f0e2a3;
}

.mobile-bottom-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 10px 6px;
    z-index: 1030;
}

.mobile-bottom-nav-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    color: #9aa1a9;
    font-size: 0.68rem;
    font-weight: 500;
}

.mobile-bottom-nav-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #f2f3f5;
    color: #9aa1a9;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.mobile-bottom-nav-link.active {
    color: var(--brand);
    font-weight: 700;
}

.mobile-bottom-nav-link.active .mobile-bottom-nav-icon {
    background: var(--brand);
    color: #fff;
}

@media (max-width: 767.98px) {
    body.has-bottom-nav {
        padding-bottom: 90px;
    }
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff;
    font-weight: 600;
}

.brand-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    padding: 3px;
    flex-shrink: 0;
}

.brand-logo-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.login-logo {
    width: 72px;
    height: 72px;
    display: block;
    margin: 0 auto 0.75rem;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .login-logo {
        width: 50px;
        height: 50px;
    }

    .brand-logo-badge {
        width: 50px;
        height: 50px;
    }

    .topbar .container-fluid {
        position: relative;
    }

    .topbar .navbar-brand {
        width: 100%;
        justify-content: center;
        text-align: center;
        margin-right: 0;
        font-size: 1rem;
    }

    .topbar .navbar-toggler {
        position: absolute;
        top: 50%;
        right: 1rem;
        transform: translateY(-50%);
    }
}

.card {
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.stat-card {
    border-left: 4px solid var(--brand);
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}

.login-card {
    width: 100%;
    max-width: 400px;
}

.btn-brand {
    background-color: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.btn-brand:hover {
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
}

.table-scroll {
    overflow-x: auto;
}

.profile-picture {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
