/* Main navigation polish. Keep the existing #337ab7 bar color and fixed height intact. */
.navbar-custom {
    background-color: #337ab7;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.18), 0 2px 8px rgba(18, 48, 72, 0.18);
}

.navbar-custom .navbar-brand img {
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18));
}

.navbar-custom .navbar-nav .nav-link,
.navbar-custom .btn-link,
.navbar-custom .btn-outline-light {
    position: relative;
    border-radius: 6px;
    transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease, text-shadow 140ms ease;
}

.navbar-custom .navbar-nav .nav-link {
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
}

.navbar-custom .navbar-nav .nav-link::after {
    position: absolute;
    right: 1rem;
    bottom: 5px;
    left: 1rem;
    height: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.75);
    content: "";
    opacity: 0;
    transform: scaleX(0.35);
    transition: opacity 140ms ease, transform 140ms ease;
}

.navbar-custom .navbar-nav .nav-link:hover,
.navbar-custom .navbar-nav .nav-link:focus,
.navbar-custom .btn-link:hover,
.navbar-custom .btn-link:focus,
.navbar-custom .btn-outline-light:hover,
.navbar-custom .btn-outline-light:focus {
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    color: #fff7d6;
    text-decoration: none;
}

.navbar-custom .navbar-nav .nav-link:hover::after,
.navbar-custom .navbar-nav .nav-link:focus::after {
    opacity: 1;
    transform: scaleX(1);
}

.navbar-custom .navbar-nav .nav-link:focus-visible,
.navbar-custom .btn-link:focus-visible,
.navbar-custom .btn-outline-light:focus-visible,
.navbar-custom .navbar-toggler:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.72);
    outline-offset: 2px;
}

.navbar-custom .form-control {
    border-color: rgba(255, 255, 255, 0.62);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.96);
    transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.navbar-custom .form-control:focus {
    border-color: #fff;
    box-shadow: 0 0 0 0.15rem rgba(255, 255, 255, 0.28);
}

.navbar-custom .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.72);
}

.navbar-custom .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.55);
    border-radius: 6px;
    transition: background-color 140ms ease, box-shadow 140ms ease;
}

.navbar-custom .navbar-toggler:hover,
.navbar-custom .navbar-toggler:focus {
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.navbar-custom .navbar-toggler-icon {
    filter: invert(1) grayscale(1) brightness(2);
}

.iris-subnav-bar {
    border-bottom: 1px solid #d8e2eb;
    background: #f8fbfd !important;
    box-shadow: 0 1px 3px rgba(36, 75, 105, 0.07);
}

.iris-subnav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px;
    padding: 3px 0;
}

.iris-subnav-item {
    display: inline-flex;
    align-items: center;
}

.iris-subnav-link {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 2px 8px;
    border-radius: 6px;
    color: #337ab7;
    font-weight: 400;
    line-height: 1.25;
    text-decoration: none;
    transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.iris-subnav-link:visited {
    color: #337ab7;
}

.iris-subnav-link:hover,
.iris-subnav-link:focus {
    background-color: #eef6fb;
    box-shadow: inset 0 0 0 1px #cfe1ef;
    color: #245f8f;
    text-decoration: none;
}

.iris-subnav-link:focus-visible {
    outline: 2px solid rgba(51, 122, 183, 0.3);
    outline-offset: 2px;
}

.iris-subnav-link.is-active {
    background-color: #e5f2fb;
    box-shadow: inset 0 0 0 1px #bdd8ea;
    color: #1f5f93;
    font-weight: 500;
}

.iris-subnav-link.is-action {
    background-color: #337ab7;
    box-shadow: inset 0 0 0 1px #337ab7;
    color: #fff;
    font-weight: 500;
}

.iris-subnav-link.is-action:visited {
    color: #fff;
}

.iris-subnav-link.is-action:hover,
.iris-subnav-link.is-action:focus {
    background-color: #2d6fa7;
    box-shadow: inset 0 0 0 1px #2d6fa7;
    color: #fff;
}

.iris-subnav-link.is-action.is-active {
    box-shadow: inset 0 0 0 1px #245f8f, 0 0 0 2px rgba(51, 122, 183, 0.16);
}

.iris-subnav-separator {
    display: inline-flex;
    width: 1px;
    height: 16px;
    margin: 0 5px;
    overflow: hidden;
    background: #cbd6df;
    color: transparent;
}

.iris-tabs {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 4px;
    margin: 10px 0 0;
}

.iris-section-tabs-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin: 10px 0 0;
}

.iris-section-tabs-row .iris-tabs {
    margin: 0;
}

.iris-section-tabs-row .iris-section-actions {
    flex: 0 0 auto;
    margin: 0 0 4px;
}

.iris-section-tabs-row + section.iris-section {
    margin-top: 0;
    border-top-left-radius: 0;
}

.iris-section-tabs-row + section.iris-section > .section-header {
    border-top-left-radius: 0;
}

.iris-tab-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid #cbd6df;
    border-radius: 8px 8px 0 0;
    background: #fff;
    color: #337ab7;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 -1px 2px rgba(36, 75, 105, 0.04);
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.iris-tab-link:visited {
    color: #337ab7;
}

.iris-tab-link:hover,
.iris-tab-link:focus {
    border-color: #bdd8ea;
    background: #eef6fb;
    box-shadow: 0 2px 5px rgba(36, 75, 105, 0.12);
    color: #245f8f;
    text-decoration: none;
}

.iris-tab-link:focus-visible {
    outline: 2px solid rgba(51, 122, 183, 0.3);
    outline-offset: 2px;
}

.iris-tab-link.is-active {
    z-index: 2;
    margin-bottom: -1px;
    border-color: #d8e2eb;
    border-bottom-color: #c0e2f8;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    background: #c0e2f8;
    color: #245f8f;
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.iris-tab-link.is-active:visited,
.iris-tab-link.is-active:hover,
.iris-tab-link.is-active:focus {
    border-color: #bdccd8;
    border-bottom-color: #c0e2f8;
    background: #c0e2f8;
    color: #245f8f;
}

section.iris-section {
    overflow: visible;
    margin-bottom: 16px;
    padding-right: 0;
    padding-left: 0;
    border: 1px solid #d8e2eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(36, 75, 105, 0.09);
    animation: iris-section-fade-in 180ms ease-out;
    transition: border-color 140ms ease, box-shadow 140ms ease;
}

section.iris-section:hover {
    border-color: #bdccd8;
    box-shadow: 0 2px 8px rgba(36, 75, 105, 0.12);
}

section.iris-section > .section-header {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 14px;
    border-bottom: 1px solid #d8e2eb;
    border-radius: 8px 8px 0 0;
    background: #c0e2f8;
    cursor: pointer;
    transition: background-color 120ms ease, border-color 120ms ease;
}

section.iris-section > .section-header:hover {
    border-bottom-color: #bdccd8;
    background: #b4dcf5;
}

section.iris-section > .section-header h4 {
    margin: 0;
    color: #245f8f;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
}

section.iris-section > .section-header .float-end {
    margin-left: auto;
    color: #2f7d5a;
    font-weight: 600;
}

section.iris-section > .section-body {
    padding: 14px;
}

.iris-filter-panel {
    overflow: visible;
    margin: 8px 0 14px;
    padding: 14px 16px;
    border: 1px solid #d8e2eb;
    border-radius: 8px;
    background: #f8fbfd;
    box-shadow: 0 1px 3px rgba(36, 75, 105, 0.07);
    animation: iris-section-fade-in 180ms ease-out;
}

.iris-filter-panel.row {
    margin-right: 0;
    margin-left: 0;
}

.iris-filter-panel-body {
    width: 100%;
}

.iris-filter-panel table {
    width: 100%;
}

.iris-filter-panel td,
.iris-filter-panel th {
    padding: 4px 6px;
    vertical-align: middle;
}

.iris-filter-panel td:first-child,
.iris-filter-panel th:first-child {
    color: #2f3f4f;
    font-weight: 600;
    white-space: nowrap;
}

.iris-filter-panel label {
    margin-bottom: 0;
}

.iris-filter-panel .form-control,
.iris-filter-panel .bootstrap-select > .dropdown-toggle {
    border-color: #cbd6df;
    border-radius: 6px;
    transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.iris-filter-panel .form-control:focus,
.iris-filter-panel .bootstrap-select > .dropdown-toggle:focus {
    border-color: #337ab7;
    box-shadow: 0 0 0 0.15rem rgba(51, 122, 183, 0.18);
}

.iris-filter-panel .btn {
    min-width: 84px;
    border-radius: 6px;
}

.iris-filter-panel a[onclick^="clearSelections"] {
    margin-left: 6px;
    color: #337ab7;
    font-size: 14px;
    font-weight: 600;
}

.iris-filter-panel hr {
    margin: 16px 0 12px;
    border-color: #d8e2eb;
    opacity: 1;
}

.iris-client-filter-panel,
.iris-client-results-panel {
    width: 100%;
}

.iris-client-results-panel.row {
    margin-right: 0;
    margin-left: 0;
}

.iris-client-filter-panel table {
    width: auto;
}

.iris-client-filter-panel td,
.iris-client-filter-panel th {
    padding: 0 4px;
}

.iris-client-filter-panel td:first-child {
    padding-left: 0;
}

.iris-client-filter-panel #SearchString {
    min-width: 260px;
}

.iris-client-filter-panel .btn {
    min-width: 92px;
}

.iris-user-profile-filter-panel table {
    width: auto;
}

.iris-user-profile-filter-panel td,
.iris-user-profile-filter-panel th {
    padding: 0 3px;
}

.iris-user-profile-filter-panel td:first-child {
    padding-left: 0;
    padding-right: 4px;
}

.iris-user-profile-filter-panel #SearchString {
    min-width: 260px;
}

.iris-user-profile-results-panel {
    width: 100%;
}

.iris-user-profile-results-panel.row {
    margin-right: 0;
    margin-left: 0;
}

.iris-tabs + .iris-user-profile-results-panel section.iris-section {
    border-top-left-radius: 0;
}

.iris-tabs + .iris-user-profile-results-panel section.iris-section > .section-header {
    border-top-left-radius: 0;
}

.iris-section-actions {
    display: flex;
    justify-content: flex-end;
    margin: 6px 0 4px;
}

.iris-section-actions + section.iris-section {
    margin-top: 0;
}

.iris-table-wrap {
    overflow: auto;
    margin-bottom: 16px;
    border: 1px solid #d8e2eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(36, 75, 105, 0.09);
    animation: iris-section-fade-in 180ms ease-out;
    transition: border-color 140ms ease, box-shadow 140ms ease;
}

.iris-table-wrap:hover {
    border-color: #bdccd8;
    box-shadow: 0 2px 8px rgba(36, 75, 105, 0.12);
}

.iris-table-scroll {
    max-height: min(var(--iris-table-max-height, 760px), calc(100vh - var(--iris-table-viewport-offset, 180px)));
    max-height: min(var(--iris-table-max-height, 760px), calc(100dvh - var(--iris-table-viewport-offset, 180px)));
}

.iris-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    vertical-align: middle;
}

.iris-table th,
.iris-table td {
    padding: 10px 12px;
    border-color: #d8e2eb;
    color: #2a3545;
    font-size: 0.9rem;
    vertical-align: middle;
}

.iris-table th:not(:last-child),
.iris-table td:not(:last-child) {
    border-right: 1px solid #edf2f7;
}

.iris-table thead th {
    background: #e5f2fb;
    color: #245f8f;
    font-weight: 600;
    white-space: nowrap;
}

.iris-table tbody tr:hover {
    background: #f8fbfd;
}

.iris-table-sticky-cell {
    position: sticky;
    left: var(--iris-table-sticky-left, 0);
    z-index: 3;
    border-right: 2px solid #bdd8ea !important;
    background: #ffffff;
    box-shadow: 10px 0 14px -14px rgba(22, 34, 49, 0.95);
}

.iris-table thead .iris-table-sticky-cell {
    z-index: 4;
    background: #e5f2fb;
}

.iris-table tbody tr:hover .iris-table-sticky-cell {
    background: #f8fbfd;
}

.iris-table-empty {
    margin: 0;
    padding: 14px 0;
    color: #526070;
}

.iris-table-message {
    margin: 0;
    padding: 0 0 10px;
}

.validation-summary-valid.iris-table-message {
    display: none;
}

.iris-table-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin: 12px 0 0;
    padding: 0;
}

@keyframes iris-section-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    section.iris-section {
        animation-duration: 1ms !important;
        transition-duration: 1ms !important;
    }

    section.iris-section > .section-header {
        transition-duration: 1ms !important;
    }

    .iris-filter-panel {
        animation-duration: 1ms !important;
    }

    .iris-tab-link {
        transition-duration: 1ms !important;
    }

    .iris-table-wrap {
        animation-duration: 1ms !important;
        transition-duration: 1ms !important;
    }
}
.auth-shell {
    max-width: 940px;
    margin: 28px auto 10px;
    padding: 0 18px;
}

.auth-frame {
    overflow: hidden;
    min-height: 490px;
    border: 1px solid #d8e0ea;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(16, 37, 66, 0.08);
}

.auth-aside {
    position: relative;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 0;
    background:
        radial-gradient(120% 110% at 16% 18%, rgba(102, 164, 223, 0.32) 0%, rgba(102, 164, 223, 0) 46%),
        linear-gradient(150deg, #4e74ab 0%, #365a8e 44%, #1f4573 100%);
    color: #f5f7fb;
}

.auth-aside::before,
.auth-aside::after {
    position: absolute;
    inset: -35%;
    border-radius: 44%;
    content: "";
    filter: blur(18px);
    opacity: 0.94;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.auth-aside::before {
    background:
        radial-gradient(58% 42% at 28% 46%, rgba(243, 211, 153, 0.82) 0%, rgba(243, 211, 153, 0.54) 22%, rgba(243, 211, 153, 0.18) 40%, rgba(243, 211, 153, 0) 60%),
        radial-gradient(46% 34% at 60% 24%, rgba(251, 231, 193, 0.52) 0%, rgba(251, 231, 193, 0.18) 34%, rgba(251, 231, 193, 0) 56%);
    animation: authWaveA 5.25s ease-in-out infinite alternate;
}

.auth-aside::after {
    background:
        radial-gradient(54% 40% at 72% 34%, rgba(176, 225, 247, 0.74) 0%, rgba(176, 225, 247, 0.34) 22%, rgba(176, 225, 247, 0.12) 40%, rgba(176, 225, 247, 0) 60%),
        radial-gradient(48% 36% at 46% 72%, rgba(122, 197, 239, 0.38) 0%, rgba(122, 197, 239, 0.14) 30%, rgba(122, 197, 239, 0) 52%);
    animation: authWaveB 4.5s ease-in-out infinite alternate;
}

.auth-aside-copy {
    position: relative;
    z-index: 1;
    max-width: 240px;
    padding: 24px;
    text-align: center;
}

.auth-aside-copy h2 {
    margin: 0;
    color: #ffffff;
    font-size: 35px;
    font-weight: 700;
    line-height: 1.18;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.36),
        0 0 24px rgba(214, 233, 255, 0.24);
    text-wrap: balance;
}

.auth-aside-kicker {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 25px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.auth-aside-accent {
    display: block;
    color: #e5f3ff;
}

.auth-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    margin-bottom: 0;
    padding: 28px 30px;
    border: 0;
    background: #ffffff;
}

.auth-card h4 {
    margin: 0 0 8px;
    color: #4b74b3;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.auth-card-title {
    margin: 0 0 8px;
    color: #102542;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.08;
}

.auth-card-copy {
    max-width: 500px;
    margin: 0 0 16px;
    color: #556579;
    font-size: 14px;
    line-height: 1.5;
}

.auth-card .form-control {
    min-height: 48px;
    padding-left: 16px;
    border-color: #cfd8e3;
    border-radius: 13px;
    box-shadow: none;
    font-size: 15px;
}

.auth-card .form-control:focus {
    border-color: #4b74b3;
    box-shadow: 0 0 0 4px rgba(75, 116, 179, 0.12);
}

.auth-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 13px;
    box-shadow: 0 10px 22px rgba(75, 116, 179, 0.18);
    font-weight: 600;
    gap: 8px;
    line-height: 1;
}

.auth-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 13px;
    font-weight: 600;
    line-height: 1;
}

.auth-inline-note {
    margin: 0 0 14px;
    padding: 11px 13px;
    border-radius: 13px;
    background: #f4f7fb;
    color: #4f5e72;
    font-size: 14px;
}

.auth-inline-note strong {
    color: #102542;
}

.auth-code-input {
    font-family: Consolas, "Courier New", monospace;
    font-size: 19px;
    letter-spacing: 0.24em;
    text-align: center;
}

.auth-status {
    margin-bottom: 16px;
    border-radius: 13px;
}

.auth-alt-actions {
    margin-top: 14px;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 18px 0 6px;
    color: #7a8899;
    font-size: 12px;
    font-weight: 700;
    gap: 12px;
    letter-spacing: 0.14em;
}

.auth-divider::before,
.auth-divider::after {
    flex: 1;
    height: 1px;
    background: #d8e0ea;
    content: "";
}

.auth-divider span {
    line-height: 1;
}

.auth-link-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.auth-link-row .btn-link {
    padding-right: 0;
    padding-left: 0;
}

.auth-link-row > a,
.auth-link-row > button {
    margin: 0;
}

.auth-row {
    --bs-gutter-x: 0;
    min-height: 490px;
}

.auth-row > [class*='col-'] {
    display: flex;
    align-items: stretch;
}

.auth-aside,
.auth-card {
    width: 100%;
    height: 100%;
}

.security-profile-page,
.security-form-page {
    min-height: calc(100vh - 160px);
    padding: 24px;
}

.security-profile-shell {
    max-width: 1500px;
    margin: 0 auto;
}

.security-form-shell {
    max-width: 980px;
    margin: 0 auto;
}

.security-profile-header,
.security-form-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 16px;
}

.security-profile-title,
.security-form-title {
    margin: 0;
    color: #337ab7 !important;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.2;
}

.security-form-subtitle {
    margin-top: 4px;
    color: #526070;
    font-size: 0.95rem;
}

.security-profile-summary,
.security-form-actions,
.security-form-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.security-profile-summary,
.security-form-actions {
    justify-content: flex-end;
}

.security-summary-item {
    min-width: 120px;
    padding: 8px 12px;
    border: 1px solid #d8e1eb;
    border-radius: 8px;
    background: #ffffff;
    color: #223044;
}

.security-summary-label {
    display: block;
    color: #657385;
    font-size: 0.75rem;
}

.security-summary-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 650;
    line-height: 1.2;
}

.security-profile-table-wrap {
    overflow: auto;
    --iris-table-viewport-offset: 160px;
    max-height: min(var(--iris-table-max-height, 760px), calc(100vh - var(--iris-table-viewport-offset)));
    max-height: min(var(--iris-table-max-height, 760px), calc(100dvh - var(--iris-table-viewport-offset)));
}

.security-profile-table {
    min-width: 1180px;
}

.security-profile-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
}

.security-profile-table tbody td {
    white-space: nowrap;
}

.security-profile-table thead th:last-child,
.security-profile-table tbody td:last-child {
    border-right: none;
}

.security-client-cell {
    position: sticky;
    left: 0;
    z-index: 3;
    width: 280px;
    min-width: 220px;
    max-width: 320px;
    border-right: 2px solid #bdd8ea !important;
    background: #ffffff;
    box-shadow: 8px 0 12px -12px rgba(22, 34, 49, 0.8);
}

.security-profile-table thead .security-client-cell {
    z-index: 4;
    background: #e5f2fb;
}

.security-profile-table tbody .security-client-cell {
    background: #ffffff;
}

.security-profile-table tbody tr:hover .security-client-cell {
    background: #f8fbfd;
}

.security-client-link {
    display: inline-block;
    max-width: 280px;
    overflow: hidden;
    color: #174f86;
    font-weight: 650;
    text-decoration: none;
    text-overflow: ellipsis;
    vertical-align: bottom;
    white-space: nowrap;
}

.security-client-link:hover {
    color: #0f3c67;
    text-decoration: underline;
}

.security-settings-panel {
    overflow: hidden;
    border: 1px solid #d8e1eb;
    border-radius: 8px;
    background: #ffffff;
}

.security-settings-table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.security-settings-table th,
.security-settings-table td {
    padding: 11px 14px;
    border-bottom: 1px solid #e6edf4;
    color: #2a3545;
    font-size: 0.9rem;
    vertical-align: middle;
}

.security-settings-table th {
    width: 52%;
    border-right: 1px solid #edf2f7;
    background: #f7f9fc;
    color: #526070;
    font-weight: 650;
}

.security-settings-table th label {
    margin-bottom: 0;
}

.security-settings-table tr:last-child th,
.security-settings-table tr:last-child td {
    border-bottom: none;
}

.security-pill {
    display: inline-block;
    min-width: 56px;
    padding: 5px 8px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 650;
    line-height: 1;
    text-align: center;
}

.security-profile-table .security-pill {
    min-width: 42px;
}

.security-pill-on {
    background: #e7f6ec;
    color: #247044;
}

.security-pill-off {
    background: #fdecec;
    color: #9a3b3b;
}

.security-number {
    color: #172331;
    font-variant-numeric: tabular-nums;
    font-weight: 650;
}

.security-number-input {
    max-width: 140px;
}

.security-form-footer {
    justify-content: flex-start;
    margin-top: 14px;
}

.security-empty-state {
    padding: 24px;
    border: 1px solid #d8e1eb;
    border-radius: 8px;
    background: #ffffff;
    color: #526070;
}

@keyframes authWaveA {
    0% {
        transform: translate3d(-12%, -3%, 0) scale(1.02) rotate(-7deg);
    }

    100% {
        transform: translate3d(10%, 7%, 0) scale(1.16) rotate(5deg);
    }
}

@keyframes authWaveB {
    0% {
        transform: translate3d(9%, -10%, 0) scale(1.04) rotate(8deg);
    }

    100% {
        transform: translate3d(-11%, 12%, 0) scale(1.2) rotate(-6deg);
    }
}

@media (max-width: 991.98px) {
    .auth-shell {
        margin-top: 22px;
        padding: 0 14px;
    }

    .auth-frame,
    .auth-row {
        min-height: 0;
    }

    .auth-aside {
        min-height: 120px;
    }

    .auth-aside-copy {
        max-width: none;
        padding: 20px;
    }

    .auth-aside-copy h2 {
        font-size: 28px;
    }

    .auth-card {
        padding: 24px 22px;
    }

    .auth-card-title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .security-profile-page,
    .security-form-page {
        padding: 16px;
    }

    .security-profile-header,
    .security-form-header {
        align-items: stretch;
        flex-direction: column;
    }

    .security-profile-summary,
    .security-form-actions {
        justify-content: flex-start;
    }
}
