.validation-summary-valid { display: none; }
.field-validation-valid { display: none; }

:root {
    --vf-sidebar-w: 250px;
    --vf-primary: #237a45;
    --vf-primary-dark: #155332;
    --vf-mango: #f29a1f;
    --vf-mango-dark: #c96d0a;
    --vf-mango-soft: #fff1d6;
}

body {
    background: #f4f6f5;
}

.vf-loadbar {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(11, 36, 23, .6);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.vf-loadbar.vf-loadbar--active {
    opacity: 1;
    pointer-events: auto;
}

.vf-loadbar-spinner {
    position: relative;
    width: 84px;
    height: 84px;
}

.vf-loadbar-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, .22);
    border-top-color: var(--vf-mango);
    border-right-color: var(--vf-primary);
}

.vf-loadbar--active .vf-loadbar-ring {
    animation: vfLoadSpin .9s linear infinite;
}

.vf-loadbar-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    line-height: 1;
}

.vf-loadbar--active .vf-loadbar-icon {
    animation: vfLoadPulse 1s ease-in-out infinite;
}

.vf-loadbar-text {
    color: #fff;
    font-weight: 600;
    letter-spacing: .02em;
    font-size: .95rem;
    opacity: .92;
}

@keyframes vfLoadSpin {
    to { transform: rotate(360deg); }
}

@keyframes vfLoadPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.12); }
}

.vf-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--vf-sidebar-w);
    background-color: var(--vf-primary);
    background-image: url("images/sidebar-veg-pattern.svg"), linear-gradient(180deg, var(--vf-primary-dark), var(--vf-primary));
    background-repeat: repeat, no-repeat;
    background-size: 220px 220px, auto;
    color: #fff;
    overflow-y: auto;
    z-index: 1030;
}

.vf-sidebar .brand {
    padding: 1rem 1.25rem;
    font-size: 1.25rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.vf-sidebar .nav-group-title {
    text-transform: uppercase;
    font-size: .72rem;
    letter-spacing: .05em;
    opacity: .65;
    padding: .9rem 1.25rem .25rem;
}

.vf-sidebar .nav-link {
    color: rgba(255,255,255,.88);
    padding: .55rem 1.25rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    border-left: 3px solid transparent;
}

.vf-sidebar .nav-link:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
}

.vf-sidebar .nav-link.active {
    background: rgba(255,255,255,.14);
    border-left-color: #fff;
    color: #fff;
    font-weight: 600;
}

.vf-content {
    margin-left: var(--vf-sidebar-w);
    min-height: 100vh;
}

.vf-topbar {
    background-image: linear-gradient(90deg, rgba(255,241,214,.88), rgba(255,224,163,.82)), url("images/login-produce-mango.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-bottom: 1px solid #e2e6e4;
    padding: .65rem 1.25rem;
}

.vf-topbar h5,
.vf-topbar .dropdown-toggle {
    color: #16321f;
    font-weight: 700;
}

.vf-kpi-card {
    border: none;
    border-radius: .6rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.vf-kpi-card .kpi-value {
    font-size: 1.6rem;
    font-weight: 700;
}

.vf-kpi-card .kpi-icon {
    width: 3rem;
    height: 3rem;
    border-radius: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    background: var(--vf-primary);
}

.chart-card {
    border: none;
    border-radius: .6rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    height: 100%;
}


.chart-card h6 {
    color: var(--vf-primary-dark);
    font-weight: 700;
}

.chart-card h6::after {
    content: '';
    display: block;
    width: 2rem;
    height: .2rem;
    margin-top: .35rem;
    border-radius: 99px;
    background: var(--vf-mango);
}.chart-canvas {
    position: relative;
    height: 12.5rem;
}

.chart-canvas--tall {
    height: 14.5rem;
}

.chart-canvas--compact {
    height: 10.5rem;
}

.chart-canvas canvas {
    max-width: 100%;
}

@media (max-width: 575.98px) {
    .chart-canvas,
    .chart-canvas--tall,
    .chart-canvas--compact {
        height: 11rem;
    }
}

@media (max-width: 991.98px) {
    .vf-sidebar {
        transform: translateX(-100%);
        transition: transform .2s ease;
    }
    body.sidebar-open .vf-sidebar {
        transform: translateX(0);
    }
    .vf-content {
        margin-left: 0;
    }
}
