.brand-lockup {
    align-items: center;
    display: flex;
    gap: 0.75rem;
}

.site-logo-icon {
    color: #ff6319;
    font-size: 1.25rem;
}

.site-logo-image {
    width: 1.65rem;
    height: 1.65rem;
    object-fit: contain;
    display: inline-block;
}

.affiliation-banner-icon {
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.22));
    height: 3.25rem;
    object-fit: contain;
    width: 3.25rem;
}

.affiliation-banner-icon-wrap {
    align-items: center;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.3);
    display: inline-flex;
    height: 5.1rem;
    justify-content: center;
    min-width: 5.1rem;
    position: relative;
    width: 5.1rem;
    z-index: 0;
}

.affiliation-banner-icon-wrap::before {
    background: conic-gradient(from 210deg, #0a3a8a 0 42%, #ff6724 42% 64%, #0a3a8a 64% 100%);
    border-radius: 999px;
    content: "";
    inset: -4px;
    position: absolute;
    z-index: -2;
}

.affiliation-banner-icon-wrap::after {
    background: radial-gradient(circle at 32% 30%, #ffffff 0%, #f6f9ff 70%, #eaf1ff 100%);
    border-radius: 999px;
    content: "";
    inset: 3px;
    position: absolute;
    z-index: -1;
}

.affiliation-banner-lead {
    min-width: 0;
}

@media (max-width: 767.98px) {
    .affiliation-banner-icon-wrap {
        box-shadow: 0 8px 16px rgba(2, 6, 23, 0.26);
        height: 4.3rem;
        min-width: 4.3rem;
        width: 4.3rem;
    }

    .affiliation-banner-icon {
        height: 2.75rem;
        width: 2.75rem;
    }
}

.navbar .nav-link {
    align-items: center;
    display: inline-flex;
    gap: 0.65rem;
}

.navbar .nav-link .omni {
    color: currentColor;
}

.navbar .nav-link.active .omni,
.navbar .nav-link:hover .omni {
    color: #ff6319;
}

.brand-lockup-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    line-height: 1.2;
}

.brand-platform {
    color: #fff;
    font-weight: 700;
}

.brand-affiliation {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.78rem;
}

.module-icon {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    height: 2.75rem;
    justify-content: center;
    width: 2.75rem;
}

.module-icon .omni {
    color: currentColor;
}

.module-icon .dashboard-card-icon-image {
    display: block;
    height: 2rem;
    object-fit: contain;
    width: 2rem;
}

.module-icon.module-icon-affiliation-pop {
    background: linear-gradient(160deg, #ffffff 0%, #f2f7ff 100%) !important;
    border: 2px solid rgba(255, 103, 36, 0.65) !important;
    box-shadow: 0 5px 12px rgba(2, 6, 23, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    height: 3rem;
    min-width: 3rem;
    width: 3rem;
}

.module-icon.module-icon-affiliation-pop .dashboard-card-icon-image {
    filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.22));
    height: 2.1rem;
    width: 2.1rem;
}

.pill {
    background: rgba(255, 99, 25, 0.14);
    border: 1px solid rgba(255, 99, 25, 0.28);
    border-radius: 999px;
    color: #ffb38e;
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.38rem 0.65rem;
    text-transform: uppercase;
}

.metric {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 800;
}

.section {
    margin-bottom: 2rem;
}

.login-container {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    margin: 48px auto 100px;
    max-width: 420px;
    padding: 30px;
}

.radio-theme {
    margin-bottom: 20px;
    text-align: center;
}

.radio-theme .fa-network-wired {
    color: #fff;
    font-size: 80px;
    line-height: 1;
}

.auth-page .login-container {
    max-width: 430px;
    margin: 56px auto 96px;
    padding: 2rem 1.9rem 1.6rem;
    background: linear-gradient(165deg, rgba(20, 36, 66, 0.92) 0%, rgba(12, 24, 46, 0.9) 100%);
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 0.9rem;
    box-shadow: 0 16px 34px rgba(2, 6, 23, 0.52);
}

.auth-page .navbar-brand-placeholder {
    display: inline-block;
    min-width: 1rem;
}

.auth-page .navbar .navbar-brand {
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

.auth-page .site-logo-image {
    width: 2.2rem;
    height: 2.2rem;
    padding: 0.2rem;
    border-radius: 0.52rem;
    background: linear-gradient(145deg, rgba(15, 30, 56, 0.96), rgba(7, 16, 34, 0.96));
    border: 1px solid rgba(96, 165, 250, 0.45);
    box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.2), 0 6px 16px rgba(2, 6, 23, 0.5);
}

.auth-page .radio-theme {
    position: relative;
    padding: 0.55rem 0.45rem 0.45rem;
    margin-bottom: 0.7rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: radial-gradient(circle at center, rgba(125, 211, 252, 0.1) 0%, rgba(15, 23, 42, 0.2) 56%, rgba(2, 6, 23, 0.1) 100%);
}

.auth-page .auth-logo {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0.7rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: linear-gradient(160deg, #f8fbff 0%, #e9f2ff 100%);
    filter: contrast(1.18) saturate(1.18) brightness(1.15) drop-shadow(0 8px 18px rgba(2, 6, 23, 0.45));
}

.auth-page .auth-title {
    margin-bottom: 0.35rem;
    line-height: 1.18;
}

.auth-page .auth-tenant {
    margin-bottom: 1.25rem;
}

.auth-page .login-container .alert {
    margin-bottom: 1rem;
}

.auth-page .auth-form {
    margin-top: 0.35rem;
}

.auth-page .auth-form .form-group {
    margin-bottom: 0.95rem;
}

.auth-page .auth-form .form-group:last-of-type {
    margin-bottom: 1.15rem;
}

.auth-page .auth-form .btn {
    margin-top: 0;
}

.auth-page .auth-form .btn + .btn {
    margin-top: 0.6rem;
}

.auth-page .form-control {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.auth-page .form-control:focus {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(125, 211, 252, 0.7);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-block + .btn-block {
    margin-top: 0.5rem;
}

.grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.section > h1,
.section > p {
    margin-bottom: 0.75rem;
}

.section .card {
    margin-bottom: 1rem;
}

.card > h3,
.card > h4,
.card > p,
.card > form,
.card > .table-responsive,
.card > .alert,
.card > div:not(.card-body):not(.card-header):not(.card-footer) {
    margin-left: 1rem;
    margin-right: 1rem;
}

.card > h3,
.card > h4 {
    margin-top: 1rem;
}

.card > p,
.card > form,
.card > .table-responsive,
.card > .alert,
.card > div:not(.card-body):not(.card-header):not(.card-footer) {
    margin-bottom: 1rem;
}

form p {
    margin-bottom: 1rem;
}

form p:last-child {
    margin-bottom: 0;
}

form label {
    color: #dbe2f1;
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

form input[type='text'],
form input[type='email'],
form input[type='password'],
form input[type='number'],
form input[type='date'],
form input[type='search'],
form select,
form textarea {
    appearance: none;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    color: #212529;
    display: block;
    font-size: 1rem;
    line-height: 1.5;
    padding: 0.375rem 0.75rem;
    width: 100%;
}

form input[type='checkbox'] {
    margin-right: 0.35rem;
}

form input:focus,
form select:focus,
form textarea:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    outline: 0;
}

form button,
form input[type='submit'],
form input[type='button'] {
    background-color: #0d6efd;
    border: 1px solid #0d6efd;
    border-radius: 0.375rem;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    padding: 0.375rem 0.75rem;
    text-align: center;
    text-decoration: none;
    user-select: none;
    vertical-align: middle;
}

form button:hover,
form input[type='submit']:hover,
form input[type='button']:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}
