html {
    font-size: 12px;
}

@media (min-width: 576px) {
    html {
        font-size: 16px;
    }
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.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;
}

html {
    position: relative;
    min-height: 100%;
}

body.gradient {
    margin-bottom: 60px;
    background: url('/Content/images/hero-lottie-dark.webp');
    background-size: cover; /* Forces the image to completely fill the space */
    background-position: center; /* Keeps the middle of the image in the center */
    background-repeat: no-repeat; /* Prevents the image from duplicating */
    background-attachment: fixed; /* Optional: Keeps background static while scrolling */
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.nav-link:hover {
    border: 1px solid #2074C5;
    color: #2074C5 !important;
    font-weight: bold !important;
}

.nav-link.active {
    border: 1px solid #FFFFFF;
    color: #2074C5 !important;
    font-weight: bold !important;
}

.nav-link, span.username {
    border: 1px solid #FFFFFF;
    color: #000000 !important;
    font-weight: bold !important;
}

#frame {
    background-color: white;
    opacity: 1.0;
}

a.footer:hover {
    color: white !important;
    text-decoration: underline !important;
}

a.footer {
    color: white !important;
    text-decoration: none !important;
}

#circle {
    width: 30px;
    height: 30px;
}

#logo {
    width: 170px;
    height: 30px;
    margin-left: -30px;
    clip-path: inset(0px 0px 0px 30px);
}

.spinning-logo {
    animation: spin-animation 1s linear infinite;
}

@keyframes spin-animation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Prevent dropdown items from ignoring text constraints */
.dropdown-menu .dropdown-item {
    white-space: normal;
}

/* Subtle background accent for unread items */
.active-notification {
    background-color: #f0f7ff !important;
}

/* Hover dynamic matching the unread accent */
.dropdown-menu .dropdown-item:hover {
    background-color: #f8f9fa !important;
}

/* Custom scrollbar formatting for a cleaner desktop layout */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background-color: #ced4da;
    border-radius: 3px;
}

:root {
    color-scheme: light;
}
