html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #C1C1C1;
}

a, .btn-link {
    color: #006bb7;
}

.btn text-white {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.modal-bg {
    background-color: #DFDFDF;
}

.navbar-custom {
    background-color: #707271;
}

.nav-link-whitesmoke {
    color: whitesmoke;
    font-weight: bold;
}

.modalbody {
    padding: 0px;
}

.nav-tabs .nav-item .nav-link {
    color: #FFF;
}

    .nav-tabs .nav-item .nav-link.active {
        color: #000000;
    }

.tab-content {
    border: 1px solid #dee2e6;
    border-top: transparent;
}

    .tab-content .tab-pane {
        background-color: #FFF;
        color: #0080FF;
        min-height: 200px;
        height: auto;
    }

/* Base Colors */
.bg-red {
    --bs-table-bg: hsl(0, 35%, 43%);
    background-color: hsl(0, 35%, 43%);
}

/* Darker Variations (120% to 90%) */
.bg-red-120 {
    background-color: hsl(0, 35%, 23%);
}

.bg-red-115 {
    background-color: hsl(0, 35%, 28%);
}

.bg-red-110 {
    background-color: hsl(0, 35%, 33%);
}

.bg-red-105 {
    background-color: hsl(0, 35%, 38%);
}

.bg-red-100 {
    background-color: hsl(0, 35%, 43%);
}
/* This is your base color */
.bg-red-95 {
    background-color: hsl(0, 35%, 48%);
}

.bg-red-90 {
    background-color: hsl(0, 35%, 53%);
}

/*Repeat for each color in 5% increments */

/* Lighter Variations (80% to 10%) */
.bg-red-80 {
    background-color: hsl(0, 35%, 63%);
}

.bg-red-75 {
    background-color: hsl(0, 35%, 68%);
}

.bg-red-70 {
    background-color: hsl(0, 35%, 73%);
}

.bg-red-65 {
    background-color: hsl(0, 35%, 78%);
}

.bg-red-60 {
    background-color: hsl(0, 35%, 83%);
}

.bg-red-55 {
    background-color: hsl(0, 35%, 88%);
}

.bg-red-50 {
    background-color: hsl(0, 35%, 93%);
}

.bg-red-45 {
    background-color: hsl(0, 35%, 98%);
}
/* White, as 93% + 5% goes above 100 */
.bg-red-40 {
    background-color: hsl(0, 35%, 98%);
}
/* White */
.bg-red-35 {
    background-color: hsl(0, 35%, 98%);
}
/* White */
.bg-red-30 {
    background-color: hsl(0, 35%, 98%);
}
/* White */
.bg-red-25 {
    background-color: hsl(0, 35%, 98%);
}
/* White */
.bg-red-20 {
    background-color: hsl(0, 35%, 98%);
}
/* White */
.bg-red-15 {
    background-color: hsl(0, 35%, 98%);
}
/* White */
.bg-red-10 {
    background-color: hsl(0, 35%, 98%);
}
/* White */

/* Repeat for each color in 5% increments */

/* Base Color - Green */
.bg-green {
    --bs-table-bg: hsl(150, 21%, 47%);
    background-color: hsl(150, 21%, 47%);
}

/* Darker Variations (120% to 90%) */
.bg-green-120 {
    background-color: hsl(150, 21%, 27%);
}

.bg-green-115 {
    background-color: hsl(150, 21%, 32%);
}

.bg-green-110 {
    background-color: hsl(150, 21%, 37%);
}

.bg-green-105 {
    background-color: hsl(150, 21%, 42%);
}

.bg-green-100 {
    background-color: hsl(150, 21%, 47%);
}
/* This is your base color */
.bg-green-95 {
    background-color: hsl(150, 21%, 52%);
}

.bg-green-90 {
    background-color: hsl(150, 21%, 57%);
}

/* Lighter Variations (80% to 10%) */
.bg-green-80 {
    background-color: hsl(150, 21%, 67%);
}

.bg-green-75 {
    background-color: hsl(150, 21%, 72%);
}

.bg-green-70 {
    background-color: hsl(150, 21%, 77%);
}

.bg-green-65 {
    background-color: hsl(150, 21%, 82%);
}

.bg-green-60 {
    background-color: hsl(150, 21%, 87%);
}

.bg-green-55 {
    background-color: hsl(150, 21%, 92%);
}

.bg-green-50 {
    background-color: hsl(150, 21%, 97%);
}

.bg-green-45 {
    background-color: hsl(150, 21%, 100%);
}
/* White, as 97% + 3% goes above 100 */
.bg-green-40 {
    background-color: hsl(150, 21%, 100%);
}
/* White */
.bg-green-35 {
    background-color: hsl(150, 21%, 100%);
}
/* White */
.bg-green-30 {
    background-color: hsl(150, 21%, 100%);
}
/* White */
.bg-green-25 {
    background-color: hsl(150, 21%, 100%);
}
/* White */
.bg-green-20 {
    background-color: hsl(150, 21%, 100%);
}
/* White */
.bg-green-15 {
    background-color: hsl(150, 21%, 100%);
}
/* White */
.bg-green-10 {
    background-color: hsl(150, 21%, 100%);
}
/* White */

/* Base Color - ECE Green */
.bg-ECEgreen {
    --bs-table-bg: hsl(81, 50%, 55%);
    background-color: hsl(81, 50%, 55%);
}

/* Darker Variations (120% to 90%) */
.bg-ECEgreen-120 {
    background-color: hsl(81, 50%, 35%);
}

.bg-ECEgreen-115 {
    background-color: hsl(81, 50%, 40%);
}

.bg-ECEgreen-110 {
    background-color: hsl(81, 50%, 45%);
}

.bg-ECEgreen-105 {
    background-color: hsl(81, 50%, 50%);
}

.bg-ECEgreen-100 {
    background-color: hsl(81, 50%, 55%);
}
/* This is your base color */
.bg-ECEgreen-95 {
    background-color: hsl(81, 50%, 60%);
}

.bg-ECEgreen-90 {
    background-color: hsl(81, 50%, 65%);
}

/* Lighter Variations (80% to 10%) */
.bg-ECEgreen-80 {
    background-color: hsl(81, 50%, 75%);
}

.bg-ECEgreen-75 {
    background-color: hsl(81, 50%, 80%);
}

.bg-ECEgreen-70 {
    background-color: hsl(81, 50%, 85%);
}

.bg-ECEgreen-65 {
    background-color: hsl(81, 50%, 90%);
}

.bg-ECEgreen-60 {
    background-color: hsl(81, 50%, 95%);
}

.bg-ECEgreen-55 {
    background-color: hsl(81, 50%, 100%);
}
/* White, as 95% + 5% goes above 100 */
.bg-ECEgreen-50 {
    background-color: hsl(81, 50%, 100%);
}
/* White */
.bg-ECEgreen-45 {
    background-color: hsl(81, 50%, 100%);
}
/* White */
.bg-ECEgreen-40 {
    background-color: hsl(81, 50%, 100%);
}
/* White */
.bg-ECEgreen-35 {
    background-color: hsl(81, 50%, 100%);
}
/* White */
.bg-ECEgreen-30 {
    background-color: hsl(81, 50%, 100%);
}
/* White */
.bg-ECEgreen-25 {
    background-color: hsl(81, 50%, 100%);
}
/* White */
.bg-ECEgreen-20 {
    background-color: hsl(81, 50%, 100%);
}
/* White */
.bg-ECEgreen-15 {
    background-color: hsl(81, 50%, 100%);
}
/* White */
.bg-ECEgreen-10 {
    background-color: hsl(81, 50%, 100%);
}
/* White */

/* Base Color - ECE Gray */
.bg-ECEgray {
    --bs-table-bg: hsl(0, 1%, 44%);
    background-color: hsl(0, 1%, 44%);
}

/* Darker Variations (120% to 90%) */
.bg-ECEgray-120 {
    background-color: hsl(0, 1%, 24%);
}

.bg-ECEgray-115 {
    background-color: hsl(0, 1%, 29%);
}

.bg-ECEgray-110 {
    background-color: hsl(0, 1%, 34%);
}

.bg-ECEgray-105 {
    background-color: hsl(0, 1%, 39%);
}

.bg-ECEgray-100 {
    background-color: hsl(0, 1%, 44%);
}
/* This is your base color */
.bg-ECEgray-95 {
    background-color: hsl(0, 1%, 49%);
}

.bg-ECEgray-90 {
    background-color: hsl(0, 1%, 54%);
}

/* Lighter Variations (80% to 10%) */
.bg-ECEgray-80 {
    background-color: hsl(0, 1%, 64%);
}

.bg-ECEgray-75 {
    background-color: hsl(0, 1%, 69%);
}

.bg-ECEgray-70 {
    background-color: hsl(0, 1%, 74%);
}

.bg-ECEgray-65 {
    background-color: hsl(0, 1%, 79%);
}

.bg-ECEgray-60 {
    background-color: hsl(0, 1%, 84%);
}

.bg-ECEgray-55 {
    background-color: hsl(0, 1%, 89%);
}

.bg-ECEgray-50 {
    background-color: hsl(0, 1%, 94%);
}

.bg-ECEgray-45 {
    background-color: hsl(0, 1%, 99%);
}

.bg-ECEgray-40 {
    background-color: hsl(0, 1%, 100%);
}
/* White */
.bg-ECEgray-35 {
    background-color: hsl(0, 1%, 100%);
}
/* White */
.bg-ECEgray-30 {
    background-color: hsl(0, 1%, 100%);
}
/* White */
.bg-ECEgray-25 {
    background-color: hsl(0, 1%, 100%);
}
/* White */
.bg-ECEgray-20 {
    background-color: hsl(0, 1%, 100%);
}
/* White */
.bg-ECEgray-15 {
    background-color: hsl(0, 1%, 100%);
}
/* White */
.bg-ECEgray-10 {
    background-color: hsl(0, 1%, 100%);
}
/* White */

/* Base Color - ECE Blue */
.bg-ECEblue {
    --bs-table-bg: hsl(195 100% 18%);
    background-color: hsl(195, 100%, 18%);
}
/* Adjusted from #003a5d */

/* Darker Variations (120% to 90%) */
.bg-ECEblue-120 {
    background-color: hsl(195, 100%, 0%);
}
/* Black, as 18% - 20% goes below 0 */
.bg-ECEblue-115 {
    background-color: hsl(195, 100%, 3%);
}

.bg-ECEblue-110 {
    background-color: hsl(195, 100%, 8%);
}

.bg-ECEblue-105 {
    background-color: hsl(195, 100%, 13%);
}

.bg-ECEblue-100 {
    background-color: hsl(195, 100%, 18%);
}
/* Base Color */
.bg-ECEblue-95 {
    background-color: hsl(195, 100%, 23%);
}

.bg-ECEblue-90 {
    background-color: hsl(195, 100%, 28%);
}

/* Lighter Variations (80% to 10%) */
.bg-ECEblue-80 {
    background-color: hsl(195, 100%, 38%);
}

.bg-ECEblue-75 {
    background-color: hsl(195, 100%, 43%);
}

.bg-ECEblue-70 {
    background-color: hsl(195, 100%, 48%);
}

.bg-ECEblue-65 {
    background-color: hsl(195, 100%, 53%);
}

.bg-ECEblue-60 {
    background-color: hsl(195, 100%, 58%);
}

.bg-ECEblue-55 {
    background-color: hsl(195, 100%, 63%);
}

.bg-ECEblue-50 {
    background-color: hsl(195, 100%, 68%);
}

.bg-ECEblue-45 {
    background-color: hsl(195, 100%, 73%);
}

.bg-ECEblue-40 {
    background-color: hsl(195, 100%, 78%);
}

.bg-ECEblue-35 {
    background-color: hsl(195, 100%, 83%);
}

.bg-ECEblue-30 {
    background-color: hsl(195, 100%, 88%);
}

.bg-ECEblue-25 {
    background-color: hsl(195, 100%, 93%);
}

.bg-ECEblue-20 {
    background-color: hsl(195, 100%, 98%);
}

.bg-ECEblue-15 {
    background-color: hsl(195, 100%, 100%);
}
/* White */
.bg-ECEblue-10 {
    background-color: hsl(195, 100%, 100%);
}
/* White */


/* Base Color - ECE Orange */
.bg-ECEorange {
    --bs-table-bg: hsl(34, 100%, 47%);
    background-color: hsl(34, 100%, 47%);
}

/* Darker Variations (120% to 90%) */
.bg-ECEorange-120 {
    background-color: hsl(34, 100%, 27%);
}

.bg-ECEorange-115 {
    background-color: hsl(34, 100%, 32%);
}

.bg-ECEorange-110 {
    background-color: hsl(34, 100%, 37%);
}

.bg-ECEorange-105 {
    background-color: hsl(34, 100%, 42%);
}

.bg-ECEorange-100 {
    background-color: hsl(34, 100%, 47%);
}
/* Base Color */
.bg-ECEorange-95 {
    background-color: hsl(34, 100%, 52%);
}

.bg-ECEorange-90 {
    background-color: hsl(34, 100%, 57%);
}

/* Lighter Variations (80% to 10%) */
.bg-ECEorange-80 {
    background-color: hsl(34, 100%, 67%);
}

.bg-ECEorange-75 {
    background-color: hsl(34, 100%, 72%);
}

.bg-ECEorange-70 {
    background-color: hsl(34, 100%, 77%);
}

.bg-ECEorange-65 {
    background-color: hsl(34, 100%, 82%);
}

.bg-ECEorange-60 {
    background-color: hsl(34, 100%, 87%);
}

.bg-ECEorange-55 {
    background-color: hsl(34, 100%, 92%);
}

.bg-ECEorange-50 {
    background-color: hsl(34, 100%, 97%);
}

.bg-ECEorange-45 {
    background-color: hsl(34, 100%, 100%);
}
/* White, as 97% + 3% goes above 100 */
.bg-ECEorange-40 {
    background-color: hsl(34, 100%, 100%);
}
/* White */
.bg-ECEorange-35 {
    background-color: hsl(34, 100%, 100%);
}
/* White */
.bg-ECEorange-30 {
    background-color: hsl(34, 100%, 100%);
}
/* White */
.bg-ECEorange-25 {
    background-color: hsl(34, 100%, 100%);
}
/* White */
.bg-ECEorange-20 {
    background-color: hsl(34, 100%, 100%);
}
/* White */
.bg-ECEorange-15 {
    background-color: hsl(34, 100%, 100%);
}
/* White */
.bg-ECEorange-10 {
    background-color: hsl(34, 100%, 100%);
}
/* White */

/* Base Color - Teal */
.bg-teal {
    --bs-table-bg: hsl(180, 50%, 25%);
    background-color: hsl(180, 50%, 25%);
}

/* Darker Variations (120% to 90%) */
.bg-teal-120 {
    background-color: hsl(180, 50%, 5%);
}

.bg-teal-115 {
    background-color: hsl(180, 50%, 10%);
}

.bg-teal-110 {
    background-color: hsl(180, 50%, 15%);
}

.bg-teal-105 {
    background-color: hsl(180, 50%, 20%);
}

.bg-teal-100 {
    background-color: hsl(180, 50%, 25%);
}
/* Base Color */
.bg-teal-95 {
    background-color: hsl(180, 50%, 30%);
}

.bg-teal-90 {
    background-color: hsl(180, 50%, 35%);
}

/* Lighter Variations (80% to 10%) */
.bg-teal-80 {
    background-color: hsl(180, 50%, 45%);
}

.bg-teal-75 {
    background-color: hsl(180, 50%, 50%);
}

.bg-teal-70 {
    background-color: hsl(180, 50%, 55%);
}

.bg-teal-65 {
    background-color: hsl(180, 50%, 60%);
}

.bg-teal-60 {
    background-color: hsl(180, 50%, 65%);
}

.bg-teal-55 {
    background-color: hsl(180, 50%, 70%);
}

.bg-teal-50 {
    background-color: hsl(180, 50%, 75%);
}

.bg-teal-45 {
    background-color: hsl(180, 50%, 80%);
}

.bg-teal-40 {
    background-color: hsl(180, 50%, 85%);
}

.bg-teal-35 {
    background-color: hsl(180, 50%, 90%);
}

.bg-teal-30 {
    background-color: hsl(180, 50%, 95%);
}

.bg-teal-25 {
    background-color: hsl(180, 50%, 100%);
}
/* White, as 95% + 5% goes above 100 */
.bg-teal-20 {
    background-color: hsl(180, 50%, 100%);
}
/* White */
.bg-teal-15 {
    background-color: hsl(180, 50%, 100%);
}
/* White */
.bg-teal-10 {
    background-color: hsl(180, 50%, 100%);
}
/* White */

.btn-xs {
    padding: 0.1rem 0.25rem;
    font-size: 0.75rem;
}

.logout-card {
    max-width: 400px;
    width: 90%; /* make it take most of the width on small screens */
    margin: 2rem auto; /* center horizontally with some vertical margin */
}

.barbtn:active {
    background-color: hsl(180, 50%, 5%);
}

.nav-link .bi-plus-lg {
    font-size: 1rem; /* tweak size to taste */
    margin-left: .25rem;
}

/* anywhere in your stylesheet: */
.dropdown-toggle::after {
    display: none !important;
}

#blazor-error-ui {
    display: none; /* must be none at startup */
    background: lightyellow;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: .6rem 1.25rem .7rem;
    box-shadow: 0 -1px 2px rgba(0,0,0,.2);
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        position: absolute;
        right: .75rem;
        top: .5rem;
        cursor: pointer;
    }

.app-toast-host {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 2000;
    width: min(26rem, calc(100vw - 2rem));
    pointer-events: none;
}

.app-toast-card {
    margin: 0;
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 1rem 2.75rem rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(8px);
    pointer-events: auto;
}

.app-toast-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    background: rgba(0, 0, 0, 0.45);
}

.app-toast-body {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.95rem 1rem;
}

.app-toast-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.app-toast-title {
    display: block;
    margin-bottom: 0.25rem;
}

.app-toast-message {
    line-height: 1.5;
}

.app-toast-close {
    flex: 0 0 auto;
    margin-top: 0.1rem;
}

@media (max-width: 767.98px) {
    .app-toast-host {
        right: 0.75rem;
        left: 0.75rem;
        bottom: 0.75rem;
        width: auto;
    }
}

.app-form-shell {
    --app-form-accent: hsl(195, 100%, 18%);
    --app-form-accent-strong: hsl(195, 100%, 28%);
    --app-form-accent-soft: hsl(195, 100%, 83%);
    --app-form-accent-pale: hsl(195, 100%, 93%);
    --app-form-accent-ghost: hsl(195, 100%, 98%);
    --app-form-success: hsl(81, 50%, 55%);
    --app-form-success-soft: hsl(81, 50%, 95%);
    --app-form-success-text: #18304a;
    --app-form-muted: hsl(0, 1%, 44%);
    --app-form-muted-soft: hsl(0, 1%, 84%);
    --app-form-muted-pale: hsl(0, 1%, 94%);
    --app-form-surface: #fff;
    --app-form-surface-muted: hsl(0, 1%, 99%);
    --app-form-danger: #b42318;
    padding: 1rem;
    background-color: var(--app-form-surface-muted);
}

.app-form-shell.theme-blue {
    --app-form-accent: hsl(195, 100%, 18%);
    --app-form-accent-strong: hsl(195, 100%, 28%);
    --app-form-accent-soft: hsl(195, 100%, 83%);
    --app-form-accent-pale: hsl(195, 100%, 93%);
    --app-form-accent-ghost: hsl(195, 100%, 98%);
}

.app-form-shell.theme-teal {
    --app-form-accent: hsl(180, 50%, 25%);
    --app-form-accent-strong: hsl(180, 50%, 35%);
    --app-form-accent-soft: hsl(180, 50%, 80%);
    --app-form-accent-pale: hsl(180, 50%, 92%);
    --app-form-accent-ghost: hsl(180, 50%, 98%);
}

.app-form-shell.theme-red {
    --app-form-accent: hsl(0, 35%, 33%);
    --app-form-accent-strong: hsl(0, 35%, 43%);
    --app-form-accent-soft: hsl(0, 35%, 78%);
    --app-form-accent-pale: hsl(0, 35%, 92%);
    --app-form-accent-ghost: hsl(0, 35%, 98%);
}

.app-form-shell.theme-green {
    --app-form-accent: hsl(81, 50%, 35%);
    --app-form-accent-strong: hsl(81, 50%, 45%);
    --app-form-accent-soft: hsl(81, 50%, 78%);
    --app-form-accent-pale: hsl(81, 50%, 90%);
    --app-form-accent-ghost: hsl(81, 50%, 97%);
}

.app-form-hero {
    margin-bottom: 1.5rem;
    border-radius: 1rem;
    overflow: hidden;
    background-color: var(--app-form-accent);
    color: #fff;
    border: 1px solid var(--app-form-accent);
    box-shadow: 0 0.75rem 1.75rem color-mix(in srgb, var(--app-form-accent) 30%, transparent);
}

.app-form-hero-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem 1.5rem 1rem;
}

.app-form-hero-main {
    flex: 1 1 auto;
    min-width: 0;
}

.app-form-eyebrow {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.82;
    margin-bottom: 0.35rem;
}

.app-form-title {
    margin: 0;
    font-size: clamp(1.6rem, 2vw, 2.2rem);
    font-weight: 700;
}

.app-form-subtitle {
    margin: 0.5rem 0 0;
    max-width: 55rem;
    color: rgba(255, 255, 255, 0.9);
}

.app-form-badges,
.app-form-token-buttons,
.app-form-utility-actions,
.app-form-date-adjust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.app-form-badges {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-self: flex-start;
    justify-content: flex-end;
    margin-left: auto;
}

.app-form-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
}

.app-form-chip-primary {
    background-color: var(--app-form-accent-strong);
    color: #fff;
}

.app-form-chip-success {
    background-color: var(--app-form-success);
    color: var(--app-form-success-text);
}

.app-form-chip-muted {
    background-color: var(--app-form-muted);
    color: #fff;
}

.app-form-chip-warning {
    background-color: var(--app-form-muted-pale);
    color: var(--app-form-accent);
}

.app-form-metrics {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0 1.5rem 1.5rem;
}

.app-form-metric {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.9rem;
    padding: 0.95rem 1rem;
    min-height: 5.5rem;
}

.app-form-metric strong {
    display: block;
    font-size: 1rem;
    margin-top: 0.25rem;
}

.app-form-metric-label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.85;
}

.app-form-card {
    background: var(--app-form-surface);
    border: 1px solid var(--app-form-muted-soft);
    border-radius: 1rem;
    box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

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

.app-form-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem 0;
}

.app-form-section-title {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--app-form-accent);
}

.app-form-section-subtitle {
    margin: 0.35rem 0 0;
    color: var(--app-form-muted);
    font-size: 0.93rem;
}

.app-form-label {
    font-weight: 600;
    color: var(--app-form-accent);
}

.app-form-required {
    color: var(--app-form-danger);
}

.app-form-panel {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-height: 100%;
    padding: 1rem 1.1rem;
    border-radius: 0.9rem;
    background-color: var(--app-form-accent-ghost);
    border: 1px solid var(--app-form-accent-soft);
}

.app-form-panel-compact {
    justify-content: center;
}

.app-form-panel-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--app-form-accent);
}

.app-form-panel-value {
    font-size: 1.15rem;
    color: var(--app-form-accent);
}

.app-form-panel-hint {
    color: var(--app-form-muted);
    font-size: 0.9rem;
}

.app-form-toggle {
    min-height: 2.5rem;
    padding-top: 0.2rem;
}

.app-form-empty {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.95rem 1rem;
    border-radius: 0.9rem;
    background: var(--app-form-surface-muted);
    border: 1px dashed var(--app-form-muted-soft);
    color: var(--app-form-muted);
}

.app-form-empty strong {
    display: block;
}

.app-form-linked-table,
.app-form-linked-table table {
    margin-bottom: 0;
}

.app-form-linked-table thead th {
    color: var(--app-form-accent);
    font-weight: 700;
    border-bottom-width: 1px;
}

.app-form-token-buttons .btn,
.app-form-utility-actions .btn,
.app-form-date-adjust .btn {
    border-radius: 999px;
    padding-inline: 0.85rem;
}

.app-form-savebar {
    margin-top: 1rem;
}

.app-form-savebar-card {
    display: flex;
    justify-content: flex-end;
    padding: 1rem 1.25rem;
    border: 1px solid var(--app-form-muted-soft, hsl(0, 1%, 84%));
    border-radius: 1rem;
    background: var(--app-form-surface, #fff);
    box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.08);
}

.app-form-savebar-actions {
    display: flex;
    gap: 0.75rem;
    width: 100%;
    max-width: 24rem;
}

.app-form-savebar-actions .btn {
    width: 100%;
    border-radius: 0.85rem;
    padding: 0.8rem 1rem;
    font-weight: 600;
}

.app-form-savebar-actions .btn-primary,
.app-form-savebar-actions .btn-primary:hover,
.app-form-savebar-actions .btn-primary:focus,
.app-form-savebar-actions .btn-primary:active {
    background-color: var(--app-form-accent, hsl(195, 100%, 18%));
    border-color: var(--app-form-accent, hsl(195, 100%, 18%));
    color: #fff;
}

.app-form-savebar-actions .btn-secondary,
.app-form-savebar-actions .btn-secondary:hover,
.app-form-savebar-actions .btn-secondary:focus,
.app-form-savebar-actions .btn-secondary:active {
    background-color: var(--app-form-muted, hsl(0, 1%, 44%));
    border-color: var(--app-form-muted, hsl(0, 1%, 44%));
    color: #fff;
}

.app-form-savebar-actions .btn-primary:disabled {
    background-color: var(--app-form-accent, hsl(195, 100%, 18%));
    border-color: var(--app-form-accent, hsl(195, 100%, 18%));
    color: #fff;
    opacity: 0.55;
}

.app-form-savebar-actions .btn-secondary:disabled {
    background-color: var(--app-form-muted, hsl(0, 1%, 44%));
    border-color: var(--app-form-muted, hsl(0, 1%, 44%));
    color: #fff;
    opacity: 0.55;
}

.app-form-hero-button {
    border-radius: 999px;
    padding-inline: 1rem;
    font-weight: 600;
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.app-form-hero-button:hover,
.app-form-hero-button:focus {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
    background-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 991.98px) {
    .app-form-hero-body {
        flex-direction: column;
    }

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

@media (max-width: 767.98px) {
    .app-form-shell {
        padding: 0.75rem;
    }

    .app-form-card-body,
    .app-form-section-header,
    .app-form-hero-body {
        padding-inline: 1rem;
    }

    .app-form-metrics {
        grid-template-columns: 1fr;
        padding-inline: 1rem;
    }

    .app-form-badges {
        flex-wrap: wrap;
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
    }

    .app-form-savebar-card {
        padding: 0.85rem 1rem;
    }

    .app-form-savebar-actions {
        max-width: none;
        flex-direction: column;
    }
}

.auth-page-root {
    position: relative;
    isolation: isolate;
    min-height: calc(100vh - 5rem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    overflow: hidden;
    background: linear-gradient(135deg, #f4fbfd 0%, #edf6fb 42%, #f7fbee 100%);
}

.auth-page-root::before {
    content: "";
    position: absolute;
    inset: -18%;
    z-index: -2;
    background:
        radial-gradient(circle at 12% 18%, rgba(13, 107, 134, 0.18) 0%, transparent 26%),
        radial-gradient(circle at 86% 14%, rgba(255, 196, 61, 0.18) 0%, transparent 24%),
        radial-gradient(circle at 74% 78%, rgba(173, 204, 87, 0.18) 0%, transparent 28%),
        radial-gradient(circle at 18% 82%, rgba(8, 67, 86, 0.12) 0%, transparent 24%),
        linear-gradient(130deg, rgba(255, 255, 255, 0.72) 0%, rgba(223, 242, 247, 0.84) 38%, rgba(245, 250, 234, 0.76) 100%);
    background-size: 180% 180%;
    animation: authGradientShift 22s ease infinite;
}

.auth-page-root::after {
    content: "";
    position: absolute;
    inset: -10%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.42) 0%, transparent 56%);
    animation: authGlowShift 28s ease-in-out infinite;
}

.auth-page-root > * {
    position: relative;
    z-index: 1;
}

.auth-page-shell {
    width: min(100%, 34rem);
    margin-inline: auto;
}

.auth-page-shell-wide {
    width: min(100%, 72rem);
}

.auth-page-card {
    border-radius: 1.5rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    box-shadow: 0 1.5rem 3.25rem rgba(0, 41, 59, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.auth-page-card-wide {
    width: 100%;
}

.auth-page-header {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1.65rem 1.75rem 1.4rem;
    background: linear-gradient(135deg, #0b556d 0%, #0d6b86 55%, #146982 100%);
    color: #fff;
}

.auth-page-brand {
    width: min(100%, 28rem);
    max-width: 100%;
}

.auth-page-logo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 0.35rem 0.8rem rgba(0, 0, 0, 0.12));
}

.auth-page-header-copy {
    min-width: 0;
    display: grid;
    gap: 0.45rem;
    justify-items: center;
}

.auth-page-header-content {
    justify-self: center;
}

.auth-page-title {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    font-weight: 700;
    line-height: 1.08;
}

.auth-page-subtitle {
    margin: 0.5rem 0 0;
    max-width: 42rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.98rem;
}

.auth-page-body {
    padding: 1.5rem 1.75rem 1.75rem;
}

.auth-page-footer {
    padding: 0 1.75rem 1.35rem;
}

.auth-page-utility-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    color: #66757f;
    font-size: 0.92rem;
}

.auth-page-utility-link {
    color: #476170;
    text-decoration: none;
    font-weight: 500;
}

.auth-page-utility-link:hover,
.auth-page-utility-link:focus {
    color: #0b556d;
    text-decoration: underline;
}

.auth-page-utility-divider {
    color: #97a9b4;
}

.auth-form {
    display: grid;
    gap: 1rem;
}

.auth-form h2,
.auth-form h3,
.auth-manage-content h2,
.auth-manage-content h3,
.auth-manage-content h4 {
    color: #0c5068;
    font-weight: 700;
}

.auth-page-note {
    margin: 0;
    color: #60717c;
    line-height: 1.6;
}

.auth-page-actions,
.auth-page-links,
.auth-manage-actions {
    display: grid;
    gap: 0.75rem;
}

.auth-page-links .btn,
.auth-page-actions .btn,
.auth-manage-actions .btn,
.auth-manage-content .btn {
    border-radius: 0.95rem;
    padding: 0.8rem 1rem;
    font-weight: 600;
}

.auth-page-actions .btn-primary,
.auth-manage-actions .btn-primary,
.auth-manage-content .btn-primary,
.auth-manage-content .bg-ECEblue {
    background-color: #0b556d;
    border-color: #0b556d;
    color: #fff;
}

.auth-page-actions .btn-primary:hover,
.auth-page-actions .btn-primary:focus,
.auth-manage-actions .btn-primary:hover,
.auth-manage-actions .btn-primary:focus,
.auth-manage-content .btn-primary:hover,
.auth-manage-content .btn-primary:focus,
.auth-manage-content .bg-ECEblue:hover,
.auth-manage-content .bg-ECEblue:focus {
    background-color: #09465a;
    border-color: #09465a;
    color: #fff;
}

.auth-page-links .btn-outline-secondary,
.auth-manage-content .btn-outline-secondary {
    border-color: rgba(12, 80, 104, 0.22);
    color: #355260;
}

.auth-page-links .btn-outline-secondary:hover,
.auth-page-links .btn-outline-secondary:focus,
.auth-manage-content .btn-outline-secondary:hover,
.auth-manage-content .btn-outline-secondary:focus {
    background-color: rgba(11, 85, 109, 0.08);
    border-color: rgba(11, 85, 109, 0.18);
    color: #0b556d;
}

.auth-status-message {
    border-radius: 1rem;
    border: 0;
    margin-bottom: 1rem;
}

.auth-page-body .form-control,
.auth-page-body .form-select,
.auth-manage-content .form-control,
.auth-manage-content .form-select {
    border-radius: 0.95rem;
    border-color: rgba(0, 58, 93, 0.14);
    box-shadow: none;
}

.auth-page-body .form-control:focus,
.auth-page-body .form-select:focus,
.auth-manage-content .form-control:focus,
.auth-manage-content .form-select:focus {
    border-color: rgba(11, 85, 109, 0.5);
    box-shadow: 0 0 0 0.18rem rgba(11, 85, 109, 0.14);
}

.auth-page-body .form-floating > label,
.auth-manage-content .form-floating > label {
    color: #59717e;
}

.auth-page-inline-link,
.auth-manage-content a {
    color: #0b556d;
}

.auth-page-inline-link:hover,
.auth-page-inline-link:focus,
.auth-manage-content a:hover,
.auth-manage-content a:focus {
    color: #084356;
}

.auth-callout {
    border-radius: 1rem;
    padding: 1rem 1.1rem;
    background: rgba(11, 85, 109, 0.07);
    border: 1px solid rgba(11, 85, 109, 0.12);
    color: #36505f;
}

.auth-page-prose {
    color: #36505f;
    line-height: 1.7;
}

.auth-page-prose > :first-child {
    margin-top: 0;
}

.auth-page-prose h2 {
    margin-top: 1.75rem;
    color: #0c5068;
    font-size: 1.15rem;
    font-weight: 700;
}

.auth-page-prose ul,
.auth-page-prose ol {
    padding-left: 1.2rem;
}

.auth-page-prose li + li {
    margin-top: 0.45rem;
}

.auth-manage-card .auth-page-body {
    padding-top: 1.25rem;
}

.auth-manage-layout {
    display: grid;
    grid-template-columns: minmax(14rem, 16rem) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.auth-manage-nav {
    background: linear-gradient(180deg, rgba(11, 85, 109, 0.08) 0%, rgba(255, 255, 255, 0.94) 100%);
    border: 1px solid rgba(11, 85, 109, 0.08);
    border-radius: 1.1rem;
    padding: 1rem;
}

.auth-manage-navlist {
    gap: 0.45rem;
}

.auth-manage-navlink {
    border-radius: 0.85rem;
    color: #355260;
    font-weight: 600;
    padding: 0.8rem 0.95rem;
}

.auth-manage-navlink.active,
.auth-manage-navlink:hover,
.auth-manage-navlink:focus {
    background: #0b556d;
    color: #fff;
}

.auth-manage-content {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 58, 93, 0.08);
    border-radius: 1.1rem;
    padding: 1.35rem 1.4rem;
}

.auth-manage-stack {
    display: grid;
    gap: 1.25rem;
}

.auth-manage-intro {
    display: grid;
    gap: 0.35rem;
}

.auth-manage-intro h3,
.auth-manage-intro h4 {
    margin: 0;
}

.auth-manage-lead {
    margin: 0;
    max-width: 48rem;
    color: #60717c;
    line-height: 1.65;
}

.auth-manage-form {
    display: grid;
    gap: 1rem;
    max-width: 34rem;
}

.auth-manage-form-wide {
    max-width: 42rem;
}

.auth-manage-form .input-group-text {
    border-radius: 0 0.95rem 0.95rem 0;
    border-color: rgba(0, 58, 93, 0.14);
    background: rgba(173, 204, 87, 0.18);
    color: #355260;
    font-weight: 700;
}

.auth-manage-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.auth-manage-actions form {
    margin: 0;
}

.auth-manage-actions .btn,
.auth-manage-actions form .btn {
    min-width: 12rem;
}

.auth-manage-table {
    overflow: hidden;
    border: 1px solid rgba(0, 58, 93, 0.08);
    border-radius: 1rem;
    background: #fff;
}

.auth-manage-table .table {
    margin-bottom: 0;
}

.auth-manage-table td,
.auth-manage-table th {
    padding: 0.95rem 1rem;
    vertical-align: middle;
}

.auth-inline-action {
    align-self: flex-start;
    padding: 0;
    font-weight: 600;
    text-decoration: none;
}

.auth-ordered-steps {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding-left: 1.2rem;
}

.auth-qr-box {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(11, 85, 109, 0.04);
    border: 1px solid rgba(11, 85, 109, 0.12);
}

.auth-key-pill {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.6rem 0.85rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(11, 85, 109, 0.14);
    background: #fff;
    color: #0b556d;
    font-size: 0.95rem;
}

.auth-code-list {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.auth-code-item {
    padding: 0.8rem 0.95rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(11, 85, 109, 0.12);
    background: rgba(11, 85, 109, 0.06);
}

.auth-code-item code {
    color: #0b556d;
    font-size: 0.98rem;
    font-weight: 700;
}

.auth-manage-content kbd {
    padding: 0.35rem 0.55rem;
    border-radius: 0.65rem;
    background: #0b556d;
    color: #fff;
}

.auth-manage-content .btn-link {
    font-weight: 600;
    text-decoration: none;
}

.auth-manage-content .btn-link:hover,
.auth-manage-content .btn-link:focus {
    text-decoration: underline;
}

.auth-manage-content .text-info {
    color: #60717c !important;
}

.auth-manage-divider {
    margin: 0;
    border-color: rgba(0, 58, 93, 0.08);
}

.auth-manage-content > h1,
.auth-manage-content > h2,
.auth-manage-content > h3 {
    margin-top: 0;
}

.auth-manage-content .row {
    --bs-gutter-y: 1rem;
}

.auth-manage-content .alert,
.auth-page-body .alert {
    border-radius: 1rem;
    border: 0;
}

.auth-page-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(173, 204, 87, 0.18);
    color: #204a57;
    font-weight: 600;
}

@keyframes authGradientShift {
    0% { background-position: 0% 10%; }
    50% { background-position: 100% 90%; }
    100% { background-position: 0% 10%; }
}

@keyframes authGlowShift {
    0% { transform: translate3d(-2%, -2%, 0) scale(1); opacity: 0.6; }
    50% { transform: translate3d(2%, 3%, 0) scale(1.06); opacity: 0.82; }
    100% { transform: translate3d(-2%, -2%, 0) scale(1); opacity: 0.6; }
}

@media (max-width: 991.98px) {
    .auth-manage-layout {
        grid-template-columns: 1fr;
    }

    .auth-page-header {
        padding-inline: 1.4rem;
    }
}

@media (max-width: 767.98px) {
    .auth-page-root {
        padding: 1rem;
        min-height: auto;
    }

    .auth-page-shell,
    .auth-page-shell-wide {
        width: 100%;
    }

    .auth-page-header {
        padding: 1.25rem;
        gap: 1rem;
    }

    .auth-page-body,
    .auth-page-footer {
        padding-inline: 1.1rem;
    }

    .auth-page-body {
        padding-top: 1.15rem;
        padding-bottom: 1.25rem;
    }

    .auth-page-footer {
        padding-bottom: 1.1rem;
    }

    .auth-page-brand {
        width: min(100%, 20rem);
    }

    .auth-manage-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .auth-manage-actions > *,
    .auth-manage-actions .btn,
    .auth-manage-actions form {
        width: 100%;
    }
}

.email-preview-shell {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.email-preview-meta {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(11, 95, 119, 0.14);
    border-radius: 1rem;
    background: #f8fbfc;
    color: #0b3e4f;
    line-height: 1.65;
}

.email-preview-label {
    display: inline-block;
    min-width: 4.25rem;
    font-weight: 700;
    color: #0b5f77;
}

.email-preview-surface {
    max-height: 36rem;
    overflow: auto;
    padding: 0.75rem;
    border: 1px solid rgba(11, 95, 119, 0.14);
    border-radius: 1rem;
    background: #edf5f9;
}

.app-navbar {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)),
        linear-gradient(90deg, rgba(5, 53, 70, 0.98), rgba(6, 82, 102, 0.96));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 30px -22px rgba(0, 0, 0, 0.7);
    position: sticky;
    top: 0;
    z-index: 1030;
    backdrop-filter: blur(10px);
    padding-block: 0;
}

.app-navbar-shell {
    min-height: 4rem;
    padding-inline: 0.85rem;
    padding-block: 0.3rem;
    align-items: center;
    justify-content: space-between;
}

.app-navbar-brand {
    color: #fff;
    text-decoration: none;
    padding: 0.2rem 0.45rem 0.2rem 0.2rem;
    border-radius: 1rem;
    margin-bottom: 0;
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.app-navbar-brand:hover,
.app-navbar-brand:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.app-navbar-logo {
    height: 1.9rem;
    width: auto;
    display: block;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.28));
}

.app-navbar-wordmark {
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
}

.app-navbar-toggler {
    border-color: rgba(255, 255, 255, 0.16);
    border-radius: 0.95rem;
    padding: 0.42rem 0.62rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    min-height: 2.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    margin-block: 0;
    margin-left: auto;
}

.app-navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(166, 209, 63, 0.22);
}

.app-navbar-collapse {
    width: 100%;
    margin-top: 0.35rem;
    order: 3;
    flex-basis: 100%;
}

.app-navbar .navbar-nav {
    width: 100%;
    gap: 0.15rem;
    align-items: stretch;
    padding-top: 0.55rem;
    flex-direction: column;
}

.app-navbar .navbar-nav > .nav-item {
    width: 100%;
}

.app-navbar .navbar-toggler {
    display: inline-flex !important;
}

.app-top-nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.62rem 0.9rem;
    border-radius: 0.95rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    width: 100%;
    justify-content: flex-start;
    gap: 0.65rem;
}

.app-top-nav-link:hover,
.app-top-nav-link:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.app-top-nav-link.active,
.show > .app-top-nav-link {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}

.app-top-nav-link.dropdown-toggle::after {
    margin-left: 0.55rem;
}

.app-navbar .navbar-nav .app-nav-dropdown-menu {
    min-width: 100%;
    margin-top: 0.4rem;
    padding: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
        linear-gradient(180deg, rgba(6, 84, 104, 0.98), rgba(5, 63, 79, 0.98));
    box-shadow: 0 22px 42px -26px rgba(0, 0, 0, 0.9);
    position: static;
    float: none;
}

.app-nav-menu-row {
    gap: 0.32rem;
    margin-bottom: 0.35rem;
}

.app-nav-menu-row:last-child {
    margin-bottom: 0;
}

.app-nav-menu-button,
.app-nav-utility-button,
.app-nav-plus-button {
    min-height: 2.9rem;
    border: 0;
    border-radius: 0.9rem;
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.app-nav-menu-button,
.app-nav-utility-button {
    justify-content: flex-start;
    text-align: left;
    padding: 0.72rem 0.95rem;
    background: transparent;
}

.app-nav-menu-button:hover,
.app-nav-menu-button:focus,
.app-nav-utility-button:hover,
.app-nav-utility-button:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.app-nav-menu-button.active,
.app-nav-utility-button.active {
    color: #fff;
    background: rgba(166, 209, 63, 0.16);
    box-shadow: inset 0 0 0 1px rgba(166, 209, 63, 0.26);
}

.nav-grid-main {
    flex: 1 1 auto;
}

.app-nav-plus-button {
    width: 2.9rem;
    min-width: 2.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(166, 209, 63, 0.2);
    box-shadow: inset 0 0 0 1px rgba(166, 209, 63, 0.2);
}

.app-nav-plus-button:hover,
.app-nav-plus-button:focus {
    color: #fff;
    background: rgba(166, 209, 63, 0.3);
    box-shadow: inset 0 0 0 1px rgba(166, 209, 63, 0.34);
    transform: translateY(-1px);
}

.app-nav-plus-button.active {
    background: rgba(166, 209, 63, 0.36);
    box-shadow: inset 0 0 0 1px rgba(166, 209, 63, 0.46);
}

@media (max-width: 1499.98px) {
    .app-navbar .navbar-nav > .ms-lg-auto {
        margin-left: 0 !important;
    }
}

@media (min-width: 1500px) {
    .app-navbar-collapse {
        display: flex !important;
        align-items: center;
        flex-basis: auto;
        width: auto;
        margin-top: 0;
        order: 0;
    }

    .app-navbar .navbar-toggler {
        display: none !important;
    }

    .app-navbar .navbar-nav {
        width: auto;
        gap: 0.2rem;
        align-items: center;
        padding-top: 0;
        flex-direction: row;
    }

    .app-navbar .navbar-nav > .nav-item {
        width: auto;
    }

    .app-navbar .navbar-nav > .ms-lg-auto {
        margin-left: auto !important;
    }

    .app-top-nav-link {
        width: auto;
        justify-content: center;
        gap: 0;
    }

    .app-navbar .navbar-nav .app-nav-dropdown-menu {
        min-width: 18.5rem;
        margin-top: 0.65rem;
        position: absolute !important;
        float: left !important;
        inset: auto auto auto 0;
    }
}

@media (max-width: 767.98px) {
    .app-navbar-shell {
        padding-inline: 0.6rem;
        min-height: 3.7rem;
        padding-block: 0.18rem;
    }

    .app-navbar-brand {
        padding: 0.06rem 0.2rem 0.06rem 0.08rem;
    }

    .app-navbar-logo {
        height: 1.75rem;
    }

    .app-navbar-toggler {
        padding: 0.34rem 0.54rem;
        min-height: 2.32rem;
        transform: translateY(1px);
    }
}
