.swal-custom-popup {
    color: black !important;
}

:root {
    --trngo-primary: #2d5e8e;
    --trngo-primary-dark: #21486f;
    --trngo-secondary: #4aa827;
    --trngo-secondary-dark: #37851a;
    --trngo-font: "Outfit", "Segoe UI", sans-serif;
    --trngo-border: #dfe6ec;
    --trngo-surface: #ffffff;
    --trngo-bg: #f4f7fa;
    --admin-sidebar-width: 280px;
    --admin-sidebar-collapsed-width: 70px;
    --admin-topbar-height: 80px;
    --admin-shadow-sm: 0 8px 24px rgba(31, 41, 51, .06);
    --admin-shadow-md: 0 18px 45px rgba(31, 41, 51, .09);
    --admin-font-xs: .8125rem;
    --admin-font-sm: .875rem;
    --admin-font-base: .9375rem;
    --admin-font-md: 1rem;
    --admin-font-lg: 1.125rem;
    --admin-font-xl: 1.375rem;
    --admin-font-2xl: 1.75rem;
}

body,
button,
input,
select,
textarea,
.form-control,
.form-select,
.btn,
.dropdown-menu,
.vertical-menu,
.navbar-header {
    font-family: var(--trngo-font) !important;
}

.swal2-popup {
    font-family: var(--trngo-font) !important;
}

body {
    background: var(--trngo-bg);
}

.cause-toolbar {
    gap: 10px;
}

.cause-form .settings-card-toolbar {
    min-height: 72px;
    align-items: center;
    gap: 10px;
    padding: 15px 24px;
}

.cause-form .settings-card-body {
    padding: 26px 28px 30px;
}

.cause-form .settings-grid > * {
    min-width: 0;
}

.cause-validation-summary {
    margin-bottom: 24px;
}

.cause-validation-summary ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.cause-validation-summary li + li {
    margin-top: 3px;
}

.cause-filters {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 210px 170px auto auto;
    gap: 10px;
    margin-bottom: 22px;
}

.cause-category-list {
    max-height: 330px;
    overflow-y: auto;
    border: 1px solid var(--trngo-border);
    border-radius: 12px;
}

.cause-category-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--trngo-border);
}

.cause-category-row:last-child {
    border-bottom: 0;
}

.cause-repeater-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.cause-repeater-heading h4,
.cause-repeater-heading h5 {
    margin: 0;
}

.cause-repeat-row {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) minmax(220px, 2fr) 42px;
    align-items: start;
    gap: 10px;
    margin-bottom: 10px;
}

.cause-repeat-row--wide {
    grid-template-columns: minmax(0, 1fr) 42px;
}

.cause-existing-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}

.cause-existing-image {
    display: grid;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--trngo-border);
    border-radius: 12px;
    background: #fff;
}

.cause-existing-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.cause-view-hero {
    display: grid;
    grid-template-columns: minmax(240px, 360px) 1fr;
    align-items: center;
    gap: 28px;
}

.cause-view-hero > img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 16px;
}

.cause-view-metrics,
.cause-view-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0;
}

.cause-view-metrics > div,
.cause-view-stat-grid > div {
    display: grid;
    gap: 5px;
    padding: 16px;
    border: 1px solid var(--trngo-border);
    border-radius: 12px;
}

.cause-view-stat-grid span,
.cause-view-metrics small {
    color: #71808f;
}

.cause-view-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--trngo-border);
}

.cause-view-item p {
    margin: 5px 0 0;
}

@media (max-width: 991px) {
    .cause-filters,
    .cause-view-hero {
        grid-template-columns: 1fr;
    }

    .cause-view-metrics,
    .cause-view-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .cause-repeat-row {
        grid-template-columns: 1fr 42px;
    }

    .cause-repeat-row > :nth-child(2):not(button) {
        grid-column: 1;
    }

    .cause-view-metrics,
    .cause-view-stat-grid {
        grid-template-columns: 1fr;
    }
}

/* Professional admin shell */
#page-topbar {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--trngo-border);
    box-shadow: 0 4px 18px rgba(31, 41, 51, .04);
    backdrop-filter: blur(14px);
}

.navbar-header {
    height: var(--admin-topbar-height);
    width: 100%;
    box-sizing: border-box;
    padding: 0;
}

.navbar-brand-box {
    width: var(--admin-sidebar-width);
    height: var(--admin-topbar-height);
    padding: 0 24px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    background: #fff;
    border-right: 1px solid var(--trngo-border);
}

.admin-brand {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 13px;
    color: #172432;
    text-decoration: none;
}

.admin-brand:hover {
    color: #172432;
}

.admin-brand-logo {
    width: 54px;
    height: 46px;
    flex: 0 0 54px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(45, 94, 142, .18);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 7px 18px rgba(45, 94, 142, .12);
}

.admin-brand-logo img {
    width: 100%;
    height: 100%;
    padding: 2px;
    object-fit: contain;
}

.admin-brand-copy {
    display: grid;
    line-height: 1.1;
}

.admin-brand-copy strong {
    font-size: 18px;
    letter-spacing: .04em;
}

.admin-brand-copy small {
    margin-top: 5px;
    color: #71808f;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.admin-topbar-main {
    min-width: 0;
    height: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 26px 0 22px;
}

.admin-topbar-left,
.admin-topbar-actions {
    display: flex;
    align-items: center;
}

.admin-topbar-left {
    min-width: 0;
    gap: 16px;
}

.admin-topbar-actions {
    gap: 12px;
}

.admin-menu-toggle {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #425466;
    background: #f7f9fb;
    border: 1px solid var(--trngo-border);
    border-radius: 12px;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

#vertical-menu-btn.admin-menu-toggle {
    position: relative;
    inset: auto;
    margin-top: 0;
    margin-bottom: 0;
    transform: none;
}

body:not([data-sidebar-size=sm]) #vertical-menu-btn.admin-menu-toggle {
    margin-left: 0;
    margin-right: 0;
}

.admin-menu-toggle:hover,
.admin-menu-toggle:focus-visible {
    color: var(--trngo-primary);
    background: rgba(45, 94, 142, .07);
    border-color: rgba(45, 94, 142, .28);
}

.admin-menu-toggle svg {
    width: 19px;
    height: 19px;
}

.admin-page-context {
    min-width: 0;
}

.admin-page-context h1 {
    margin: 0;
    color: #1d2a36;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.15;
}

.admin-breadcrumb {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #7b8792;
    font-size: 11px;
    font-weight: 600;
}

.admin-breadcrumb a {
    color: var(--trngo-primary);
}

.admin-breadcrumb svg {
    width: 12px;
    height: 12px;
}

.admin-view-site {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
    color: var(--trngo-primary);
    background: rgba(45, 94, 142, .07);
    border: 1px solid rgba(45, 94, 142, .16);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}

.admin-view-site:hover {
    color: var(--trngo-primary-dark);
    background: rgba(45, 94, 142, .12);
    transform: translateY(-1px);
}

.admin-view-site svg {
    width: 16px;
    height: 16px;
}

.admin-user-trigger {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 10px 5px 6px;
    color: #293845;
    background: #fff;
    border: 1px solid var(--trngo-border);
    border-radius: 14px;
    box-shadow: 0 5px 15px rgba(31, 41, 51, .04);
}

.admin-user-trigger > img {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    object-fit: cover;
}

.admin-user-trigger > svg {
    width: 15px;
    height: 15px;
    color: #7c8995;
}

.admin-user-copy {
    min-width: 94px;
    display: grid;
    text-align: left;
    line-height: 1.1;
}

.admin-user-copy strong {
    max-width: 125px;
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-user-copy small {
    margin-top: 4px;
    color: #7c8995;
    font-size: 10px;
    font-weight: 600;
}

.admin-user-menu {
    min-width: 230px;
    padding: 8px;
    border: 1px solid var(--trngo-border);
    border-radius: 14px;
}

.admin-user-menu-header {
    display: grid;
    padding: 10px 12px 8px;
}

.admin-user-menu-header small {
    margin-top: 4px;
    color: #7c8995;
    font-size: 11px;
}

.admin-logout-button {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    color: #b42318;
    border-radius: 9px;
    font-weight: 650;
}

.admin-logout-button:hover {
    color: #912018;
    background: #fff1f0;
}

.admin-logout-button svg {
    width: 16px;
    height: 16px;
}

.vertical-menu {
    top: var(--admin-topbar-height);
    bottom: 0;
    height: calc(100vh - var(--admin-topbar-height));
    width: var(--admin-sidebar-width);
    overflow: hidden;
    background: #fff;
    border-right: 1px solid var(--trngo-border);
    box-shadow: none;
}

.main-content {
    margin-left: var(--admin-sidebar-width);
    width: calc(100% - var(--admin-sidebar-width));
    min-width: 0;
}

.footer {
    left: var(--admin-sidebar-width);
}

.page-content {
    padding-top: calc(var(--admin-topbar-height) + 26px);
}

.vertical-menu > [data-simplebar] {
    height: 100% !important;
}

.vertical-menu .simplebar-mask {
    overflow: hidden !important;
}

.vertical-menu .simplebar-content-wrapper {
    height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(45, 94, 142, .38) transparent;
}

.vertical-menu .simplebar-track.simplebar-vertical {
    right: 2px;
    width: 7px;
}

.vertical-menu .simplebar-scrollbar::before {
    background: rgba(45, 94, 142, .38);
}

#sidebar-menu.admin-sidebar {
    min-height: calc(100vh - var(--admin-topbar-height));
    display: flex;
    flex-direction: column;
    padding: 22px 18px 24px;
}

.admin-sidebar-heading {
    display: grid;
    gap: 3px;
    padding: 0 10px 14px;
}

.admin-sidebar-heading span {
    color: #6d7985;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.admin-sidebar-heading small {
    color: #a0aab3;
    font-size: 11px;
}

#sidebar-menu .admin-sidebar-menu {
    flex: 1;
    width: 100%;
    margin: 0;
    padding: 0;
}

#sidebar-menu .admin-sidebar-menu > li {
    width: 100%;
    margin: 0 0 8px;
}

#sidebar-menu .admin-sidebar-menu > li > a {
    width: 100%;
    min-height: 58px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    column-gap: 13px;
    position: relative;
    overflow: hidden;
    padding: 8px 12px;
    color: #465767;
    border: 1px solid transparent;
    border-radius: 13px;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease,
        box-shadow .2s ease;
}

#sidebar-menu .admin-sidebar-menu > li > a:hover {
    color: var(--trngo-primary);
    background: #f6f9fc;
    border-color: #e5ebf0;
    box-shadow: 0 5px 14px rgba(31, 41, 51, .045);
}

#sidebar-menu .admin-sidebar-menu > li > a.active {
    color: var(--trngo-primary);
    background: #f1f6fa;
    border-color: rgba(45, 94, 142, .17);
    box-shadow: 0 7px 18px rgba(45, 94, 142, .08);
}

#sidebar-menu .admin-sidebar-menu > li > a.active::before {
    content: "";
    width: 3px;
    height: 26px;
    position: absolute;
    left: 0;
    top: 50%;
    border-radius: 0 3px 3px 0;
    background: var(--trngo-primary);
    transform: translateY(-50%);
}

.admin-menu-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    justify-self: start;
    color: #637384;
    background: #f2f5f8;
    border: 1px solid #edf1f4;
    border-radius: 10px;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

a.active .admin-menu-icon {
    color: var(--trngo-primary);
    background: #e5eff8;
    border-color: rgba(45, 94, 142, .12);
    box-shadow: none;
}

#sidebar-menu .admin-menu-icon svg {
    width: 19px;
    height: 19px;
    margin: 0;
    color: inherit;
    stroke-width: 2;
}

.admin-menu-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-menu-copy {
    min-width: 0;
    flex: 1;
    display: grid;
    gap: 4px;
}

.admin-menu-copy strong {
    color: inherit;
    font-size: 14px;
}

.admin-menu-copy small {
    overflow: hidden;
    color: #8a96a1;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-menu-arrow {
    width: 15px !important;
    height: 15px !important;
    color: #9da7b0;
}

.admin-sidebar-support {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 28px;
    padding: 14px;
    color: #dce8f3;
    background: linear-gradient(135deg, #244d75, #193a5a);
    border-radius: 15px;
}

.admin-sidebar-support-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border-radius: 10px;
}

.admin-sidebar-support-icon svg {
    width: 17px;
    height: 17px;
}

.admin-sidebar-support div {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.admin-sidebar-support strong {
    font-size: 12px;
}

.admin-sidebar-support small {
    color: rgba(255, 255, 255, .62);
    font-size: 9px;
}

/* Dashboard landing page */
.dashboard-shell {
    padding-bottom: 30px;
}

.dashboard-page-heading {
    margin-bottom: 20px;
}

.dashboard-page-heading h2 {
    margin: 0;
    color: #22313d;
    font-size: 24px;
    font-weight: 800;
}

.dashboard-welcome {
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    overflow: hidden;
    padding: 36px 40px;
    color: #fff;
    background:
        radial-gradient(circle at 85% 15%, rgba(74, 168, 39, .38), transparent 27%),
        linear-gradient(125deg, #193b5c, #2d5e8e 62%, #397a82);
    border-radius: 24px;
    box-shadow: 0 22px 50px rgba(31, 72, 108, .2);
}

.dashboard-welcome::after {
    content: "";
    width: 230px;
    height: 230px;
    position: absolute;
    right: -70px;
    bottom: -140px;
    border: 36px solid rgba(255, 255, 255, .06);
    border-radius: 50%;
}

.dashboard-welcome-content,
.dashboard-welcome-meta {
    position: relative;
    z-index: 1;
}

.dashboard-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, .72);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.dashboard-eyebrow svg {
    width: 16px;
    height: 16px;
    color: #9bdd78;
}

.dashboard-welcome h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
}

.dashboard-welcome p {
    max-width: 680px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, .75);
    font-size: 15px;
}

.dashboard-welcome-meta {
    min-width: 150px;
    display: grid;
    gap: 5px;
    padding: 17px 20px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.dashboard-welcome-meta span {
    color: rgba(255, 255, 255, .65);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.dashboard-welcome-meta strong {
    color: #fff;
    font-size: 16px;
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: -28px;
    position: relative;
    z-index: 2;
    padding: 0 26px;
}

.dashboard-metric-card {
    min-height: 142px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 24px;
    background: #fff;
    border: 1px solid rgba(223, 230, 236, .9);
    border-radius: 18px;
    box-shadow: var(--admin-shadow-md);
}

.dashboard-metric-copy {
    display: grid;
}

.dashboard-metric-copy span {
    color: #73808d;
    font-size: 12px;
    font-weight: 700;
}

.dashboard-metric-copy strong {
    margin-top: 6px;
    color: #1c2a36;
    font-size: 28px;
    font-weight: 800;
}

.dashboard-metric-copy small {
    margin-top: 4px;
    color: #a0a9b2;
    font-size: 10px;
}

.dashboard-metric-icon,
.dashboard-panel-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    color: var(--trngo-primary);
    background: rgba(45, 94, 142, .08);
    border-radius: 14px;
}

.dashboard-metric-icon svg,
.dashboard-panel-icon svg {
    width: 21px;
    height: 21px;
}

.dashboard-section {
    margin-top: 34px;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--trngo-border);
    border-radius: 22px;
    box-shadow: var(--admin-shadow-sm);
}

.dashboard-section-heading,
.dashboard-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.dashboard-section-heading {
    margin-bottom: 22px;
}

.dashboard-section-kicker {
    display: block;
    margin-bottom: 5px;
    color: var(--trngo-secondary-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.dashboard-section-heading h3,
.dashboard-panel-header h3 {
    margin: 0;
    color: #22313d;
    font-size: 19px;
    font-weight: 800;
}

.dashboard-section-heading p {
    margin: 7px 0 0;
    color: #788591;
    font-size: 13px;
}

.dashboard-section-count {
    flex: 0 0 auto;
    padding: 7px 12px;
    color: var(--trngo-primary);
    background: rgba(45, 94, 142, .07);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 750;
}

.admin-page-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.admin-page-card {
    min-height: 112px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
    padding: 24px;
    color: #2b3945;
    background: linear-gradient(145deg, #fff, #f9fbfc);
    border: 1px solid var(--trngo-border);
    border-radius: 18px;
    text-decoration: none;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.admin-page-card:hover,
.admin-page-card:focus-visible {
    color: #2b3945;
    border-color: rgba(45, 94, 142, .26);
    box-shadow: var(--admin-shadow-md);
    transform: translateY(-4px);
}

.admin-page-card-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    position: relative;
    z-index: 1;
    color: #fff;
    background: var(--trngo-primary);
    border-radius: 15px;
    box-shadow: 0 10px 22px rgba(45, 94, 142, .22);
}

.admin-page-card-icon svg {
    width: 22px;
    height: 22px;
}

.admin-page-card-title {
    color: #22313d;
    font-size: 17px;
    font-weight: 800;
}

.admin-page-card-arrow {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    margin-left: auto;
    color: var(--trngo-primary);
    background: rgba(45, 94, 142, .07);
    border-radius: 10px;
}

.admin-page-card-arrow svg {
    width: 16px;
    height: 16px;
    transition: transform .2s ease;
}

.admin-page-card:hover .admin-page-card-arrow svg {
    transform: translateX(2px);
}

.dashboard-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, .85fr);
    gap: 22px;
    margin-top: 22px;
}

.dashboard-panel {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--trngo-border);
    border-radius: 22px;
    box-shadow: var(--admin-shadow-sm);
}

.dashboard-panel-header {
    padding: 24px 26px;
    border-bottom: 1px solid #edf1f4;
}

.dashboard-panel-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
}

.dashboard-panel-icon--green {
    color: var(--trngo-secondary-dark);
    background: rgba(74, 168, 39, .09);
}

.dashboard-settings-form {
    display: grid;
    gap: 18px;
    padding: 26px;
}

.dashboard-form-field {
    min-width: 0;
}

.dashboard-form-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.dashboard-form-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 2px;
}

.dashboard-login-list {
    padding: 8px 24px 18px;
}

.dashboard-login-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid #edf1f4;
}

.dashboard-login-item:last-child {
    border-bottom: 0;
}

.dashboard-login-avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    color: var(--trngo-primary);
    background: rgba(45, 94, 142, .08);
    border-radius: 11px;
    font-size: 13px;
    font-weight: 800;
}

.dashboard-login-copy {
    min-width: 0;
    flex: 1;
    display: grid;
    gap: 3px;
}

.dashboard-login-copy strong {
    overflow: hidden;
    color: #34424f;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-login-copy small {
    color: #909ba5;
    font-size: 10px;
}

.dashboard-login-item time {
    display: grid;
    gap: 3px;
    color: #697682;
    font-size: 10px;
    text-align: right;
}

.dashboard-login-item time small {
    color: #9aa4ad;
    font-size: 9px;
}

.dashboard-empty-state {
    grid-column: 1 / -1;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    color: #77848f;
    background: #fff;
    border: 1px dashed #cad4dc;
    border-radius: 16px;
    font-size: 13px;
}

.dashboard-empty-state svg {
    width: 19px;
    height: 19px;
}

.dashboard-empty-state--compact {
    min-height: 90px;
    margin-top: 12px;
}

body[data-sidebar-size=sm] {
    min-height: 100vh;
}

body[data-sidebar-size=sm] .navbar-brand-box,
body[data-sidebar-size=sm] .vertical-menu {
    width: var(--admin-sidebar-collapsed-width) !important;
}

body[data-sidebar-size=sm] .main-content {
    width: calc(100% - var(--admin-sidebar-collapsed-width));
    margin-left: var(--admin-sidebar-collapsed-width);
}

body[data-sidebar-size=sm] .footer {
    left: var(--admin-sidebar-collapsed-width);
}

body[data-sidebar-size=sm] .navbar-brand-box {
    padding: 0 13px;
}

body[data-sidebar-size=sm] .admin-brand {
    display: none;
}

body[data-sidebar-size=sm] .admin-brand-copy,
body[data-sidebar-size=sm] .admin-sidebar-heading,
body[data-sidebar-size=sm] .admin-menu-copy,
body[data-sidebar-size=sm] .admin-menu-label,
body[data-sidebar-size=sm] .admin-menu-arrow,
body[data-sidebar-size=sm] .admin-sidebar-support div {
    display: none;
}

body[data-sidebar-size=sm] #sidebar-menu.admin-sidebar {
    padding-inline: 8px;
}

body[data-sidebar-size=sm] .vertical-menu {
    position: fixed;
    top: var(--admin-topbar-height);
    bottom: 0;
    height: calc(100vh - var(--admin-topbar-height));
    z-index: 1001;
}

body[data-sidebar-size=sm] .vertical-menu .simplebar-mask {
    overflow: hidden !important;
}

body[data-sidebar-size=sm] .vertical-menu .simplebar-content-wrapper {
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

body[data-sidebar-size=sm] .vertical-menu .simplebar-scrollbar {
    display: block !important;
}

body[data-sidebar-size=sm] #sidebar-menu .admin-sidebar-menu > li > a {
    display: flex;
    justify-content: center;
    padding-inline: 6px;
}

body[data-sidebar-size=sm] .vertical-menu #sidebar-menu > ul > li > a span.admin-menu-icon,
body[data-sidebar-size=sm] .vertical-menu #sidebar-menu > ul > li:hover > a span.admin-menu-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    margin: 0;
    padding: 0;
}

body[data-sidebar-size=sm] .vertical-menu #sidebar-menu > ul > li > a .admin-menu-icon svg,
body[data-sidebar-size=sm] .vertical-menu #sidebar-menu > ul > li:hover > a .admin-menu-icon svg {
    width: 19px;
    height: 19px;
    margin: 0;
}

body[data-sidebar-size=sm] .vertical-menu #sidebar-menu > ul > li:hover > a {
    width: 100%;
}

body[data-sidebar-size=sm] .vertical-menu #sidebar-menu > ul > li:hover > a span.admin-menu-label {
    display: none;
}

body[data-sidebar-size=sm] #sidebar-menu .admin-sidebar-menu > li > a.active::before {
    left: 0;
}

body[data-sidebar-size=sm] .admin-sidebar-support {
    justify-content: center;
    padding: 10px;
}

@media (max-width: 1199px) {
    .admin-page-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1600px) {
    .admin-page-card-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .navbar-brand-box {
        width: 70px;
        padding: 0 13px;
    }

    .admin-brand-copy {
        display: none;
    }

    .vertical-menu {
        width: var(--admin-sidebar-width);
    }

    .admin-topbar-main {
        padding-right: 15px;
    }

    .main-content {
        width: 100%;
        margin-left: 0;
    }

    body[data-sidebar-size=sm] .main-content {
        width: 100%;
        margin-left: 0;
    }

    .footer {
        left: 0;
    }

    body[data-sidebar-size=sm] .footer {
        left: 0;
    }

    .dashboard-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .admin-page-context h1 {
        font-size: 16px;
    }

    .admin-breadcrumb,
    .admin-view-site span,
    .admin-user-copy {
        display: none;
    }

    .admin-view-site {
        width: 42px;
        padding: 0;
        justify-content: center;
    }

    .admin-user-trigger {
        padding-right: 7px;
    }

    .dashboard-welcome {
        min-height: auto;
        align-items: flex-start;
        padding: 28px;
    }

    .dashboard-welcome-meta {
        display: none;
    }

    .dashboard-metrics {
        margin-top: 18px;
        padding: 0;
    }

    .admin-page-card-grid {
        grid-template-columns: 1fr;
    }
}

/* Home Gallery management */
.gallery-admin-table {
    margin-bottom: 0;
}

.gallery-admin-table th {
    padding: 13px 16px;
    color: #66737f;
    background: #f7f9fb;
    border-bottom-color: var(--trngo-border);
    font-size: var(--admin-font-sm);
    font-weight: 750;
    white-space: nowrap;
}

.gallery-admin-table td {
    padding: 14px 16px;
    color: #34424f;
    border-bottom-color: #edf1f4;
    font-size: var(--admin-font-base);
}

.gallery-admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.gallery-table-image {
    width: 92px;
    height: 62px;
    display: block;
    object-fit: cover;
    border: 1px solid var(--trngo-border);
    border-radius: 10px;
}

.gallery-table-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.gallery-action-button {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--trngo-primary);
    background: rgba(45, 94, 142, .07);
    border: 1px solid rgba(45, 94, 142, .14);
    border-radius: 10px;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.gallery-action-button:hover,
.gallery-action-button:focus-visible {
    color: #fff;
    background: var(--trngo-primary);
    transform: translateY(-1px);
}

.gallery-action-button--danger {
    color: #b42318;
    background: #fff1f0;
    border-color: #ffd3cf;
}

.volunteer-action-button--accept {
    color: #198754;
    border-color: rgba(25, 135, 84, .22);
    background: rgba(25, 135, 84, .06);
}

.volunteer-action-button--accept:hover {
    color: #fff;
    background: #198754;
    border-color: #198754;
}

.volunteer-action-button--reject {
    color: #c2410c;
    border-color: rgba(194, 65, 12, .22);
    background: rgba(194, 65, 12, .06);
}

.volunteer-action-button--reject:hover {
    color: #fff;
    background: #c2410c;
    border-color: #c2410c;
}

.gallery-action-button:disabled {
    cursor: not-allowed;
    opacity: .42;
    box-shadow: none;
}

.volunteer-interest-dropdown {
    max-height: 310px;
    overflow-y: auto;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--trngo-border);
    border-radius: 12px;
    box-shadow: inset 0 1px 2px rgba(31, 41, 51, .03);
}

.volunteer-interest-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px;
    align-items: center;
    gap: 8px;
    padding: 5px;
    border-radius: 9px;
}

.volunteer-interest-option + .volunteer-interest-option {
    border-top: 1px solid #edf1f4;
}

.volunteer-interest-option:hover {
    background: #f6f9fb;
}

.volunteer-interest-option-label {
    min-width: 0;
    padding: 7px 9px;
    overflow: hidden;
    color: #334554;
    background: transparent;
    border: 0;
    font-weight: 600;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.volunteer-interest-delete {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #b42318;
    background: #fff5f4;
    border: 1px solid #ffd8d3;
    border-radius: 8px;
}

.volunteer-interest-delete:hover {
    color: #fff;
    background: #b42318;
    border-color: #b42318;
}

.volunteer-interest-delete svg {
    width: 16px;
    height: 16px;
}

.volunteer-interest-empty {
    padding: 18px 12px;
    color: #7a8792;
    font-size: var(--admin-font-sm);
    text-align: center;
}

.gallery-action-button--danger:hover,
.gallery-action-button--danger:focus-visible {
    color: #fff;
    background: #b42318;
}

.gallery-action-button svg {
    width: 17px;
    height: 17px;
}

.gallery-modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(31, 41, 51, .2);
}

.gallery-modal-content .modal-header,
.gallery-modal-content .modal-footer {
    padding: 18px 22px;
    border-color: #edf1f4;
}

.gallery-modal-content .modal-body {
    padding: 22px;
}

.gallery-modal-content .modal-title {
    color: #25313c;
    font-size: var(--admin-font-lg);
    font-weight: 800;
}

.category-combobox {
    position: relative;
}

.category-combobox-input {
    padding-right: 46px;
}

.category-combobox.is-invalid .category-combobox-input {
    border-color: #dc3545;
}

.category-combobox-toggle {
    position: absolute;
    z-index: 2;
    top: 1px;
    right: 1px;
    width: 44px;
    height: calc(100% - 2px);
    display: grid;
    place-items: center;
    padding: 0;
    color: #536273;
    background: transparent;
    border: 0;
    border-radius: 0 8px 8px 0;
}

.category-combobox-toggle:hover,
.category-combobox-toggle:focus-visible {
    color: var(--trngo-primary);
    background: #f2f7fc;
}

.category-combobox-toggle svg {
    width: 18px;
    height: 18px;
}

.category-combobox-menu {
    position: absolute;
    z-index: 1080;
    bottom: calc(100% + 7px);
    right: 0;
    left: 0;
    max-height: 220px;
    overflow-y: auto;
    padding: 6px;
    background: #fff;
    border: 1px solid #d9e2ea;
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(31, 41, 51, .16);
}

.category-combobox-option-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-radius: 7px;
    transition: background 0.15s ease;
}

.category-combobox-option-row:hover,
.category-combobox-option-row:focus-within {
    background: #edf6ff;
}

.category-combobox-option-row .category-combobox-option {
    flex: 1 1 auto;
    min-width: 0;
}

.category-combobox-delete-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    margin-right: 4px;
    color: #e63946;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
}

.category-combobox-delete-btn:hover,
.category-combobox-delete-btn:focus-visible {
    color: #d90429;
    background: #fde8e8;
}

.category-combobox-delete-btn svg {
    width: 15px;
    height: 15px;
    stroke-width: 2px;
}

.category-combobox-option {
    width: 100%;
    display: block;
    padding: 10px 12px;
    color: #34424f;
    font-size: var(--admin-font-sm);
    font-weight: 600;
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: 7px;
}

.category-combobox-option:hover,
.category-combobox-option:focus-visible,
.category-combobox-option.is-active {
    color: #165a96;
    background: #edf6ff;
}

.category-combobox-option--add {
    color: #1769aa;
}

.category-combobox-plus {
    display: inline-grid;
    width: 20px;
    height: 20px;
    place-items: center;
    margin-right: 5px;
    color: #fff;
    line-height: 1;
    background: #2185d0;
    border-radius: 50%;
}

.category-combobox-empty {
    padding: 10px 12px;
    color: #7b8792;
    font-size: var(--admin-font-sm);
}

.gallery-modal-preview {
    width: 100%;
    max-height: 460px;
    display: block;
    object-fit: contain;
    background: #f4f7fa;
    border-radius: 14px;
}

.gallery-preview-title {
    margin: 18px 0 0;
    color: #25313c;
    font-size: var(--admin-font-lg);
    font-weight: 750;
    text-align: center;
}

.gallery-preview-category {
    margin: 7px 0 0;
    color: #7b8792;
    font-size: var(--admin-font-sm);
    font-weight: 650;
    text-align: center;
}

.gallery-edit-preview {
    width: 100%;
    height: 190px;
    display: block;
    object-fit: cover;
    margin-bottom: 18px;
    border: 1px solid var(--trngo-border);
    border-radius: 13px;
}

.gallery-delete-message {
    margin: 0;
    color: #34424f;
    font-size: var(--admin-font-base);
    text-align: center;
}

/* Home Testimonials management */
.testimonial-admin-table {
    min-width: 1050px;
}

.testimonial-table-text {
    width: min(360px, 32vw);
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #536273;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.testimonial-table-stars,
.testimonial-preview-stars {
    color: #f5a623;
    letter-spacing: 2px;
    white-space: nowrap;
}

.testimonial-preview {
    position: relative;
    padding-top: 38px !important;
    text-align: center;
}

.testimonial-preview-quote {
    position: absolute;
    top: 8px;
    left: 22px;
    color: rgba(45, 94, 142, .15);
    font-family: Georgia, serif;
    font-size: 70px;
    line-height: 1;
}

.testimonial-preview-text {
    margin: 18px 0 22px;
    color: #34424f;
    font-size: var(--admin-font-base);
    line-height: 1.7;
}

.testimonial-preview-author {
    margin: 0;
    color: #25313c;
    font-size: var(--admin-font-lg);
    font-weight: 800;
}

.testimonial-preview-role {
    margin: 5px 0 0;
    color: #7b8792;
    font-size: var(--admin-font-sm);
}

.testimonial-pagination .pagination {
    margin-bottom: 0;
}

.testimonial-pagination .page-link {
    min-width: 38px;
    min-height: 38px;
    display: grid;
    place-items: center;
    color: var(--trngo-primary);
    font-weight: 650;
    border-color: #dce4eb;
}

.testimonial-pagination .page-item.active .page-link {
    color: #fff;
    background: var(--trngo-primary);
    border-color: var(--trngo-primary);
}

/* Blog management */
.blog-scrollable-modal .gallery-modal-content {
    height: min(900px, calc(100dvh - 2rem));
    max-height: calc(100dvh - 2rem);
}

.blog-scrollable-modal .gallery-modal-content > form {
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.blog-scrollable-modal .modal-header,
.blog-scrollable-modal .modal-footer {
    flex: 0 0 auto;
}

.blog-scrollable-modal .modal-body {
    min-height: 0;
    flex: 1 1 auto;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
}

.blog-admin-table {
    min-width: 1120px;
}

.blog-table-title {
    width: min(330px, 28vw);
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #34424f;
    font-weight: 700;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.blog-edit-preview,
.blog-preview-image {
    width: 100%;
    display: block;
    object-fit: cover;
    border: 1px solid var(--trngo-border);
    border-radius: 14px;
}

.blog-edit-preview {
    height: 230px;
    margin-bottom: 20px;
}

.blog-preview-image {
    max-height: 380px;
}

.blog-preview-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin: 18px 0 12px;
    color: #6f7d89;
    font-size: var(--admin-font-sm);
    font-weight: 650;
}

.blog-preview-title {
    margin: 0 0 12px;
    color: #25313c;
    font-size: 1.55rem;
    font-weight: 800;
}

.blog-preview-description {
    color: #536273;
    font-size: var(--admin-font-base);
    font-weight: 650;
    line-height: 1.65;
}

.blog-preview-content p {
    color: #536273;
    line-height: 1.75;
}

.blog-preview-quote {
    margin: 20px 0 0;
    padding: 16px 20px;
    color: #2d5e8e;
    background: #f2f7fc;
    border-left: 4px solid var(--trngo-primary);
    border-radius: 8px;
    font-weight: 650;
}

@media (max-width: 575px) {
    .blog-scrollable-modal {
        margin: .5rem;
    }

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

@media (max-width: 575px) {
    .admin-topbar-main {
        gap: 8px;
        padding-left: 10px;
    }

    .admin-topbar-left {
        gap: 9px;
    }

    .admin-topbar-actions {
        gap: 7px;
    }

    .admin-view-site {
        display: none;
    }

    .dashboard-welcome,
    .dashboard-section,
    .dashboard-panel-header,
    .dashboard-settings-form {
        padding: 22px;
    }

    .dashboard-metrics,
    .dashboard-form-metrics {
        grid-template-columns: 1fr;
    }

    .dashboard-section-heading {
        align-items: flex-start;
    }

    .dashboard-section-count {
        display: none;
    }

    .dashboard-login-list {
        padding-inline: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .admin-page-card,
    .admin-page-card-arrow svg,
    #sidebar-menu .admin-sidebar-menu > li > a,
    .admin-view-site {
        transition: none;
    }
}

.btn-primary {
    background-color: var(--trngo-primary);
    border-color: var(--trngo-primary);
}

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

.btn-success {
    background-color: var(--trngo-secondary);
    border-color: var(--trngo-secondary);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--trngo-primary);
    box-shadow: 0 0 0 .2rem rgba(45, 94, 142, .14);
}

.home-settings-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
}

.home-settings-icon {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: var(--trngo-primary);
    background: rgba(45, 94, 142, .09);
    border: 1px solid rgba(45, 94, 142, .18);
}

.home-settings-header h2 {
    margin: 0;
    color: #1f2933;
    font-weight: 800;
}

.home-settings-header p {
    margin: 5px 0 0;
    color: #66737f;
}

.home-settings-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--trngo-border);
    margin-bottom: 28px;
}

.home-tab-button {
    appearance: none;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    padding: 14px 24px;
    color: #52606d;
    font-weight: 700;
}

.home-tab-button:hover {
    color: var(--trngo-primary);
}

.home-tab-button.active {
    color: var(--trngo-primary);
    border-bottom-color: var(--trngo-secondary);
    background: rgba(74, 168, 39, .06);
}

.home-tab-panel {
    display: none;
}

.home-tab-panel.active {
    display: block;
}

.settings-card {
    background: var(--trngo-surface);
    border: 1px solid var(--trngo-border);
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(31, 41, 51, .06);
    overflow: hidden;
}

.settings-card-toolbar {
    display: flex;
    justify-content: flex-end;
    padding: 22px 26px;
    border-bottom: 1px solid var(--trngo-border);
}

.settings-card-body {
    padding: 28px;
}

.settings-section {
    padding-bottom: 26px;
    margin-bottom: 26px;
    border-bottom: 1px solid #edf1f4;
}

.settings-section:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.settings-section h4 {
    color: #25313c;
    font-weight: 750;
    margin-bottom: 20px;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.settings-grid .full-width {
    grid-column: 1 / -1;
}

.form-label {
    color: #34424f;
    font-weight: 650;
}

.field-help {
    color: #7b8792;
    font-size: 12px;
    margin-top: 5px;
}

.image-preview {
    display: block;
    width: 180px;
    height: 115px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--trngo-border);
    margin-bottom: 10px;
}

.program-editor {
    border: 1px solid var(--trngo-border);
    border-left: 4px solid var(--trngo-secondary);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
    background: #fbfcfd;
}

.program-editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.program-editor-header h5 {
    margin: 0;
    color: var(--trngo-primary);
    font-weight: 750;
}

.impact-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.impact-metric-editor {
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--trngo-border);
    border-top: 4px solid var(--trngo-secondary);
    border-radius: 14px;
    background: #fbfcfd;
}

.impact-metric-editor h5 {
    margin: 0;
    color: var(--trngo-primary);
    font-weight: 750;
}

.required-mark {
    color: #dc3545;
}

@media (max-width: 767px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }

    .impact-metrics-grid {
        grid-template-columns: 1fr;
    }

    .home-settings-tabs {
        overflow-x: auto;
    }

    .home-tab-button {
        white-space: nowrap;
        padding-inline: 16px;
    }

    .settings-card-body {
        padding: 20px;
    }
}

.dropzone {
    background: #fff;
    border: 2px dashed #e2e5e8;
    border-radius: 6px;
    min-height: 230px
}

.dropzone .dz-message {
    font-size: 24px;
    width: 100%
}

.preview-container {
    max-width: 180px;
    height: 180px;
    border: 3px dashed rgba(0, 251, 255, 0.325);
    border-radius: 5px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.35s;
}

.preview-container img {
    object-fit: cover;
    max-width: 100%;
    height: 120px;
}

form#addProductForm .dropzone {
    min-height: auto !important;
}

/* Professional typography scale */
body {
    font-size: var(--admin-font-base);
    line-height: 1.55;
}

.admin-brand-copy strong {
    font-size: 1.25rem;
}

.admin-brand-copy small {
    font-size: var(--admin-font-xs);
    line-height: 1.2;
}

.admin-page-context h1 {
    font-size: var(--admin-font-xl);
    line-height: 1.2;
}

.admin-user-copy strong {
    font-size: var(--admin-font-base);
}

.admin-user-menu,
.admin-logout-button {
    font-size: var(--admin-font-sm);
}

#sidebar-menu .admin-sidebar-menu > li > a {
    font-size: var(--admin-font-base);
}

.admin-menu-label {
    color: inherit;
    font-size: var(--admin-font-base);
    font-weight: 700;
    line-height: 1.3;
}

.dashboard-page-heading h2 {
    font-size: 1.625rem;
    line-height: 1.25;
}

.admin-page-card-title {
    font-size: var(--admin-font-lg);
    line-height: 1.3;
}

.home-settings-header h2 {
    font-size: var(--admin-font-2xl);
    line-height: 1.25;
}

.home-settings-header p {
    font-size: var(--admin-font-base);
    line-height: 1.55;
}

.home-tab-button {
    font-size: var(--admin-font-base);
    line-height: 1.35;
}

.settings-section h4 {
    font-size: var(--admin-font-lg);
    line-height: 1.35;
}

.program-editor-header h5,
.impact-metric-editor h5 {
    font-size: var(--admin-font-md);
    line-height: 1.35;
}

.form-label {
    font-size: var(--admin-font-sm);
    line-height: 1.4;
}

.form-control,
.form-select {
    min-height: 44px;
    font-size: var(--admin-font-base);
    line-height: 1.45;
}

textarea.form-control {
    min-height: 84px;
}

.field-help,
.invalid-feedback {
    font-size: var(--admin-font-xs);
    line-height: 1.45;
}

.btn,
.dropdown-item,
.alert {
    font-size: var(--admin-font-sm);
    line-height: 1.45;
}

.settings-card-toolbar .btn {
    min-height: 42px;
    font-weight: 700;
}

.swal2-popup .swal2-title {
    font-size: var(--admin-font-base) !important;
    line-height: 1.4 !important;
}

.footer {
    font-size: var(--admin-font-sm);
}

@media (max-width: 767px) {
    .admin-page-context h1 {
        font-size: var(--admin-font-lg);
    }

    .dashboard-page-heading h2,
    .home-settings-header h2 {
        font-size: 1.5rem;
    }

    .home-tab-button,
    #sidebar-menu .admin-sidebar-menu > li > a,
    .admin-menu-label {
        font-size: var(--admin-font-sm);
    }

    .form-control,
    .form-select {
        font-size: var(--admin-font-md);
    }
}
