:root {
    --fito-header-green-950: #082f22;
    --fito-header-green-900: #0d5a3f;
    --fito-header-green-800: #10744f;
    --fito-header-green-700: #159565;
    --fito-header-gold: #d6a93b;
    --fito-header-ink: #13231d;
    --fito-header-muted: #60736b;
}

.navbar.navbar-light.bg-light {
    min-height: 64px;
    padding: 7px 20px;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(8, 78, 52, .96), rgba(18, 110, 76, .86)),
        linear-gradient(90deg, rgba(214, 169, 59, .16), rgba(255, 255, 255, .08)) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 18px 52px rgba(8, 47, 34, .24);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    position: relative;
    z-index: 5000;
}

.navbar.navbar-light .navbar-brand {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.navbar.navbar-light .navbar-brand img {
    width: 28px;
    height: 28px;
}

body {
    color: var(--fito-header-ink);
    background-image:
        radial-gradient(circle at 12% 16%, rgba(214, 169, 59, .16), transparent 28%),
        radial-gradient(circle at 88% 20%, rgba(23, 107, 79, .12), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f7fbf8 48%, #eef7f1 100%) !important;
    background-attachment: fixed;
}

body > .container,
body > .container-fluid {
    position: relative;
}

body > .container {
    max-width: 1240px;
    margin-top: 22px;
    margin-bottom: 30px;
    padding: 20px 22px 26px;
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .76), rgba(255, 255, 255, .48)),
        linear-gradient(320deg, rgba(23, 107, 79, .06), rgba(214, 169, 59, .05));
    border: 1px solid rgba(255, 255, 255, .82);
    box-shadow: 0 24px 70px rgba(15, 63, 47, .10);
    backdrop-filter: blur(20px) saturate(145%);
    -webkit-backdrop-filter: blur(20px) saturate(145%);
}

body > .container:has(> .navbar.navbar-light.bg-light) {
    max-width: none;
    width: 100%;
    margin-top: 0;
    padding: 0 12px 28px;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body > .container > .navbar.navbar-light.bg-light,
body > .container-fluid > .navbar.navbar-light.bg-light {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    margin-left: calc(50% - 50vw + 12px);
    margin-right: calc(50% - 50vw + 12px);
    margin-top: 0;
    margin-bottom: 20px;
}

body > .container-fluid {
    padding: 1px 14px 22px;
    background: transparent !important;
}

h1,
h2,
h3,
h4,
h5 {
    color: var(--fito-header-green-950);
    font-weight: 800;
}

h1 {
    margin-top: 24px;
    margin-bottom: 16px;
    font-size: 1.85rem;
}

form,
.informer {
    padding: 14px;
    margin: 12px 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, .74) !important;
    border: 1px solid rgba(255, 255, 255, .78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .92), 0 12px 34px rgba(15, 63, 47, .07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.form-control,
.custom-select {
    border-radius: 8px;
    border-color: rgba(15, 63, 47, .16);
    background-color: rgba(255, 255, 255, .88);
}

.form-control:focus,
.custom-select:focus {
    border-color: rgba(23, 107, 79, .48);
    box-shadow: 0 0 0 4px rgba(23, 107, 79, .12);
}

.btn,
.page-link {
    border-radius: 8px;
    font-weight: 750;
}

.btn-primary,
.page-item.active .page-link {
    color: #fff;
    background: linear-gradient(135deg, var(--fito-header-green-900), var(--fito-header-green-700));
    border-color: var(--fito-header-green-800);
    box-shadow: 0 10px 22px rgba(15, 63, 47, .18);
}

.btn-primary:hover,
.btn-primary:focus {
    color: #fff;
    background: linear-gradient(135deg, var(--fito-header-green-950), var(--fito-header-green-700));
    border-color: var(--fito-header-green-900);
}

.breadcrumb {
    border-radius: 8px;
    background: rgba(255, 255, 255, .66) !important;
    border: 1px solid rgba(15, 63, 47, .10);
    box-shadow: 0 10px 26px rgba(15, 63, 47, .06);
}

.table-sm {
    overflow: hidden;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, .82) !important;
    box-shadow: 0 16px 44px rgba(15, 63, 47, .08);
}

.table-bordered,
.table-bordered td,
.table-bordered th {
    border-color: rgba(15, 63, 47, .12);
}

.table th {
    color: #ffffff;
    background: linear-gradient(135deg, var(--fito-header-green-900), var(--fito-header-green-800)) !important;
    border-color: rgba(255, 255, 255, .14);
}

.table-sm td {
    vertical-align: middle;
    background-color: rgba(255, 255, 255, .72);
}

.table form {
    display: inline;
    padding: 0;
    margin: 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.table .status-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    line-height: 1;
}

.table .status-badge,
.table .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 3px 8px;
    border-radius: 7px;
    line-height: 1.1;
    white-space: nowrap;
    vertical-align: middle;
}

.table .status-date {
    display: inline-block;
    margin-left: 6px;
    white-space: nowrap;
    vertical-align: middle;
}

.table-sm tr:hover td {
    background-color: rgba(232, 244, 238, .78);
}

.page-link {
    color: var(--fito-header-green-800);
    border-color: rgba(15, 63, 47, .13);
    background: rgba(255, 255, 255, .72);
}

.alert {
    border-radius: 8px;
}

.navbar.navbar-light .navbar-nav {
    gap: 3px;
}

.navbar.navbar-light .navbar-nav .nav-link {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 12px;
    color: rgba(255, 255, 255, .76);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.2;
    transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}

.navbar.navbar-light .navbar-nav .nav-link:hover,
.navbar.navbar-light .navbar-nav .nav-link:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, .14);
    text-decoration: none;
}

.navbar.navbar-light .navbar-nav .show > .nav-link,
.navbar.navbar-light .navbar-nav .active > .nav-link {
    color: #ffffff;
    background: rgba(255, 255, 255, .18);
}

.navbar.navbar-light .navbar-toggler {
    min-height: 40px;
    border-color: rgba(255, 255, 255, .24);
    border-radius: 8px;
    background: rgba(255, 255, 255, .18);
}

.navbar.navbar-light .navbar-toggler-icon {
    filter: invert(1) brightness(1.6);
}

.navbar.navbar-light .navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(23, 107, 79, .12);
}

.navbar .dropdown-menu {
    padding: 9px;
    border-radius: 14px;
    border: 1px solid rgba(15, 63, 47, .12);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 24px 64px rgba(8, 47, 34, .22);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    z-index: 6000;
}

.navbar .dropdown,
.navbar .dropdown-submenu {
    position: relative;
}

.navbar .dropdown-item {
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 10px;
    color: var(--fito-header-green-900);
    font-size: 14px;
    font-weight: 650;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background: rgba(232, 244, 238, .88);
    color: var(--fito-header-green-950);
}

.navbar .dropdown-divider {
    border-top-color: rgba(15, 63, 47, .10);
    margin: 6px 4px;
}

.navbar .dropdown-submenu > .dropdown-toggle::after {
    color: var(--fito-header-green-700);
}

@media (max-width: 991.98px) {
    .navbar.navbar-light.bg-light {
        padding: 8px 12px;
    }

    .navbar.navbar-light .navbar-collapse {
        margin-top: 12px;
        padding: 10px;
        border-radius: 14px;
        background: rgba(255, 255, 255, .12);
        border: 1px solid rgba(255, 255, 255, .16);
    }

    .navbar.navbar-light .navbar-nav .nav-link {
        width: 100%;
        justify-content: space-between;
    }

    .navbar .dropdown-menu {
        box-shadow: none;
        background: rgba(255, 255, 255, .70);
    }
}
