/* Vale Feira design system */

:root {
    --vf-blue: #0F4593;
    --vf-teal: #0D7A92;
    --vf-cyan: #0CB2CC;
    --vf-green: #7BAA66;
    --vf-gold: #C6985C;
    --vf-color-strip: linear-gradient(90deg, var(--vf-blue) 0%, var(--vf-blue) 20%, var(--vf-teal) 20%, var(--vf-teal) 40%, var(--vf-cyan) 40%, var(--vf-cyan) 60%, var(--vf-green) 60%, var(--vf-green) 80%, var(--vf-gold) 80%, var(--vf-gold) 100%);
    --vf-background: #f8f9ff;
    --vf-surface: #ffffff;
    --vf-surface-low: #eef4ff;
    --vf-surface-container: #e5eeff;
    --vf-surface-high: #dfe9fa;
    --vf-text: #121c28;
    --vf-text-muted: #434751;
    --vf-primary: var(--vf-blue);
    --vf-primary-dark: #002f6d;
    --vf-primary-soft: #d8e6ff;
    --vf-secondary: var(--vf-teal);
    --vf-secondary-soft: #d9f8ff;
    --vf-success: var(--vf-green);
    --vf-success-dark: #5f884e;
    --vf-success-soft: #eef6ea;
    --vf-warning: var(--vf-gold);
    --vf-warning-soft: #fff2df;
    --vf-danger: #ba1a1a;
    --vf-danger-soft: #ffdad6;
    --vf-border: #c3c6d3;
    --vf-border-strong: #737782;
    --vf-radius: 4px;
    --vf-sidebar-width: 260px;
    --bs-primary: var(--vf-primary);
    --bs-primary-rgb: 15, 69, 147;
    --bs-success: var(--vf-success);
    --bs-success-rgb: 123, 170, 102;
    --bs-danger: var(--vf-danger);
    --bs-danger-rgb: 186, 26, 26;
    --bs-body-font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --bs-body-color: var(--vf-text);
    --bs-body-bg: var(--vf-background);
    --bs-border-radius: var(--vf-radius);
    --bs-border-color: var(--vf-border);
}

body {
    max-width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--vf-background);
    color: var(--vf-text);
    font-family: var(--bs-body-font-family);
    font-size: 0.875rem;
    line-height: 1.45;
}

html {
    max-width: 100%;
    overflow-x: hidden;
}

a {
    color: var(--vf-primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: 0;
}

@keyframes vf-control-press {
    0% {
        transform: translateY(0) scale(1);
    }

    45% {
        transform: translateY(1px) scale(0.985);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

.navbar.bg-success {
    background-color: var(--vf-primary) !important;
}

.vf-portal-navbar {
    position: relative;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    border-bottom: 0;
    background: var(--vf-surface);
    box-shadow: 0 2px 14px rgba(18, 28, 40, 0.08);
}

.vf-portal-navbar::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 6px;
    content: "";
    background: var(--vf-color-strip);
}

.vf-portal-navbar .container {
    position: relative;
    z-index: 1;
}

.vf-portal-navbar .nav-link,
.vf-portal-navbar .navbar-toggler {
    color: var(--vf-primary);
}

.vf-portal-navbar .navbar-toggler {
    padding: 0.35rem;
    border-color: transparent;
    border-radius: 50%;
    background: transparent;
}

.vf-portal-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem rgba(12, 178, 204, 0.22);
}

.vf-portal-navbar .nav-link:hover,
.vf-portal-navbar .nav-link:focus,
.vf-portal-navbar .navbar-toggler:hover,
.vf-portal-navbar .navbar-toggler:focus {
    color: var(--vf-secondary);
}

.vf-portal-navbar .nav-link.disabled {
    color: var(--vf-text-muted);
}

.vf-portal-navbar .dropdown-menu {
    border-color: rgba(15, 69, 147, 0.14);
    box-shadow: 0 14px 30px rgba(18, 28, 40, 0.12);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
}

.navbar-toggler {
    color: var(--vf-primary);
}

.navbar-toggler .bi {
    font-size: 1.35rem;
    line-height: 1;
}

.vf-navbar-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 60px;
}

.vf-navbar-logo img {
    display: block;
    width: 72px;
    height: 58px;
    object-fit: contain;
}

.vf-admin-body {
    background: var(--vf-background);
}

.vf-admin-shell {
    min-height: 100vh;
}

.vf-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1030;
    display: flex;
    width: var(--vf-sidebar-width);
    height: 100vh;
    flex-direction: column;
    border-right: 1px solid rgba(15, 69, 147, 0.12);
    background: var(--vf-surface);
    box-shadow: 4px 0 24px rgba(18, 28, 40, 0.08);
    color: var(--vf-text);
}

.vf-sidebar::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 6px;
    content: "";
    background: linear-gradient(180deg, var(--vf-blue) 0%, var(--vf-blue) 20%, var(--vf-teal) 20%, var(--vf-teal) 40%, var(--vf-cyan) 40%, var(--vf-cyan) 60%, var(--vf-green) 60%, var(--vf-green) 80%, var(--vf-gold) 80%, var(--vf-gold) 100%);
    pointer-events: none;
}

.vf-sidebar-brand {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    align-items: center;
    padding: 1rem 1rem 1.1rem;
    border-bottom: 1px solid rgba(15, 69, 147, 0.1);
    color: var(--vf-primary);
    text-align: center;
    text-decoration: none;
}

.vf-sidebar-brand:hover {
    color: var(--vf-primary-dark);
}

.vf-sidebar-brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 132px;
}

.vf-brand-logo {
    display: block;
    width: 128px;
    height: 128px;
    object-fit: contain;
}

.vf-sidebar-brand-subtitle {
    display: block;
}

.vf-sidebar-brand-subtitle {
    color: var(--vf-secondary);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.vf-sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 0.25rem 0 1rem;
}

.vf-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 42px;
    padding: 0.55rem 1rem;
    border-left: 4px solid transparent;
    color: var(--vf-text-muted);
    font-weight: 600;
    text-decoration: none;
}

.vf-sidebar-link:hover {
    background: var(--vf-surface-low);
    color: var(--vf-primary);
}

.vf-sidebar-link.active {
    border-left-color: var(--vf-cyan);
    background: var(--vf-primary-soft);
    color: var(--vf-primary-dark);
}

.vf-sidebar-link i {
    width: 1.25rem;
    text-align: center;
}

.vf-sidebar-link.active i {
    color: var(--vf-cyan);
}

.vf-sidebar-user {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-top: auto;
    padding: 1rem;
    border-top: 1px solid rgba(15, 69, 147, 0.1);
}

.vf-sidebar-avatar {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--vf-primary-soft);
    color: var(--vf-primary-dark);
    font-weight: 700;
}

.vf-sidebar-user-copy {
    min-width: 0;
}

.vf-sidebar-user-name,
.vf-sidebar-user-role {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vf-sidebar-user-name {
    font-size: 0.85rem;
    font-weight: 700;
}

.vf-sidebar-user-role {
    color: var(--vf-text-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

.vf-topbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid rgba(115, 119, 130, 0.22);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 2px 12px rgba(18, 28, 40, 0.04);
    backdrop-filter: blur(10px);
}

.vf-topbar-kicker {
    color: var(--vf-secondary);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.vf-topbar-title {
    color: var(--vf-primary-dark);
    font-size: 1rem;
    font-weight: 700;
}

.vf-topbar-title:empty::after {
    content: "Portal administrativo";
}

.vf-topbar-actions {
    display: flex;
    gap: 0.5rem;
}

.vf-main {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.5rem;
}

.vf-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vf-page-kicker {
    margin-bottom: 0.25rem;
    color: var(--vf-secondary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.vf-page-title {
    margin: 0;
    color: var(--vf-primary-dark);
    font-size: 1.5rem;
    font-weight: 700;
}

.vf-page-title i {
    color: var(--vf-cyan);
}

.vf-page-subtitle {
    max-width: 720px;
    margin: 0.35rem 0 0;
    color: var(--vf-text-muted);
}

.vf-stat-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-color: rgba(15, 69, 147, 0.12);
}

.vf-stat-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    content: "";
    background: var(--vf-primary);
}

.row > [class*="col"]:nth-child(5n+2) .vf-stat-card::before {
    background: var(--vf-secondary);
}

.row > [class*="col"]:nth-child(5n+3) .vf-stat-card::before {
    background: var(--vf-cyan);
}

.row > [class*="col"]:nth-child(5n+4) .vf-stat-card::before {
    background: var(--vf-success);
}

.row > [class*="col"]:nth-child(5n) .vf-stat-card::before {
    background: var(--vf-warning);
}

.vf-stat-card .card-body {
    position: relative;
    min-height: 118px;
    padding: 1rem;
}

.vf-stat-card small {
    display: block;
    color: var(--vf-text-muted) !important;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.vf-stat-card h2 {
    margin: 0.85rem 0 0;
    color: var(--vf-primary-dark);
    font-size: 1.35rem;
    font-weight: 700;
}

.vf-stat-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--vf-radius);
    background: var(--vf-secondary-soft);
    color: var(--vf-secondary);
}

.vf-mini-stat {
    height: 100%;
    border-color: rgba(15, 69, 147, 0.12);
    border-left: 3px solid var(--vf-cyan);
    background: var(--vf-surface);
}

.row > [class*="col"]:nth-child(5n+2) .vf-mini-stat {
    border-left-color: var(--vf-success);
}

.row > [class*="col"]:nth-child(5n+3) .vf-mini-stat {
    border-left-color: var(--vf-warning);
}

.row > [class*="col"]:nth-child(5n+4) .vf-mini-stat {
    border-left-color: var(--vf-secondary);
}

.row > [class*="col"]:nth-child(5n) .vf-mini-stat {
    border-left-color: var(--vf-primary);
}

.vf-mini-stat .card-body {
    padding: 0.75rem 1rem !important;
}

.vf-mini-stat .h5,
.vf-mini-stat h3,
.vf-mini-stat h4 {
    margin-bottom: 0.15rem;
    color: var(--vf-primary-dark);
    font-weight: 700;
}

.vf-mini-stat small {
    color: var(--vf-text-muted) !important;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.vf-filter-card {
    border-color: rgba(15, 69, 147, 0.12);
    background: var(--vf-surface);
}

.vf-filter-card .card-body {
    padding: 1rem;
}

.vf-mobile-filter-toggle {
    display: none;
}

.vf-form-shell {
    padding-top: 0.5rem;
}

.vf-form-card {
    overflow: hidden;
    border-color: rgba(15, 69, 147, 0.12);
}

.vf-form-card .card-header {
    border-left: 4px solid var(--vf-cyan);
    padding: 1rem;
}

.vf-form-card .card-body {
    padding: 1.25rem;
}

.vf-table-card {
    overflow: hidden;
    border-color: rgba(15, 69, 147, 0.12);
}

.vf-table-card .card-header,
.vf-table-card .card-footer {
    border-color: var(--vf-border);
    background: var(--vf-surface-low) !important;
}

.vf-table-card .card-header {
    border-left: 4px solid var(--vf-secondary);
}

.vf-table-card .card-body {
    background: var(--vf-surface);
}

.vf-report-chart-card .card-header small,
.vf-table-card .card-header small {
    display: block;
    margin-top: 0.15rem;
}

.vf-report-chart {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.vf-report-chart--trend {
    height: 340px;
}

.vf-report-chart--ranking {
    height: 320px;
}

.vf-report-chart svg {
    display: block;
    width: 100%;
    height: 100%;
}

.vf-auth-main {
    overflow: visible;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.vf-auth-layout {
    position: relative;
    display: flex;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 140px);
    overflow: visible;
    padding: 1.25rem 1.5rem;
}

.vf-auth-layout-background {
    isolation: isolate;
    width: 100%;
    max-width: 1080px;
    overflow: visible;
    margin: 0 auto;
}

.vf-auth-layout-background::before,
.vf-auth-layout-background::after {
    position: absolute;
    z-index: 0;
    content: "";
    display: none;
    pointer-events: none;
}

.vf-auth-layout-background::before {
    width: clamp(380px, 54vw, 680px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 36% 34%, rgba(12, 178, 204, 0.2), rgba(123, 170, 102, 0.16) 64%, rgba(123, 170, 102, 0.08));
    filter: blur(1px);
    transform: translate(-72%, -54%);
    top: 51%;
    left: 50%;
}

.vf-auth-layout-background::after {
    width: clamp(260px, 36vw, 460px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 48% 42%, rgba(123, 170, 102, 0.18), rgba(12, 178, 204, 0.1) 70%);
    filter: blur(1px);
    transform: translate(20%, 24%);
    right: calc(50% - 360px);
    bottom: calc(50% - 285px);
}

.vf-auth-effects {
    position: fixed;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.vf-auth-effects::before {
    position: absolute;
    inset: 0;
    content: "";
    background: transparent;
}

.vf-auth-waves {
    position: absolute;
    z-index: 0;
    inset: -8vh -10vw;
    display: block;
    width: 120vw;
    height: 116vh;
    pointer-events: none;
    transform: rotate(-7deg) scale(1.08);
    transform-origin: center center;
    filter: blur(10px);
}

.vf-auth-wave-band {
    opacity: 1;
}

.vf-auth-wave-band-top {
    opacity: 1;
}

.vf-auth-wave-band-cyan {
    fill: var(--vf-cyan);
}

.vf-auth-wave-band-teal {
    fill: var(--vf-teal);
}

.vf-auth-wave-band-green {
    fill: var(--vf-green);
}

.vf-auth-wave-band-soft {
    opacity: 1;
}

.vf-auth-wave-band-light {
    opacity: 1;
}

.vf-auth-symbol-library {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.vf-auth-produce-grid {
    position: absolute;
    inset: 1.75rem 2rem;
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 0.75rem;
}

.vf-auth-produce-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    justify-items: center;
}

.vf-auth-produce-column-two {
    justify-content: space-around;
}

.vf-auth-effect {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: clamp(4.4rem, 5.2vw, 5.5rem);
    opacity: 0.5;
}

.vf-auth-effect i,
.vf-auth-effect svg {
    display: block;
    line-height: 1;
}

.vf-auth-effect svg {
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

.vf-auth-effect-blue {
    color: var(--vf-blue);
}

.vf-auth-effect-teal {
    color: var(--vf-teal);
}

.vf-auth-effect-cyan {
    color: var(--vf-cyan);
}

.vf-auth-effect-green {
    color: var(--vf-green);
}

.vf-auth-effect-gold {
    color: var(--vf-gold);
}

.vf-auth-drift-a {
    animation: vf-auth-drift-a 8.5s ease-in-out infinite alternate;
}

.vf-auth-drift-b {
    animation: vf-auth-drift-b 9.5s ease-in-out infinite alternate-reverse;
}

.vf-auth-drift-c {
    animation: vf-auth-drift-c 9s ease-in-out infinite alternate;
}

.vf-auth-card,
.vf-auth-card.card.shadow {
    position: relative;
    z-index: 1;
    width: min(100%, 430px);
    margin: 0;
    overflow: visible;
    border: 0 !important;
    background: rgba(255, 255, 255, 0.97);
    box-shadow:
        0 26px 64px rgba(18, 28, 40, 0.2),
        0 18px 42px rgba(12, 178, 204, 0.16),
        0 12px 30px rgba(123, 170, 102, 0.14),
        0 2px 10px rgba(18, 28, 40, 0.08) !important;
}

.vf-auth-card-wide {
    width: min(100%, 480px);
}

.vf-auth-info-card {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.75rem;
    border: 1px solid rgba(15, 69, 147, 0.16);
    border-radius: var(--vf-radius);
    background: var(--vf-surface-low);
    color: var(--vf-text-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.vf-auth-info-card i {
    flex: 0 0 auto;
    color: var(--vf-secondary);
    font-size: 1rem;
}

.vf-auth-support-grid {
    display: grid;
    gap: 0.55rem;
}

.vf-auth-support-card {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.7rem;
    border: 1px solid var(--vf-border);
    border-radius: var(--vf-radius);
    background: var(--vf-surface);
    color: var(--vf-primary-dark);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.25s ease;
}

.vf-auth-support-card:hover,
.vf-auth-support-card:focus-visible {
    border-color: var(--vf-cyan);
    color: var(--vf-primary-dark);
    box-shadow: 0 7px 16px rgba(18, 28, 40, 0.1);
    transform: translateY(-2px);
}

.vf-auth-support-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--vf-radius);
    background: var(--vf-secondary-soft);
    color: var(--vf-secondary);
    font-size: 1rem;
}

.vf-auth-support-copy {
    display: grid;
    gap: 0.05rem;
}

.vf-auth-support-copy small {
    color: var(--vf-text-muted);
    font-size: 0.72rem;
}

.vf-auth-support-arrow {
    color: var(--vf-secondary);
}

.vf-auth-channel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.vf-auth-channel-option {
    display: flex;
    min-height: 62px;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem;
    border: 1px solid var(--vf-border);
    border-radius: var(--vf-radius);
    background: var(--vf-surface);
    color: var(--vf-text-muted);
    cursor: pointer;
    font-weight: 700;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.vf-auth-channel-option:has(.form-check-input:checked) {
    border-color: var(--vf-secondary);
    background: var(--vf-secondary-soft);
    box-shadow: 0 0 0 2px rgba(13, 122, 146, 0.12);
    color: var(--vf-primary-dark);
}

.vf-auth-channel-option .form-check-input {
    flex: 0 0 auto;
    margin: 0;
}

.vf-auth-channel-icon {
    color: var(--vf-secondary);
    font-size: 1rem;
}

.vf-auth-code-input {
    font-weight: 700;
}

.vf-auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--vf-text-muted);
    font-weight: 600;
    text-decoration: none;
}

.vf-auth-back-link:hover,
.vf-auth-back-link:focus-visible {
    color: var(--vf-primary);
}

@keyframes vf-auth-drift-a {
    from {
        transform: translate3d(0, 0, 0) rotate(-8deg);
    }

    to {
        transform: translate3d(14px, 10px, 0) rotate(-2deg);
    }
}

@keyframes vf-auth-drift-b {
    from {
        transform: translate3d(0, 0, 0) rotate(7deg);
    }

    to {
        transform: translate3d(-12px, -9px, 0) rotate(2deg);
    }
}

@keyframes vf-auth-drift-c {
    from {
        transform: translate3d(0, 0, 0) rotate(14deg);
    }

    to {
        transform: translate3d(-10px, 12px, 0) rotate(20deg);
    }
}

@media (max-width: 992px) {
    .vf-auth-produce-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .vf-auth-produce-column:nth-child(n+7) {
        display: none;
    }

    .vf-auth-effect {
        font-size: 4.75rem;
    }
}

.vf-auth-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 136px;
    height: 136px;
    color: var(--vf-primary);
    font-size: 2rem;
}

.vf-auth-logo {
    display: block;
    width: 130px;
    height: 130px;
    object-fit: contain;
}

.vf-auth-mark-login {
    width: 196px;
    height: 172px;
    max-width: 58vw;
    max-height: 50vw;
}

.vf-auth-logo-login {
    width: 100%;
    height: 100%;
}

.vf-auth-screen-title {
    color: var(--vf-blue);
    font-size: clamp(1.35rem, 3.8vw, 1.75rem);
    font-weight: 800;
    line-height: 1.18;
}

.vf-auth-login-title {
    margin-inline: auto;
    color: var(--vf-blue);
    font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: clamp(1.28rem, 4.1vw, 1.72rem);
    font-weight: 800;
    line-height: 1.18;
    text-wrap: balance;
}

.vf-auth-card .text-muted {
    font-size: 0.95rem;
}

.vf-auth-title-divider {
    display: block;
    width: min(232px, 68vw);
    height: 4px;
    margin: 0.8rem auto 0;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        var(--vf-blue) 0 20%,
        var(--vf-teal) 20% 40%,
        var(--vf-cyan) 40% 60%,
        var(--vf-green) 60% 80%,
        var(--vf-gold) 80% 100%
    );
}

.vf-auth-title-divider + .text-muted {
    margin-top: 0.75rem;
}

.vf-portal-dashboard {
    padding-top: 1rem;
}

.vf-portal-home {
    max-width: 1080px;
    margin: 0 auto;
}

.vf-balance-card {
    overflow: hidden;
    border-color: rgba(15, 69, 147, 0.28);
    background: linear-gradient(135deg, var(--vf-primary-dark) 0%, var(--vf-primary) 42%, var(--vf-secondary) 100%);
    color: #fff;
}

.vf-balance-card h6,
.vf-balance-card p {
    color: rgba(255, 255, 255, 0.72);
}

.vf-balance-card h6 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.vf-profile-card {
    border-color: var(--vf-border);
    background: var(--vf-surface);
}

.vf-profile-card h5 {
    color: var(--vf-text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.vf-profile-card h3 {
    color: var(--vf-primary-dark);
}

.vf-portal-hero {
    position: relative;
    display: grid;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(15, 69, 147, 0.28);
    border-radius: var(--vf-radius);
    background: linear-gradient(135deg, var(--vf-primary) 0%, var(--vf-secondary) 58%, var(--vf-cyan) 100%);
    color: #fff;
}

.vf-portal-hero-two-col {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
}

.vf-portal-hero .vf-page-kicker,
.vf-portal-hero p {
    color: rgba(255, 255, 255, 0.76);
}

.vf-portal-hero-profile {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.vf-portal-hero-profile-name,
.vf-portal-hero-profile-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.vf-portal-hero-profile-name {
    color: #fff;
    font-weight: 700;
}

.vf-portal-hero-profile-meta {
    color: rgba(255, 255, 255, 0.82);
}

.vf-portal-hero-title {
    margin: 0.35rem 0 0;
    color: #fff;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.05;
}

.vf-portal-balance-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.vf-portal-refresh-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.vf-portal-refresh-icon:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.vf-portal-refresh-icon i {
    color: #fff;
    font-size: 1.1rem;
}

.vf-portal-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.82);
}

.vf-portal-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.vf-portal-hero-actions {
    display: grid;
    gap: 0.75rem;
}

.vf-portal-primary-action {
    display: flex;
    position: relative;
    min-height: 148px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.65rem;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.36);
    border-radius: var(--vf-radius);
    background: #fff;
    color: var(--vf-primary);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.vf-portal-refresh-action {
    display: inline-flex;
    position: relative;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.36);
    border-radius: var(--vf-radius);
    background: #fff;
    color: var(--vf-primary);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.vf-portal-primary-action i {
    color: var(--vf-cyan);
    font-size: 2.5rem;
}

.vf-portal-refresh-action i {
    color: var(--vf-success);
    font-size: 1.25rem;
}

.vf-portal-primary-action:hover,
.vf-portal-refresh-action:hover {
    color: var(--vf-primary-dark);
    background: var(--vf-primary-soft);
}

.vf-portal-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.vf-portal-section-heading h5 {
    margin: 0;
    color: var(--vf-primary-dark);
    font-weight: 700;
}

.vf-action-card {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    min-height: 92px;
    padding: 1rem;
    overflow: hidden;
    border: 2px solid rgba(15, 69, 147, 0.14);
    border-radius: var(--vf-radius);
    background: var(--vf-surface);
    color: var(--vf-primary);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
    gap: 0.65rem;
}

.vf-action-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    content: "";
    background: var(--vf-cyan);
    transition: opacity 0.15s ease;
}

.vf-action-card:active::before,
.vf-action-card:focus-visible::before {
    opacity: 0;
}

.vf-action-card i {
    color: var(--vf-secondary);
    font-size: 1.45rem;
}

.vf-action-card:hover {
    border-color: var(--vf-primary);
    background: var(--vf-surface-low);
    color: var(--vf-primary-dark);
    transform: translateY(-1px);
}

.vf-action-card-warning i {
    color: var(--vf-warning);
}

.vf-action-card-warning::before {
    background: var(--vf-warning);
}

.vf-action-card-secondary i {
    color: var(--vf-success);
}

.vf-action-card-secondary::before {
    background: var(--vf-success);
}

.vf-action-card-large {
    display: block;
    min-height: 180px;
    color: var(--vf-text);
}

.vf-action-card-large i {
    display: block;
    font-size: 2.5rem;
}

.vf-task-shell {
    width: min(100%, 760px);
    margin: 0 auto;
}

.vf-task-shell-wide {
    width: min(100%, 1080px);
}

.vf-task-shell-narrow {
    width: min(100%, 560px);
}

.vf-task-card {
    overflow: hidden;
}

.vf-task-card .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
}

.vf-task-card-primary-header {
    background: var(--vf-primary) !important;
    color: #fff;
}

.vf-task-card-primary-header .vf-page-kicker,
.vf-task-card-primary-header .vf-task-card-title {
    color: rgba(255, 255, 255, 0.84);
}

.vf-task-card-primary-header .vf-task-card-title {
    color: #fff;
}

.vf-task-card-title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    color: var(--vf-primary-dark);
    font-size: 1rem;
    font-weight: 700;
}

.vf-task-lead {
    max-width: 520px;
    margin: 0 auto 1rem;
    color: var(--vf-text-muted);
}

.vf-camera-panel,
.vf-qr-result-panel {
    padding: 1rem;
    border: 1px solid var(--vf-border);
    border-radius: var(--vf-radius);
    background: var(--vf-surface-low);
}

.vf-qr-result-panel {
    margin-top: 1.25rem;
    text-align: center;
}

.vf-qr-image {
    width: min(100%, 300px);
    border: 1px solid var(--vf-border);
    border-radius: var(--vf-radius);
    background: #fff;
    padding: 0.5rem;
}

.vf-amount-input {
    min-height: 58px;
    font-size: 1.45rem;
    font-weight: 700;
}

.vf-payment-review {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.vf-payment-review-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--vf-border);
}

.vf-payment-review-row:last-child {
    border-bottom: 0;
}

.vf-payment-review-label {
    color: var(--vf-text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.vf-payment-review-value {
    color: var(--vf-primary-dark);
    font-size: 1rem;
    font-weight: 700;
    text-align: right;
}

.vf-payment-review-value-danger {
    color: var(--vf-danger);
    font-size: 1.5rem;
}

.vf-result-shell {
    width: min(100%, 440px);
    margin: 0 auto;
    padding-top: 1.5rem;
    text-align: center;
}

.vf-result-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: rgba(123, 170, 102, 0.18);
    color: #315c25;
    font-size: 3rem;
}

.vf-result-icon-primary {
    background: var(--vf-primary-soft);
    color: var(--vf-primary);
}

.vf-result-summary {
    text-align: left;
}

.vf-result-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--vf-border);
}

.vf-result-row:last-child {
    border-bottom: 0;
}

.vf-mobile-form-actions {
    display: grid;
    gap: 0.5rem;
}

.vf-location-status {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 32px;
    padding: 0.45rem 0.55rem;
    border: 1px solid var(--vf-border);
    border-radius: var(--vf-radius);
    background: var(--vf-surface-low);
    color: var(--vf-text-muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.vf-mobile-taskbar {
    display: none;
}

.vf-mobile-taskbar-main,
.vf-mobile-taskbar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vf-mobile-taskbar-main {
    min-width: 0;
}

.vf-mobile-taskbar-actions {
    flex: 0 0 auto;
}

.vf-mobile-taskbar-button {
    min-height: 36px;
}

.vf-mobile-taskbar-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--vf-border);
    border-radius: 50%;
    background: #fff;
    color: var(--vf-text-muted);
    text-decoration: none;
}

.vf-mobile-taskbar-close:hover {
    border-color: var(--vf-primary);
    color: var(--vf-primary);
}

.vf-mobile-bottom-nav {
    display: none;
}

.vf-navbar-mobile-account {
    display: none;
}

.vf-activity-card {
    overflow: hidden;
}

.vf-activity-list {
    display: grid;
}

.vf-activity-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--vf-border);
}

.vf-activity-item:last-child {
    border-bottom: 0;
}

.vf-activity-main {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.75rem;
}

.vf-activity-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--vf-surface-low);
    color: var(--vf-secondary);
}

.vf-activity-title,
.vf-activity-subtitle {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vf-activity-title {
    font-weight: 700;
}

.vf-activity-subtitle {
    color: var(--vf-text-muted);
    font-size: 0.8rem;
}

.vf-activity-amount {
    flex: 0 0 auto;
    font-weight: 700;
}

.vf-activity-amount-positive {
    color: var(--vf-success);
}

.vf-activity-amount-negative {
    color: var(--vf-danger);
}

.min-w-0 {
    min-width: 0;
}

.card {
    border: 1px solid var(--vf-border);
    border-radius: var(--vf-radius);
    background: var(--vf-surface);
    box-shadow: none;
}

.card.shadow,
.card.shadow-sm,
.shadow,
.shadow-sm {
    box-shadow: 0 2px 4px rgba(18, 28, 40, 0.04) !important;
}

.card-header {
    border-bottom: 1px solid var(--vf-border);
    border-radius: var(--vf-radius) var(--vf-radius) 0 0 !important;
    background: var(--vf-surface-low);
    color: var(--vf-primary-dark);
    font-weight: 700;
}

.card-title,
.modal-title {
    color: var(--vf-primary-dark);
    font-weight: 700;
}

.modal-header.bg-primary .modal-title,
.modal-header.text-white .modal-title {
    color: #fff;
}


.modal-dialog-scrollable .modal-content > form {
    display: flex;
    min-height: 0;
    max-height: 100%;
    flex-direction: column;
}

.modal-dialog-scrollable .modal-content > form .modal-body {
    min-height: 0;
    overflow-y: auto;
}

.btn {
    display: inline-flex;
    position: relative;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-width: 2px;
    border-radius: var(--vf-radius);
    font-weight: 700;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.btn:hover,
.vf-portal-primary-action:hover,
.vf-portal-refresh-action:hover {
    transform: translateY(-1px);
}

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

.btn-primary:hover {
    border-color: var(--vf-primary-dark);
    background-color: var(--vf-primary-dark);
}

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

.btn-success:hover {
    border-color: var(--vf-success-dark);
    background-color: var(--vf-success-dark);
}

.btn-outline-primary {
    border-color: var(--vf-primary);
    color: var(--vf-primary);
}

.btn-outline-primary:hover {
    border-color: var(--vf-primary);
    background-color: var(--vf-primary);
    color: #fff;
}

.btn-outline-success {
    border-color: var(--vf-success);
    color: var(--vf-success-dark);
}

.btn-outline-success:hover {
    border-color: var(--vf-success);
    background-color: var(--vf-success);
    color: #fff;
}

.btn-danger {
    border-color: var(--vf-danger);
    background-color: var(--vf-danger);
}

.btn-primary:active,
.btn-primary:focus-visible,
.btn-success:active,
.btn-success:focus-visible,
.btn-secondary:active,
.btn-secondary:focus-visible,
.btn-warning:active,
.btn-warning:focus-visible,
.btn-danger:active,
.btn-danger:focus-visible,
.btn-dark:active,
.btn-dark:focus-visible,
.btn-outline-primary:active,
.btn-outline-primary:focus-visible,
.btn-outline-success:active,
.btn-outline-success:focus-visible,
.btn-outline-secondary:active,
.btn-outline-secondary:focus-visible,
.btn-outline-warning:active,
.btn-outline-warning:focus-visible,
.btn-outline-danger:active,
.btn-outline-danger:focus-visible,
.btn-outline-dark:active,
.btn-outline-dark:focus-visible,
.vf-action-card:active,
.vf-action-card:focus-visible,
.vf-portal-primary-action:active,
.vf-portal-primary-action:focus-visible,
.vf-portal-refresh-action:active,
.vf-portal-refresh-action:focus-visible,
.vf-mobile-bottom-link:active,
.vf-mobile-bottom-link:focus-visible {
    border-color: transparent !important;
    border-width: 2px !important;
    background: linear-gradient(var(--vf-surface), var(--vf-surface)) padding-box, var(--vf-color-strip) border-box !important;
    color: var(--vf-primary) !important;
    box-shadow: none !important;
    outline: 0;
}

.btn-primary:active,
.btn-success:active,
.btn-secondary:active,
.btn-warning:active,
.btn-danger:active,
.btn-dark:active,
.btn-outline-primary:active,
.btn-outline-success:active,
.btn-outline-secondary:active,
.btn-outline-warning:active,
.btn-outline-danger:active,
.btn-outline-dark:active,
.vf-action-card:active,
.vf-portal-primary-action:active,
.vf-portal-refresh-action:active,
.vf-mobile-bottom-link:active {
    animation: vf-control-press 0.18s ease-out;
}

.form-control,
.form-select,
.input-group-text {
    border-color: var(--vf-border);
    border-width: 2px;
    border-radius: var(--vf-radius);
    background-color: #fff;
}

.form-control:focus,
.form-select:focus {
    border-color: transparent;
    border-width: 2px;
    background: linear-gradient(#fff, #fff) padding-box, var(--vf-color-strip) border-box;
    box-shadow: none;
}

.form-label {
    color: var(--vf-text-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.table {
    --bs-table-color: var(--vf-text);
    --bs-table-striped-bg: var(--vf-background);
    --bs-table-hover-bg: var(--vf-background);
    --bs-table-hover-color: var(--vf-text);
    margin-bottom: 0;
    font-size: 0.86rem;
}

.table > :not(caption) > * > * {
    padding: 0.55rem 1rem;
}

.table thead th,
.table-light th {
    border-bottom: 1px solid var(--vf-border);
    background: var(--vf-surface-low) !important;
    color: var(--vf-text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.table tbody tr {
    border-color: var(--vf-border);
}

.table-hover > tbody > tr:hover > * {
    background-color: rgba(12, 178, 204, 0.05);
}

.badge,
.rounded-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.28rem 0.55rem;
    border-radius: 9999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.badge.bg-primary,
.badge.text-bg-primary {
    background-color: var(--vf-primary-soft) !important;
    color: var(--vf-primary-dark) !important;
}

.badge.bg-success,
.badge.text-bg-success,
.text-bg-success {
    background-color: rgba(123, 170, 102, 0.18) !important;
    color: #315c25 !important;
}

.badge.bg-danger,
.badge.text-bg-danger,
.text-bg-danger {
    background-color: var(--vf-danger-soft) !important;
    color: #93000a !important;
}

.badge.bg-warning,
.badge.text-bg-warning,
.text-bg-warning {
    background-color: rgba(198, 152, 92, 0.22) !important;
    color: #654212 !important;
}

.badge.bg-secondary,
.badge.text-bg-secondary,
.text-bg-secondary {
    background-color: var(--vf-surface-high) !important;
    color: var(--vf-text-muted) !important;
}

.badge.bg-info,
.badge.text-bg-info,
.text-bg-info {
    background-color: var(--vf-secondary-soft) !important;
    color: var(--vf-secondary) !important;
}

.badge.bg-light,
.badge.text-bg-light {
    border-color: var(--vf-border) !important;
    background-color: #fff !important;
    color: var(--vf-text-muted) !important;
}

.nav-tabs {
    border-bottom-color: var(--vf-border);
}

.nav-tabs .nav-link {
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    color: var(--vf-text-muted);
    font-weight: 700;
}

.nav-tabs .nav-link:hover {
    border-bottom-color: var(--vf-cyan);
    color: var(--vf-primary);
}

.nav-tabs .nav-link.active {
    border-bottom-color: var(--vf-cyan);
    background: var(--vf-surface);
    color: var(--vf-primary);
}

.vf-management-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.35rem;
    border: 1px solid var(--vf-border);
    border-radius: var(--vf-radius);
    background: var(--vf-surface);
}

.vf-management-tabs.nav-tabs {
    border-bottom: 1px solid var(--vf-border);
}

.vf-management-tabs.nav-tabs .nav-link {
    border: 1px solid transparent;
    border-radius: var(--vf-radius);
}

.vf-management-tabs.nav-tabs .nav-link.active {
    border-color: rgba(12, 178, 204, 0.35);
    background: var(--vf-secondary-soft);
    color: var(--vf-primary-dark);
}

.alert {
    border-radius: var(--vf-radius);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.btn-close:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.form-check-input:focus-visible,
.nav-link:focus-visible,
.dropdown-item:focus-visible {
    outline: 3px solid var(--vf-secondary);
    outline-offset: 2px;
    box-shadow: 0 0 0 0.2rem rgba(13, 122, 146, 0.22);
}

.btn-primary:focus-visible,
.btn-success:focus-visible,
.btn-secondary:focus-visible,
.btn-warning:focus-visible,
.btn-danger:focus-visible,
.btn-dark:focus-visible,
.btn-outline-primary:focus-visible,
.btn-outline-success:focus-visible,
.btn-outline-secondary:focus-visible,
.btn-outline-warning:focus-visible,
.btn-outline-danger:focus-visible,
.btn-outline-dark:focus-visible,
.vf-action-card:focus-visible,
.vf-portal-primary-action:focus-visible,
.vf-portal-refresh-action:focus-visible,
.vf-mobile-bottom-link:focus-visible {
    outline: 0;
    box-shadow: none !important;
}

.form-control:focus-visible,
.form-select:focus-visible {
    outline: 0;
    box-shadow: none;
}

.display-4 {
    font-size: 2.5rem;
}

#qr-reader {
    overflow: hidden;
    border-radius: var(--vf-radius);
}

#qr-reader video {
    border-radius: var(--vf-radius);
}

.icon-display-sm {
    font-size: 2rem;
}

.icon-display-md {
    font-size: 3rem;
}

.icon-display-lg {
    font-size: 5rem;
}

.content-max-300 {
    max-width: 300px;
}

.content-max-320 {
    max-width: 320px;
}

.content-max-400 {
    max-width: 400px;
}

.reader-max-400 {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.scroll-y-300 {
    max-height: 300px;
    overflow-y: auto;
}

.fair-location-map {
    width: 100%;
    min-height: 320px;
    overflow: hidden;
    border: 1px solid var(--vf-border);
    border-radius: var(--vf-radius);
    background: var(--vf-surface-low);
}

.fair-location-map-actions,
.fair-location-map-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.fair-location-map-list-item {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    gap: 0.4rem;
}

.fair-location-map-list-entry {
    max-width: 100%;
}

.distribution-planner-layout {
    align-items: start;
}

.distribution-select {
    border-width: 2px;
}

.distribution-select-available {
    border-color: var(--vf-border-strong);
    background-color: #fff;
}

.distribution-select-distributed {
    border-color: var(--vf-danger);
    background-color: #fff5f5;
    color: #842029;
}

.distribution-select-unavailable {
    border-color: var(--vf-border);
    background-color: #f8f9fa;
    color: #6c757d;
}

.distribution-select-selected {
    border-color: var(--vf-success);
    background-color: #f1f7ee;
    color: #315f25;
}

.session-option-available,
.letter-option-available {
    color: #495057;
    background-color: #fff;
}

.session-option-distributed,
.letter-option-distributed {
    color: #842029;
    background-color: #fff5f5;
}

.session-option-unavailable,
.letter-option-unavailable {
    color: #6c757d;
    background-color: #f8f9fa;
}

.session-option-selected,
.letter-option-selected {
    color: #315f25;
    background-color: #f1f7ee;
    font-weight: 700;
}

.letter-panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(42px, 1fr));
    gap: 0.5rem;
}

.letter-tile {
    min-width: 42px;
    border: 2px solid var(--vf-border-strong);
    border-radius: var(--vf-radius);
    aspect-ratio: 1;
    background: #fff;
    color: var(--vf-text);
    font-weight: 700;
    line-height: 1;
}

.letter-tile:hover:not(:disabled) {
    border-color: var(--vf-success);
    background: #f6fbf3;
}

.letter-tile:disabled {
    cursor: not-allowed;
    opacity: 1;
}

.letter-tile-distributed {
    border-color: var(--vf-danger);
    background: #fff5f5;
    color: #842029;
}

.letter-tile-available {
    border-color: var(--vf-border-strong);
}

.letter-tile-selected {
    border-color: var(--vf-success);
    background: #f1f7ee;
    color: #315f25;
}

.letter-legend::before {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    margin-right: 0.35rem;
    border: 2px solid var(--vf-border-strong);
    border-radius: var(--vf-radius);
    background: #fff;
    content: "";
    vertical-align: -0.1rem;
}

.letter-legend-distributed::before {
    border-color: var(--vf-danger);
}

.letter-legend-available::before {
    border-color: var(--vf-border-strong);
}

.letter-legend-selected::before {
    border-color: var(--vf-success);
    background: #f1f7ee;
}

.distribution-preset.active {
    border-color: var(--vf-success);
    background: var(--vf-success);
    color: #fff;
}

@media (max-width: 991.98px) {
    .vf-sidebar {
        position: relative;
        width: 100%;
        height: auto;
    }

    .vf-sidebar::after {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: auto;
        height: 4px;
        background: var(--vf-color-strip);
    }

    .vf-sidebar-nav {
        display: flex;
        overflow-x: auto;
        padding: 0 0.75rem 0.75rem;
    }

    .vf-sidebar-link {
        flex: 0 0 auto;
        border-left: 0;
        border-bottom: 3px solid transparent;
    }

    .vf-sidebar-link.active {
        border-bottom-color: var(--vf-cyan);
    }

    .vf-sidebar-user {
        display: none;
    }

    .vf-admin-content {
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    :root {
        --vf-mobile-bottom-nav-space: calc(104px + env(safe-area-inset-bottom));
    }

    html,
    body {
        min-height: 100dvh;
    }

    .container,
    .vf-main {
        padding-right: 0.75rem;
        padding-left: 0.75rem;
    }

    .vf-auth-main {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .table {
        font-size: 0.82rem;
    }

    .btn-lg {
        padding: 0.6rem 1rem;
        font-size: 1rem;
    }

    .vf-auth-layout {
        min-height: calc(100dvh - 3rem);
        padding: 0.75rem 1rem;
    }

    .vf-auth-login-title {
        font-size: 1.36rem;
    }

    .vf-auth-effects {
        inset: 0;
    }

    .vf-auth-produce-grid {
        inset: 0;
        display: block;
    }

    .vf-auth-produce-column:nth-child(n+5) {
        display: none;
    }

    .vf-auth-effect {
        position: absolute;
        font-size: 4.5rem;
        opacity: 0.44;
    }

    .vf-auth-produce-column:nth-child(1) .vf-auth-effect:nth-child(1) {
        top: 1.75rem;
        left: 1.75rem;
    }

    .vf-auth-produce-column:nth-child(1) .vf-auth-effect:nth-child(2) {
        top: 22%;
        left: 1.75rem;
    }

    .vf-auth-produce-column:nth-child(2) .vf-auth-effect:nth-child(1) {
        top: 1.75rem;
        right: 1.75rem;
    }

    .vf-auth-produce-column:nth-child(3) .vf-auth-effect:nth-child(1) {
        top: 22%;
        right: 1.75rem;
    }

    .vf-auth-produce-column:nth-child(4) .vf-auth-effect:nth-child(1) {
        top: 43%;
        left: 1.75rem;
    }

    .vf-auth-produce-column:nth-child(3) .vf-auth-effect:nth-child(3) {
        top: 43%;
        right: 1.75rem;
    }

    .vf-auth-produce-column:nth-child(3) .vf-auth-effect:nth-child(2) {
        bottom: 17%;
        left: 1.75rem;
    }

    .vf-auth-produce-column:nth-child(2) .vf-auth-effect:nth-child(2) {
        right: 1.75rem;
        bottom: 17%;
    }

    .vf-auth-produce-column:nth-child(1) .vf-auth-effect:nth-child(3) {
        bottom: 1.75rem;
        left: 1.75rem;
    }

    .vf-auth-produce-column:nth-child(4) .vf-auth-effect:nth-child(2) {
        right: 1.75rem;
        bottom: 1.75rem;
    }

    .vf-auth-channel-grid {
        grid-template-columns: 1fr;
    }

    .vf-mobile-filter-toggle {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        margin-bottom: 0.5rem;
        padding: 0.6rem 0.75rem;
        border: 1px solid var(--vf-border);
        border-radius: var(--vf-radius);
        background: var(--vf-surface);
        color: var(--vf-primary);
        font-weight: 700;
        text-align: left;
    }

    .vf-mobile-filter-toggle-label {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
    }

    .vf-mobile-filter-toggle-icon {
        transition: transform 0.2s ease;
    }

    .vf-mobile-filter-toggle.vf-is-expanded .vf-mobile-filter-toggle-icon {
        transform: rotate(180deg);
    }

    .vf-filter-card.vf-mobile-filter-collapsible.vf-mobile-filter-collapsed {
        display: none;
    }

    .vf-filter-card .card-body {
        padding: 0.75rem;
    }

    .vf-mini-stat .card-body {
        padding: 0.5rem 0.65rem !important;
    }

    .vf-mini-stat .h5,
    .vf-mini-stat h3,
    .vf-mini-stat h4 {
        margin-bottom: 0.05rem;
        line-height: 1.12;
    }

    .vf-stat-card .card-body {
        min-height: 94px;
        padding: 0.75rem;
    }

    .vf-stat-card h2 {
        margin-top: 0.55rem;
        font-size: 1.2rem;
    }

    .vf-stat-icon {
        top: 0.75rem;
        right: 0.75rem;
        width: 30px;
        height: 30px;
    }

    .vf-topbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }

    .vf-mobile-taskbar {
        position: sticky;
        top: 0;
        z-index: 1015;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        margin: -0.25rem 0 1rem;
        padding: 0.5rem;
        border: 1px solid var(--vf-border);
        border-radius: var(--vf-radius);
        background: rgba(248, 249, 255, 0.96);
        backdrop-filter: blur(10px);
    }

    .vf-navbar-role-links {
        display: none;
    }

    .navbar-collapse {
        max-height: calc(100dvh - 84px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .vf-navbar-account-dropdown {
        display: none;
    }

    .vf-navbar-mobile-account {
        display: block;
    }

    .vf-navbar-account-menu {
        padding-top: 0.25rem;
        border-top: 1px solid rgba(15, 69, 147, 0.14);
    }

    .vf-has-mobile-bottom-nav {
        min-height: 100dvh;
        padding-bottom: var(--vf-mobile-bottom-nav-space);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .vf-has-mobile-bottom-nav .vf-portal-main {
        padding-bottom: var(--vf-mobile-bottom-nav-space) !important;
    }

    .vf-mobile-bottom-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1040;
        display: flex;
        min-height: 68px;
        padding: 0.45rem 0.5rem calc(0.45rem + env(safe-area-inset-bottom));
        border-top: 1px solid var(--vf-border);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 -4px 14px rgba(18, 28, 40, 0.08);
        backdrop-filter: blur(10px);
    }

    .modal-dialog {
        margin: 0.5rem;
    }

    .modal-dialog-scrollable {
        height: calc(100dvh - 1rem);
        max-height: calc(100dvh - 1rem);
    }

    .modal-dialog-scrollable .modal-content,
    .modal-dialog-scrollable .modal-content > form {
        max-height: 100%;
    }

    #fairLocationModal .fair-location-map {
        height: min(42dvh, 320px);
        min-height: 220px;
    }

    .vf-mobile-bottom-link {
        display: inline-flex;
        position: relative;
        flex: 1 1 0;
        min-width: 0;
        min-height: 52px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 0.2rem;
        overflow: hidden;
        border: 2px solid transparent;
        border-radius: var(--vf-radius);
        color: var(--vf-text-muted);
        font-size: 0.68rem;
        font-weight: 700;
        text-align: center;
        text-decoration: none;
    }

    .vf-mobile-bottom-link i {
        font-size: 1.2rem;
        line-height: 1;
    }

    .vf-mobile-bottom-link.active {
        background: var(--vf-primary-soft);
        color: var(--vf-primary-dark);
    }

    .vf-mobile-bottom-label {
        overflow: hidden;
        max-width: 100%;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .vf-task-card .card-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 0.9rem 1rem;
    }

    .vf-camera-panel,
    .vf-qr-result-panel {
        margin-right: -0.25rem;
        margin-left: -0.25rem;
        padding: 0.75rem;
    }

    .vf-payment-review-row,
    .vf-result-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.25rem;
    }

    .vf-payment-review-value {
        text-align: left;
    }

    .vf-mobile-form-actions .btn,
    .vf-mobile-form-actions button {
        width: 100%;
    }

    .vf-portal-hero,
    .vf-portal-hero-two-col {
        grid-template-columns: 1fr;
    }

    .vf-portal-hero {
        padding: 1rem;
    }

    .vf-portal-hero-actions {
        grid-template-columns: 1fr;
    }

    .vf-portal-primary-action {
        min-height: 108px;
    }

    .vf-portal-refresh-action {
        order: -1;
        min-height: 44px;
        padding: 0.55rem 0.7rem;
    }

    .vf-portal-refresh-action i {
        font-size: 1.1rem;
    }

    .btn-primary:active,
    .btn-primary:focus-visible,
    .btn-success:active,
    .btn-success:focus-visible,
    .btn-secondary:active,
    .btn-secondary:focus-visible,
    .btn-warning:active,
    .btn-warning:focus-visible,
    .btn-danger:active,
    .btn-danger:focus-visible,
    .btn-dark:active,
    .btn-dark:focus-visible,
    .btn-outline-primary:active,
    .btn-outline-primary:focus-visible,
    .btn-outline-success:active,
    .btn-outline-success:focus-visible,
    .btn-outline-secondary:active,
    .btn-outline-secondary:focus-visible,
    .btn-outline-warning:active,
    .btn-outline-warning:focus-visible,
    .btn-outline-danger:active,
    .btn-outline-danger:focus-visible,
    .btn-outline-dark:active,
    .btn-outline-dark:focus-visible,
    .vf-action-card:active,
    .vf-action-card:focus-visible,
    .vf-portal-primary-action:active,
    .vf-portal-primary-action:focus-visible,
    .vf-portal-refresh-action:active,
    .vf-portal-refresh-action:focus-visible,
    .vf-mobile-bottom-link:active,
    .vf-mobile-bottom-link:focus-visible {
        border-color: transparent !important;
        border-width: 2px !important;
        background: linear-gradient(var(--vf-surface), var(--vf-surface)) padding-box, var(--vf-color-strip) border-box !important;
        color: var(--vf-primary) !important;
        box-shadow: none !important;
        outline: 0;
    }

    .form-control:focus,
    .form-select:focus {
        border-color: transparent;
        border-width: 2px;
        background: linear-gradient(var(--vf-surface), var(--vf-surface)) padding-box, var(--vf-color-strip) border-box;
        box-shadow: none;
    }

    .form-check-input:focus {
        border-color: var(--vf-cyan);
        box-shadow: none;
    }

    .vf-activity-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .vf-activity-amount {
        align-self: flex-end;
    }
}

.vf-admin-body .btn:active,
.vf-admin-body .btn:focus-visible {
    box-shadow: none !important;
    animation: vf-control-press 0.18s ease-out;
}

.vf-admin-body .btn-primary:active,
.vf-admin-body .btn-primary:focus-visible {
    border-color: var(--vf-primary) !important;
    background: var(--vf-primary) !important;
    color: #fff !important;
}

.vf-admin-body .btn-success:active,
.vf-admin-body .btn-success:focus-visible {
    border-color: var(--vf-success) !important;
    background: var(--vf-success) !important;
    color: #fff !important;
}

.vf-admin-body .btn-warning:active,
.vf-admin-body .btn-warning:focus-visible {
    border-color: var(--vf-warning) !important;
    background: var(--vf-warning) !important;
    color: var(--vf-text) !important;
}

.vf-admin-body .btn-danger:active,
.vf-admin-body .btn-danger:focus-visible {
    border-color: var(--vf-danger) !important;
    background: var(--vf-danger) !important;
    color: #fff !important;
}

.vf-admin-body .btn-secondary:active,
.vf-admin-body .btn-secondary:focus-visible,
.vf-admin-body .btn-dark:active,
.vf-admin-body .btn-dark:focus-visible {
    border-color: var(--vf-border-strong) !important;
    background: var(--vf-text-muted) !important;
    color: #fff !important;
}

.vf-admin-body .btn-outline-primary:active,
.vf-admin-body .btn-outline-primary:focus-visible {
    border-color: var(--vf-primary) !important;
    background: var(--vf-primary) !important;
    color: #fff !important;
}

.vf-admin-body .btn-outline-success:active,
.vf-admin-body .btn-outline-success:focus-visible {
    border-color: var(--vf-success) !important;
    background: var(--vf-success) !important;
    color: #fff !important;
}

.vf-admin-body .btn-outline-warning:active,
.vf-admin-body .btn-outline-warning:focus-visible {
    border-color: var(--vf-warning) !important;
    background: var(--vf-warning-soft) !important;
    color: var(--vf-text) !important;
}

.vf-admin-body .btn-outline-danger:active,
.vf-admin-body .btn-outline-danger:focus-visible {
    border-color: var(--vf-danger) !important;
    background: var(--vf-danger-soft) !important;
    color: var(--vf-danger) !important;
}

.vf-admin-body .btn-outline-secondary:active,
.vf-admin-body .btn-outline-secondary:focus-visible,
.vf-admin-body .btn-outline-dark:active,
.vf-admin-body .btn-outline-dark:focus-visible {
    border-color: var(--vf-border-strong) !important;
    background: var(--vf-surface-low) !important;
    color: var(--vf-text) !important;
}

/* Organic motion layer */
.vf-expressive-motion {
    --vf-motion-spring: cubic-bezier(0.2, 0.82, 0.24, 1.08);
    --vf-motion-soft: cubic-bezier(0.2, 0.72, 0.26, 1);
}

#vf-page-content {
    view-transition-name: vf-page-content;
    transition: opacity 0.22s var(--vf-motion-soft);
}

.vf-is-loading #vf-page-content {
    opacity: 0.82;
}

.vf-admin-body,
.vf-auth-layout {
    --vf-radius: 8px;
}

.vf-admin-body .btn,
.vf-auth-layout .btn {
    border-radius: 8px;
}

.vf-page-loader {
    position: fixed;
    z-index: 1090;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.vf-page-loader-bar {
    display: block;
    width: 46%;
    height: 100%;
    background: var(--vf-color-strip);
    transform: translateX(-110%);
}

.vf-page-loader.vf-is-active {
    opacity: 1;
}

.vf-page-loader.vf-is-active .vf-page-loader-bar {
    animation: vf-top-loader-travel 1.35s ease-in-out infinite;
}

.vf-is-loading,
.vf-is-loading a,
.vf-is-loading button {
    cursor: progress !important;
}

.vf-submit-loading {
    pointer-events: none;
}

.vf-control-loading {
    --vf-loader-angle: 0turn;
    position: relative;
    outline: 2px solid var(--vf-cyan);
    outline-offset: 2px;
    animation: vf-loader-outline 1.2s linear infinite;
    isolation: isolate;
}

.vf-control-loading:not(input) {
    border-color: transparent !important;
    background: var(--vf-surface) !important;
    color: var(--vf-primary) !important;
    filter: none !important;
}

@supports ((-webkit-mask-composite: xor) or (mask-composite: exclude)) {
    .vf-control-loading:not(input) {
        outline: none;
        animation: none;
    }
}

input.vf-submit-loading {
    opacity: 0.72;
}

@property --vf-loader-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0turn;
}

@keyframes vf-loader-ring {
    to {
        --vf-loader-angle: 1turn;
    }
}

@keyframes vf-top-loader-travel {
    to {
        transform: translateX(320%);
    }
}

@keyframes vf-loader-outline {
    0%,
    100% {
        outline-color: var(--vf-blue);
    }

    25% {
        outline-color: var(--vf-teal);
    }

    50% {
        outline-color: var(--vf-cyan);
    }

    75% {
        outline-color: var(--vf-green);
    }
}

@keyframes vf-ajax-content-enter {
    from {
        opacity: 0.32;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes vf-ajax-content-leave {
    to {
        opacity: 0;
        transform: translateY(-5px);
    }
}

::view-transition-old(vf-page-content) {
    animation: vf-ajax-content-leave 0.16s ease-out both;
}

::view-transition-new(vf-page-content) {
    animation: vf-ajax-content-enter 0.3s var(--vf-motion-soft) both;
}

.vf-portal-body {
    --vf-radius: 8px;
    background: var(--vf-background);
}

.vf-portal-body .vf-portal-navbar {
    border-bottom: 1px solid var(--vf-border);
    box-shadow: 0 5px 22px rgba(18, 28, 40, 0.08);
}

.vf-portal-body .vf-portal-hero {
    border-color: rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: linear-gradient(135deg, var(--vf-primary) 0%, var(--vf-secondary) 58%, var(--vf-cyan) 100%);
    box-shadow: 0 14px 30px rgba(15, 69, 147, 0.2);
}


.vf-portal-body .vf-portal-refresh-icon {
    transition: transform 0.35s var(--vf-motion-spring), background-color 0.2s ease, border-color 0.2s ease;
}

.vf-portal-body .vf-portal-refresh-icon:hover {
    transform: rotate(35deg) scale(1.08);
}

.vf-portal-body .vf-action-card {
    min-height: 96px;
    font-size: 1.08rem;
    border-color: rgba(15, 69, 147, 0.14);
    border-radius: 8px;
    background: var(--vf-primary-soft);
    box-shadow: 0 5px 16px rgba(18, 28, 40, 0.07);
    transition: transform 0.35s var(--vf-motion-spring), border-color 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease;
}

.vf-portal-body .row > [class*="col"]:nth-child(4n+2) .vf-action-card {
    border-color: rgba(123, 170, 102, 0.36);
    background: var(--vf-success-soft);
}

.vf-portal-body .row > [class*="col"]:nth-child(4n+3) .vf-action-card {
    border-color: rgba(198, 152, 92, 0.36);
    background: var(--vf-warning-soft);
}

.vf-portal-body .row > [class*="col"]:nth-child(4n) .vf-action-card {
    border-color: rgba(186, 26, 26, 0.2);
    background: var(--vf-danger-soft);
}

.vf-portal-body .vf-action-card::before {
    height: 5px;
    background: var(--vf-primary);
}

.vf-portal-body .row > [class*="col"]:nth-child(4n+2) .vf-action-card::before {
    background: var(--vf-success);
}

.vf-portal-body .row > [class*="col"]:nth-child(4n+3) .vf-action-card::before {
    background: var(--vf-warning);
}

.vf-portal-body .row > [class*="col"]:nth-child(4n) .vf-action-card::before {
    background: var(--vf-danger);
}

.vf-portal-body .vf-action-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.68);
    color: var(--vf-primary);
}

.vf-portal-body .row > [class*="col"]:nth-child(4n+2) .vf-action-card i {
    color: var(--vf-success-dark);
}

.vf-portal-body .row > [class*="col"]:nth-child(4n+3) .vf-action-card i {
    color: var(--vf-warning);
}

.vf-portal-body .row > [class*="col"]:nth-child(4n) .vf-action-card i {
    color: var(--vf-danger);
}

.vf-portal-body .vf-activity-card,
.vf-portal-body .vf-task-card,
.vf-portal-body .vf-filter-card,
.vf-portal-body .vf-table-card,
.vf-portal-body .vf-mini-stat {
    border-color: var(--vf-border);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(18, 28, 40, 0.06) !important;
}

.vf-portal-body .vf-activity-item {
    transition: background-color 0.2s ease, transform 0.3s var(--vf-motion-soft);
}

.vf-portal-body .vf-activity-item:hover {
    background: var(--vf-surface-low);
    transform: translateX(4px);
}

.vf-portal-body .vf-activity-icon {
    background: var(--vf-primary-soft);
    color: var(--vf-primary);
    transition: transform 0.35s var(--vf-motion-spring), background-color 0.2s ease;
}

.vf-portal-body .vf-activity-item:hover .vf-activity-icon {
    background: var(--vf-secondary-soft);
    transform: rotate(-7deg) scale(1.08);
}

.vf-expressive-motion .btn {
    transition: transform 0.3s var(--vf-motion-spring), border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.vf-expressive-motion .btn:hover {
    box-shadow: 0 6px 14px rgba(18, 28, 40, 0.12);
    transform: translateY(-2px);
}

.vf-expressive-motion .vf-sidebar-link {
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.3s var(--vf-motion-soft);
}

.vf-expressive-motion .vf-sidebar-link:hover {
    transform: translateX(3px);
}

.vf-expressive-motion .vf-stat-card,
.vf-expressive-motion .vf-mini-stat,
.vf-expressive-motion .vf-filter-card,
.vf-expressive-motion .vf-table-card {
    transition: transform 0.35s var(--vf-motion-spring), border-color 0.2s ease, box-shadow 0.25s ease;
}

.vf-expressive-motion .vf-is-pressing {
    transform: scale(0.955) !important;
    transition-duration: 0.08s !important;
}

.vf-expressive-motion .vf-reveal-target {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
    transition: opacity 0.48s var(--vf-motion-soft), transform 0.55s var(--vf-motion-spring), border-color 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease;
}

.vf-expressive-motion .vf-reveal-target.vf-is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.vf-expressive-motion .vf-reveal-order-1 {
    transition-delay: 45ms;
}

.vf-expressive-motion .vf-reveal-order-2 {
    transition-delay: 90ms;
}

.vf-expressive-motion .vf-reveal-order-3 {
    transition-delay: 135ms;
}

.vf-expressive-motion .vf-reveal-order-4 {
    transition-delay: 180ms;
}

.vf-expressive-motion .vf-reveal-order-5 {
    transition-delay: 225ms;
}

.vf-expressive-motion .vf-reveal-order-6 {
    transition-delay: 270ms;
}

.vf-expressive-motion .vf-reveal-order-7 {
    transition-delay: 315ms;
}

.vf-expressive-motion .vf-reveal-order-8 {
    transition-delay: 360ms;
}

.vf-portal-body .vf-action-card:hover {
    border-color: rgba(15, 69, 147, 0.3);
    background: var(--vf-surface);
    box-shadow: 0 12px 22px rgba(18, 28, 40, 0.12);
    transform: translateY(-4px) scale(1.012);
}


.vf-portal-body .vf-portal-home .vf-action-card {
    border-color: rgba(15, 69, 147, 0.18);
    background: var(--vf-primary-soft);
    color: var(--vf-primary);
}

.vf-portal-body .vf-portal-home .vf-action-card::before,
.vf-portal-body .vf-portal-home .row > [class*="col"] .vf-action-card::before {
    background: var(--vf-primary);
}

.vf-portal-body .vf-portal-home .vf-action-card i,
.vf-portal-body .vf-portal-home .row > [class*="col"] .vf-action-card i {
    background: rgba(255, 255, 255, 0.72);
    color: var(--vf-primary);
}

.vf-portal-body .vf-portal-home .vf-action-card:hover {
    border-color: rgba(15, 69, 147, 0.34);
    background: var(--vf-surface);
    color: var(--vf-primary-dark);
    box-shadow: 0 12px 22px rgba(15, 69, 147, 0.14);
    transform: translateY(-4px) scale(1.012);
}

.vf-portal-body .vf-portal-home .vf-action-card:hover i {
    background: var(--vf-primary-soft);
    color: var(--vf-primary-dark);
}

.vf-portal-body .vf-portal-home .vf-action-card:active,
.vf-portal-body .vf-portal-home .vf-action-card:focus-visible {
    border-color: transparent !important;
    background: linear-gradient(var(--vf-surface), var(--vf-surface)) padding-box, var(--vf-color-strip) border-box !important;
    color: var(--vf-primary) !important;
    box-shadow: none !important;
    transform: translateY(-1px) scale(0.99);
}

.vf-portal-body .vf-portal-home .vf-action-card:active::before,
.vf-portal-body .vf-portal-home .vf-action-card:focus-visible::before {
    opacity: 0;
}
.vf-expressive-motion .vf-stat-card:hover,
.vf-expressive-motion .vf-mini-stat:hover,
.vf-expressive-motion .vf-filter-card:hover,
.vf-expressive-motion .vf-table-card:hover {
    box-shadow: 0 10px 24px rgba(18, 28, 40, 0.1) !important;
    transform: translateY(-2px);
}

.vf-expressive-motion .alert {
    animation: vf-alert-arrive 0.45s var(--vf-motion-spring);
}

@keyframes vf-alert-arrive {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@supports ((-webkit-mask-composite: xor) or (mask-composite: exclude)) {
    .vf-expressive-motion .vf-control-loading::before {
        position: absolute;
        z-index: 2;
        inset: -2px;
        width: auto;
        height: auto;
        padding: 2px;
        border-radius: inherit;
        background: conic-gradient(
            from var(--vf-loader-angle),
            transparent 0deg 34deg,
            var(--vf-blue) 34deg 92deg,
            var(--vf-teal) 92deg 150deg,
            var(--vf-cyan) 150deg 208deg,
            var(--vf-green) 208deg 266deg,
            var(--vf-gold) 266deg 324deg,
            transparent 324deg 360deg
        ) !important;
        content: "";
        pointer-events: none;
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        animation: vf-loader-ring 1.05s linear infinite;
    }
}

@media (max-width: 576px) {
    .vf-portal-body .vf-mobile-bottom-nav {
        border-top-color: var(--vf-border);
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 -8px 22px rgba(18, 28, 40, 0.1);
    }

    .vf-portal-body .vf-mobile-bottom-link {
        border-radius: 999px;
        transition: transform 0.3s var(--vf-motion-spring), background-color 0.25s ease, color 0.25s ease;
    }

    .vf-portal-body .vf-mobile-bottom-link.active {
        background: var(--vf-primary-soft);
        color: var(--vf-primary-dark);
    }

    .vf-portal-body .vf-mobile-bottom-link.active i {
        animation: vf-nav-pop 0.45s var(--vf-motion-spring);
    }
}

@keyframes vf-nav-pop {
    0% {
        transform: scale(0.82);
    }

    62% {
        transform: scale(1.18);
    }

    100% {
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn,
    .vf-action-card,
    .vf-stat-card,
    .vf-mini-stat,
    .vf-filter-card,
    .vf-table-card,
    .vf-sidebar-link,
    .vf-page-loader,
    .vf-page-loader-bar,
    .vf-control-loading,
    .vf-control-loading::before,
    #vf-page-content,
    .vf-portal-primary-action,
    .vf-portal-refresh-action,
    .vf-portal-refresh-icon,
    .vf-mobile-bottom-link,
    .vf-auth-effect,
    .vf-auth-support-card,
    .vf-auth-channel-option,
    .vf-reveal-target,
    .vf-activity-item,
    .vf-activity-icon,
    .alert,
    .form-control,
    .form-select {
        animation: none !important;
        transition: none !important;
    }

    .vf-reveal-target {
        opacity: 1 !important;
        transform: none !important;
    }
}

@media print {
    .vf-page-loader,
    .navbar,
    .vf-sidebar,
    .vf-topbar,
    .vf-mobile-bottom-nav,
    .btn,
    .card-header,
    .alert {
        display: none !important;
    }

    .vf-admin-content {
        margin-left: 0;
    }

    .card {
        border: none !important;
        box-shadow: none !important;
    }
}
.vf-pagination-nav {
    max-width: 100%;
    overflow-x: hidden;
}

.vf-pagination-nav .pagination {
    row-gap: 0.35rem;
}

.vf-pagination-nav .page-link {
    min-width: 2.15rem;
    text-align: center;
    border-radius: 0.45rem;
}

.vf-pagination-nav .vf-pagination-ellipsis {
    min-width: 1.65rem;
    color: var(--bs-secondary-color);
    background: transparent;
    border-color: transparent;
}

@media (max-width: 575.98px) {
    .vf-pagination-nav .page-link {
        min-width: 1.95rem;
        padding: 0.28rem 0.5rem;
    }
}
@media (max-width: 576px) {
    .vf-report-chart--trend,
    .vf-report-chart--ranking {
        height: 300px;
    }
}