/* ============================================================
   NetStudy Admin Portal — main.css
   Bootstrap 5.3.8 + AdminLTE 4
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600&family=Plus+Jakarta+Sans:wght@600;700&display=swap');

/* ── Variables ── */
:root {
    --ns-navy:        #1e2b45;
    --ns-navy-dark:   #141d30;
    --ns-navy-hover:  #243459;
    --ns-navy-active: #2d4070;
    --ns-accent:      #3d7ebf;
    --ns-accent-dark: #2c62a0;
    --ns-text-dim:    rgba(255, 255, 255, 0.65);
    --ns-text-bright: rgba(255, 255, 255, 0.95);
    --ns-border:      #e5e9f0;
    --ns-bg:          #f0f4f8;

    --ns-font-ui:      'Geist', system-ui, -apple-system, sans-serif;
    --ns-font-heading: 'Plus Jakarta Sans', 'Geist', system-ui, sans-serif;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

body {
    font-family: var(--ns-font-ui);
    font-size: 0.9375rem;   /* 15px — data-dense without feeling cramped */
    font-weight: 400;
    line-height: 1.6;
    color: #2d3748;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings — Sora gives structural weight to section titles */
h1, h2, h3,
.h1, .h2, .h3 {
    font-family: var(--ns-font-heading);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--ns-navy);
}

h4, h5, h6,
.h4, .h5, .h6 {
    font-family: var(--ns-font-ui);
    font-weight: 600;
    line-height: 1.3;
    color: var(--ns-navy);
}

h1, .h1 { font-size: 1.5rem; }
h2, .h2 { font-size: 1.25rem; }
h3, .h3 { font-size: 1.05rem; }
h4, .h4 { font-size: 0.9375rem; }
h5, .h5 { font-size: 0.875rem; }
h6, .h6 { font-size: 0.8125rem; }

/* Labels and form text — slightly tighter */
label,
.form-label,
.col-form-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #4a5568;
    letter-spacing: 0.01em;
}

/* Form controls */
.form-control,
.form-select {
    font-family: var(--ns-font-ui);
    font-size: 0.875rem;
    border-color: #a0aec0;
}

.form-check-input {
    border-color: #a0aec0;
}

.form-control[readonly] {
    background-color: #eef1f6;
    border-color: #d3dae6;
    color: #2d3748;
    cursor: default;
    box-shadow: none;
}

.form-control[readonly]:focus {
    background-color: #eef1f6;
    border-color: #c2cbdb;
    box-shadow: none;
}

/* Password reveal toggle */
.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 45px;
}

.password-toggler {
    background: none;
    border: none;
    padding: 0;
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #6c757d;
    cursor: pointer;
    line-height: 1;
}

.password-toggler:hover {
    color: var(--ns-accent);
}

/* Buttons */
.btn {
    font-family: var(--ns-font-ui);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* btn-primary — matches --ns-accent / dash-search-btn color for consistency */
.btn-primary {
    background-color: var(--ns-accent);
    border-color: var(--ns-accent);
    color: #fff;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
    box-shadow: 0 2px 8px rgba(61, 126, 191, 0.3);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--ns-accent-dark);
    border-color: var(--ns-accent-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(61, 126, 191, 0.4);
}

.btn-primary:active {
    background-color: var(--ns-accent-dark);
    border-color: var(--ns-accent-dark);
    color: #fff;
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(61, 126, 191, 0.25);
}

.btn-primary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(61, 126, 191, 0.35);
}

/* Disabled — a muted accent blue instead of Bootstrap's default primary */
.btn-primary:disabled,
.btn-primary.disabled {
    background-color: #a9c1dc;
    border-color: #a9c1dc;
    color: #fff;
    box-shadow: none;
    transform: none;
    opacity: 1;
}

/* btn-secondary — solid navy, mirrors btn-outline-secondary's hover state */
.btn-secondary {
    background-color: var(--ns-navy);
    border-color: var(--ns-navy);
    color: #fff;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--ns-navy-hover);
    border-color: var(--ns-navy-hover);
    color: #fff;
    box-shadow: 0 3px 10px rgba(30, 43, 69, 0.3);
    transform: translateY(-1px);
}

.btn-secondary:active {
    background-color: var(--ns-navy-active);
    border-color: var(--ns-navy-active);
    color: #fff;
    transform: translateY(0);
    box-shadow: none;
}

.btn-secondary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 43, 69, 0.2);
}

/* btn-outline-secondary — replace Bootstrap's muddy gray hover with navy */
.btn-outline-secondary {
    color: #4a5d78;
    border-color: #a0aec0;
    background: transparent;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.btn-outline-secondary:hover {
    color: #fff;
    background: var(--ns-accent);
    border-color: var(--ns-accent);
    box-shadow: 0 3px 10px rgba(61, 126, 191, 0.3);
    transform: translateY(-1px);
}

.btn-outline-secondary:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-outline-secondary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 43, 69, 0.2);
}

/* btn-danger / btn-outline-danger — shift padding: more top, less bottom */
.btn-danger,
.btn-outline-danger {
    padding-top: 0.4375rem;
    padding-bottom: 0.3125rem;
}

.btn-sm.btn-danger,
.btn-sm.btn-outline-danger {
    padding-top: 0.3125rem;
    padding-bottom: 0.1875rem;
}

/* Tables — slightly smaller for data density, tabular nums for amounts */
.table,
table {
    font-size: 0.8125rem;
}

.table td,
.table th {
    font-variant-numeric: tabular-nums;
}

/* Small text, badges, meta */
small, .small {
    font-size: 0.75rem;
    font-weight: 400;
}

/* Sidebar nav — DM Sans at small optical size */
.sidebar-menu .nav-item > a p {
    font-family: var(--ns-font-ui);
}

/* Card titles — Sora */
.card-title {
    font-family: var(--ns-font-heading);
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* ============================================================
   SIDEBAR
   ============================================================ */

.app-sidebar {
    background-color: var(--ns-navy) !important;
    border-right: none;
    --lte-sidebar-submenu-bg: #0a1020;
    --lte-sidebar-submenu-active-bg: transparent;
    --lte-sidebar-submenu-active-color: rgba(255, 255, 255, 0.65);
    --lte-sidebar-submenu-hover-color: rgba(255, 255, 255, 0.65);
}

/* Brand area (top of sidebar) — dark, NetStudy logo */
.sidebar-brand {
    background-color: var(--ns-navy) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    min-height: 57px;
}

.brand-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1rem !important;
    text-decoration: none !important;
}

.sidebar-ns-logo {
    height: 28px;
    width: auto;
    display: block;
    opacity: 0.9;
}

/* Sidebar scrollable area */
.sidebar-wrapper {
    background-color: var(--ns-navy) !important;
    display: flex !important;
    flex-direction: column;
}

.sidebar-wrapper nav {
    flex: 1;
}

/* Client logo pinned to bottom of sidebar — white background patch */
.sidebar-footer {
    margin: 0.75rem 1rem 1rem;
    padding: 1.1rem 1rem;
    background-color: #fff;
    border-radius: 8px;
    text-align: center;
}

.sidebar-client-logo {
    max-height: 52px;
    max-width: 140px;
    width: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.sidebar-client-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ns-navy);
}

/* ── Sidebar Nav (Yii CMenu output) ── */
.sidebar-menu {
    list-style: none;
    padding: 0.4rem 0;
    margin: 0;
}

.sidebar-menu .nav-item > a {
    display: flex !important;
    align-items: center;
    padding: 0.55rem 1rem;
    color: var(--ns-text-dim);
    text-decoration: none !important;
    transition: background-color 0.15s ease, color 0.15s ease;
    line-height: 1.5;
    border-left: 3px solid transparent;
}

.sidebar-menu .nav-item > a:hover {
    background-color: var(--ns-navy-hover);
    color: var(--ns-text-bright);
    border-left-color: rgba(255, 255, 255, 0.25);
}

.sidebar-menu .nav-item.active > a,
.sidebar-menu .nav-item.menu-open.active > a {
    background-color: var(--ns-navy-active);
    color: #fff;
    border-left-color: var(--ns-accent);
}

/* Icon */
.sidebar-menu .nav-icon {
    width: 1.2rem;
    font-size: 0.9rem;
    margin-right: 0.7rem;
    text-align: center;
    flex-shrink: 0;
    opacity: 0.75;
    transition: opacity 0.15s ease;
}

.sidebar-menu > .nav-item > a:hover .nav-icon,
.sidebar-menu > .nav-item.active > a .nav-icon {
    opacity: 1;
}

/* Label text wrapped in <p> per AdminLTE convention */
.sidebar-menu .nav-item > a p {
    margin: 0;
    font-size: 0.83rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── CMenu treeview submenu (nested under active main nav item) ── */

.nav-treeview {
    list-style: none;
    padding: 0.25rem 0;
    margin: 0;
    background-color: #0a1020 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-treeview > li > a {
    display: flex;
    align-items: center;
    padding: 0.42rem 1rem 0.42rem 1.5rem;
    color: var(--ns-text-dim);
    text-decoration: none !important;
    font-size: 0.81rem;
    border-left: 3px solid transparent;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-treeview .nav-icon {
    font-size: 0.38rem;
    min-width: 1.4rem;
    text-align: center;
    opacity: 0.5 !important;
    transition: opacity 0.15s ease;
}

.nav-treeview > li > a:hover .nav-icon {
    opacity: 1 !important;
}

.nav-treeview > li > a,
.nav-treeview > li.active > a,
.nav-treeview > li.active > a:focus {
    background-color: transparent !important;
    color: rgba(255, 255, 255, 0.65) !important;
    border-left-color: transparent !important;
    font-weight: 400 !important;
}

.nav-treeview > li > a:hover,
.nav-treeview > li.active > a:hover {
    background-color: transparent !important;
    color: var(--ns-text-bright) !important;
    border-left-color: transparent !important;
}

/* ============================================================
   TOP HEADER
   ============================================================ */

.app-header {
    background-color: #eef1f6 !important;
    border-bottom: 1px solid var(--ns-border);
    box-shadow: 0 1px 3px rgba(30, 43, 69, 0.07), 0 1px 8px rgba(30, 43, 69, 0.04);
    min-height: 57px;
}

/* NetStudy logo + client name in header */
.app-header .navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none !important;
    padding: 0;
    max-width: 340px;
}

.ns-header-logo {
    max-height: 26px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0) opacity(0.7);
}

.ns-client-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ns-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Separator between logo and client name */
.app-header .navbar-brand::after {
    content: '';
    display: block;
    width: 1px;
    height: 1.2rem;
    background-color: var(--ns-border);
    flex-shrink: 0;
}

.app-header .nav-link {
    color: #5a6a85;
    padding: 0.45rem 0.7rem;
    border-radius: 6px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.app-header .nav-link:hover {
    color: var(--ns-navy);
    background-color: var(--ns-bg);
}

.app-header .dropdown-menu {
    border: 1px solid var(--ns-border);
    box-shadow: 0 4px 6px rgba(30, 43, 69, 0.07), 0 8px 24px rgba(30, 43, 69, 0.1);
    border-radius: 8px;
    padding: 0.4rem;
    min-width: 200px;
}

.app-header .dropdown-item {
    border-radius: 5px;
    font-size: 0.875rem;
    padding: 0.45rem 0.75rem;
    color: #3d4f68;
    transition: background-color 0.12s ease;
}

.app-header .dropdown-item:hover {
    background-color: var(--ns-bg);
    color: var(--ns-navy);
}

.app-header .dropdown-divider {
    border-color: var(--ns-border);
    margin: 0.3rem 0;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */

.app-content-header {
    background-color: #fff;
    border-bottom: 1px solid var(--ns-border);
    padding: 0;
}

.app-content-header .container-fluid {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

/* CBreadcrumbs widget output */
.app-content-header .breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: #7a8ca5;
    margin: 0;
    padding: 0;
}

.app-content-header .breadcrumbs a {
    color: #5a6a85;
    text-decoration: none;
}

.app-content-header .breadcrumbs a:hover {
    color: var(--ns-navy);
    text-decoration: underline;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */

.app-content {
    padding: 1.5rem 0;
    flex: 1;
}

/* ── Links ── */
a {
    color: var(--ns-accent);
}

a:hover {
    color: var(--ns-accent-dark);
}

p a {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .content-body {
        padding-inline: 2rem;
    }
}

.main h1,
.content-body h1 {
    font-size: 1.75em;
    margin-top: 0;
    margin-bottom: 1.25rem;
}

/* ── Footer ── */
.app-footer {
    background-color: transparent;
    color: #7a8ca5;
    font-size: 0.8rem;
    text-align: center;
    padding: 0.75rem 1rem;
}

/* ── Sticky footer: push footer to bottom when content is short ── */
.app-main {
    display: flex !important;
    flex-direction: column !important;
}

/* ============================================================
   FLASH MESSAGES
   ============================================================ */

div.flash-error,
div.flash-notice,
div.flash-success {
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    border: 1px solid transparent;
}

div.flash-error {
    background-color: #fde8e8;
    color: #8b1a1a;
    border-color: #f5c6c6;
}

div.flash-notice {
    background-color: #fff8e1;
    color: #7a5800;
    border-color: #ffe082;
}

div.flash-success {
    background-color: #e6f4ea;
    color: #1e5c2e;
    border-color: #b7dfbe;
}

div.flash-error a   { color: #8b1a1a; }
div.flash-notice a  { color: #7a5800; }
div.flash-success a { color: #1e5c2e; }

/* ============================================================
   TABLES
   ============================================================ */

.grid-view {
    padding: 0 !important;
}

.grid-view .summary:empty {
    display: none;
}

table.itemtable th {
    background-color: var(--ns-navy);
    border-bottom: none;
    border-top: none;
    color: #fff;
    padding: 0.55rem 0.25rem;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

table.itemtable tr th:first-of-type {
    border-radius: 6px 0 0 0;
}

table.itemtable tr th:last-of-type {
    border-radius: 0 6px 0 0;
}

table.itemtable thead th a,
table.itemtable thead th a:hover {
    color: #fff;
    text-decoration: none;
}

table.itemtable-warning th {
    background: linear-gradient(180deg, #f5a623 0%, #d97706 100%);
    border-bottom: 2px solid #b45309;
}

table.itemtable-warning thead th a,
table.itemtable-warning thead th a:hover {
    color: #fff;
    text-decoration: none;
}

table.itemtable-today th {
    background: linear-gradient(180deg, #5b9bd5 0%, #3d7ebf 100%);
    border-bottom: 2px solid #2c62a0;
}

table.itemtable-today thead th a,
table.itemtable-today thead th a:hover {
    color: #fff;
    text-decoration: none;
}

table.itemtable tbody tr {
    background-color: #fff;
}

table.itemtable tbody tr:hover {
    background-color: #f4f7fb;
}

table.itemtable tbody tr td {
    border-bottom: 1px solid #edf1f7;
    vertical-align: middle;
}

table.itemtable tbody tr:first-child td {
    padding-top: 0.6rem;
}

table.itemtable2 th {
    background-color: #e8eef5;
    background-image: none;
    color: #4a5568;
    padding: 0.65rem 0.75rem;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-bottom: 2px solid var(--ns-border) !important;
}

table.itemtable tr th:first-of-type,
table.itemtable2 tr th:first-of-type,
table.itemtable tbody tr td:first-of-type,
table.itemtable2 tbody tr td:first-of-type {
    padding-left: 0.75rem;
}

table.centertable th,
table.centertable td {
    text-align: center;
}

table.centertable th.text-left,
table.centertable td.text-left {
    text-align: left;
}

.grid-view table.items tr.odd,
.grid-view table.items tr.even {
    background-color: #fff !important;
}

.grid-view table.items tr:hover {
    background-color: #f0f4f8 !important;
}

.grid-view table.items tr td {
    border-bottom: 1px solid #edf1f7;
}

.grid-view.incompleteClassrooms table.items thead th,
.grid-view.incompleteClassrooms table.items thead th a {
    background-color: #fde8e8;
    color: #a94442;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
    vertical-align: middle;
}

.table.table-noborder th,
.table.table-noborder td {
    border: none;
}

/* ============================================================
   FIELDSETS
   ============================================================ */

fieldset {
    border: none;
    padding: 0;
    overflow: visible;
}

fieldset legend {
    margin: 1em 0;
    background-color: var(--ns-navy);
    color: #fff;
    padding: 0.55rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    width: 100%;
    border-radius: 6px 6px 0 0;
}

fieldset.inner1 legend {
    background-color: var(--ns-accent);
}

fieldset.inner2 {
    width: 95%;
    margin-top: 1em;
}

fieldset.inner2 legend {
    background-color: #e8eef5;
    color: #333;
}

/* Credit type blocks — scheduled/denied credit options on class details */
.credit-type-block {
    margin-bottom: 1.25rem;
    padding-left: 0.75rem;
}
.credit-type-label {
    font-weight: 600;
    color: var(--ns-navy);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}
.credit-state-list {
    columns: 3;
    column-gap: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.7;
    padding-left: 1rem;
}
@media (max-width: 767px) {
    .credit-state-list {
        columns: 2;
    }
}

/* Visit timeline — used in activity log to show visits within an attempt */
.visit-timeline {
    position: relative;
    padding-left: 1.75rem;
    margin-top: 1.25rem;
}

.visit-timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0.5rem;
    bottom: 0.75rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--ns-accent) 0%, var(--ns-border) 100%);
    border-radius: 1px;
}

.visit-card {
    position: relative;
    background: #f8fafc;
    border: 1px solid var(--ns-border);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
}

.visit-card:last-child {
    margin-bottom: 0;
}

.visit-card::before {
    content: '';
    position: absolute;
    left: -1.35rem;
    top: 0.85rem;
    width: 0.6rem;
    height: 0.6rem;
    background: var(--ns-accent);
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--ns-accent);
}

.visit-card-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ns-accent);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


/* ============================================================
   TABS — horizontal tabs in content area (student view, activity view, etc.)
   ============================================================ */

#tabsmenu {
    margin-bottom: 1em;
}

#tabsmenu li a {
    background-color: #eef1f5;
}

#tabsmenu li.active a {
    background-color: #fff;
    font-weight: bold;
}

#tabsmenu li a:hover {
    background-color: #dde3ec;
}

#tabsmenu li.active a:hover {
    background-color: #fff;
}

#tabsmenu li.dangertab,
#tabsmenu li.bonustab {
    float: right;
}

#tabsmenu li.dangertab a {
    background-color: #fde8e8;
    border-color: #f5c6c6;
    color: #a94442;
}

#tabsmenu li.dangertab a:hover {
    text-decoration: underline;
}

/* ============================================================
   ADMIN SUBNAV
   Replaces #tabsmenu / nav-tabs throughout the admin module.
   Usage: <ul class="nav admin-subnav mb-4">
   ============================================================ */

.admin-subnav {
    border-bottom: 2px solid var(--ns-border);
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}

.admin-subnav .nav-link {
    color: #4a5d78;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.55rem 1rem;
    border-radius: 0;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.admin-subnav .nav-link:hover {
    color: var(--ns-accent);
    background: transparent;
    border-bottom-color: var(--ns-border);
}

.admin-subnav .nav-link.active {
    color: var(--ns-accent);
    background: transparent;
    border-bottom-color: var(--ns-accent);
    font-weight: 600;
}

.admin-subnav .nav-link-danger {
    color: #c0392b;
}

.admin-subnav .nav-link-danger:hover {
    color: #922b21;
    background: transparent;
    border-bottom-color: transparent;
}


/* ============================================================
   UTILITY HELPERS
   ============================================================ */

.center { text-align: center; }
.right  { float: right; }
.left   { float: left; }
.clear  { clear: both; }
.error  { color: red; }

/* ============================================================
   COMPONENTS
   ============================================================ */

/* Profile photo */
img.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid #dde3ec;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
    object-fit: cover;
}

/* Time dropdown */
select.timeDropdown {
    height: 38px;
    font-size: 14px;
    padding: 6px 12px 6px 6px;
}

/* Bundle table */
table.bundletable tr td {
    height: 4em;
    vertical-align: middle;
}

/* Form containers */
div.form-container {
    padding: 2em;
    background: #eef1f5;
    border-radius: 6px;
}

div.todo-block {
    padding: 2em;
    background-color: #fff8e1;
    color: #7a5800;
    border-radius: 6px;
}

div.dash-messages {
    padding: 2em;
}

/* Bulk / selection rows */
tr.bulkitem td,
tr.selecteditem td,
div.bulkitem,
div.selecteditem {
    border-bottom: 1px solid #f0f0f0;
}

tr.bulkitem:hover,
div.bulkitem:hover {
    background-color: #e8eef5;
}

tr.selecteditem,
div.selecteditem {
    background-color: #e6f4ea;
    border-color: #b7dfbe;
}

tr.alert-success,
tr.alert-success:hover {
    background-color: #e6f4ea !important;
}

tr.insInactive {
    opacity: 0.65;
}
tr.insInactive td {
    background-color: #eee !important;
    color: #000 !important;
}

tr.alert-warning,
tr.alert-warning:hover {
    background-color: #fff8e1 !important;
}

tr.alert-info,
tr.alert-info:hover {
    background-color: #e3f0fc !important;
}

/* Payment sections */
.payment-details h3 {
    margin: 30px 0 5px;
    color: var(--ns-accent);
    font-weight: bold;
}

.payment-details table {
    border-top: 2px solid var(--ns-accent);
    padding: 5px;
}

.course-section h3 {
    margin: 30px 0 5px;
    padding: 0 0 5px;
    color: var(--ns-accent);
    font-weight: bold;
    border-bottom: 1px solid var(--ns-accent);
}

/* Notes */
.notes {
    margin-top: 3em;
    background-color: #e8eef5;
    padding: 1em;
    border-radius: 6px;
}

.notes h2 {
    font-size: 1.5em;
    margin: 0;
}

.notes .grid-view table.items tr {
    background-color: #f0f4f8 !important;
}

/* Buttons */
.extra-buttons {
    margin: 1em 0;
}

.buttons input.left,
.buttons a.left {
    margin: 0 1em 1em 0;
}

.details-btn-col {
    width: 1%;
    text-align: center;
    white-space: nowrap;
}

.clone {
    display: none;
}

.btn-course a,
a.btn-max {
    width: 100%;
}

/* User cert term */
.userCertTerm {
    margin-bottom: 2em;
    border: 2px solid #dde3ec;
    padding: 1em;
    background-color: #f0f4f8;
    border-radius: 6px;
}

/* Coupon Restrictions */
.restriction-table {
    border: 1px solid var(--ns-border);
    border-radius: 8px;
    overflow: hidden;
}
.restriction-row + .restriction-row {
    border-top: 1px solid var(--ns-border);
}
.restriction-row-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
}
.restriction-row-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ns-navy);
    min-width: 7em;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.restriction-row-chips {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    min-height: 1.75rem;
}
.restriction-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #eef2f8;
    border: 1px solid #d0d8e8;
    border-radius: 999px;
    padding: 0.15rem 0.3rem 0.15rem 0.4rem;
    font-size: 0.8125rem;
    color: var(--ns-navy);
    line-height: 1.4;
}
.restriction-chip-badge {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.15em 0.45em;
    border-radius: 999px;
    flex-shrink: 0;
}
.restriction-chip-badge.includes {
    background: #d1e7dd;
    color: #0a3622;
}
.restriction-chip-badge.excludes {
    background: #f8d7da;
    color: #58151c;
}
.restriction-chip-remove {
    background: none;
    border: none;
    padding: 0;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    line-height: 1;
    color: #8a95a5;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease;
}
.restriction-chip-remove:hover {
    background: #dc3545;
    color: #fff;
}
.restriction-dropdown-area {
    padding: 0.65rem 1rem;
    background: #f8f9fc;
    border-top: 1px solid var(--ns-border);
}
.restrictions-none-row {
    padding: 0.65rem 1rem;
    font-size: 0.875rem;
    color: #0a3622;
    background: #d1e7dd;
    border-bottom: 1px solid #a3cfbb;
}

/* ── Stat Chips — compact inline stat display ── */
.stat-chip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid #b8c4d4;
    border-radius: 8px;
    padding: 0.65rem 1rem;
    box-shadow: 0 1px 3px rgba(30, 43, 69, 0.06), 0 2px 8px rgba(30, 43, 69, 0.04);
}

.stat-chip-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: rgba(61, 126, 191, 0.1);
    color: var(--ns-accent);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-chip-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ns-navy);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.stat-chip-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: #7a8ca5;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Search form (legacy) */
.search-form h3 {
    margin: 0 0 1em;
    padding-bottom: 0.3em;
    border-bottom: 1px dashed #aab4c5;
}

/* ── Search Card — reusable across admin module ── */
.card.dash-search-card {
    background: #fff;
    border: 1px solid #b8c4d4;
    border-radius: 10px;
    box-shadow:
        0 2px 6px rgba(30, 43, 69, 0.08),
        0 8px 24px rgba(30, 43, 69, 0.07);
}

.card.dash-search-card .card-header {
    padding: 0.65rem 1.25rem;
}

.card.dash-search-card .card-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin: 0;
}

.card.dash-search-card .card-body {
    padding: 1.1rem 1.25rem;
}

.card.dash-search-card .card-footer {
    background: transparent;
    border-top: 1px solid #e5e9f0;
    padding: 0.75rem 1.25rem;
}

.card.dash-search-card .row {
    --bs-gutter-x: 1.25rem;
}

.card.dash-search-card .form-control,
.card.dash-search-card .form-select {
    border: 1.5px solid #a0aec0;
    border-radius: 6px;
    color: #1e2b45;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.card.dash-search-card .form-control:focus,
.card.dash-search-card .form-select:focus {
    border-color: var(--ns-accent);
    box-shadow: 0 0 0 3px rgba(61, 126, 191, 0.18);
    outline: none;
}

.dash-search-btn {
    background: var(--ns-accent);
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 6px;
    padding: 0.44rem 1.25rem;
    letter-spacing: 0.01em;
    transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 8px rgba(61, 126, 191, 0.3);
    white-space: nowrap;
}

.dash-search-btn:hover {
    background: var(--ns-accent-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(61, 126, 191, 0.4);
}

.dash-search-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(61, 126, 191, 0.25);
}

.dash-search-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(61, 126, 191, 0.35);
}

/* Dashboard */
.dash-chart {
    margin-bottom: 2em;
}

#dash-alerts h3 {
    border-bottom: 1px solid #aab4c5;
    margin: 0 0 10px;
}

.dash-alert {
    margin: 0 0 30px 50px;
}

#client-alert h3 {
    color: #c0392b;
    border-bottom: 2px solid #c0392b;
}

/* Dashboard cards */
#greeting h1 {
    margin-bottom: 1.25rem;
}

.card {
    border: 1px solid var(--ns-border);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(30, 43, 69, 0.06), 0 2px 8px rgba(30, 43, 69, 0.04);
    overflow: hidden;
}

.card.card-warning .card-header {
    background-color: #92560a;
}

.card-header {
    background-color: var(--ns-navy);
    color: #fff;
    border-bottom: none;
    border-radius: 8px 8px 0 0 !important;
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header a,
.card-header i {
    color: inherit;
}

.card-title {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

.card-tools {
    margin-left: auto;
}

.card-footer {
    background-color: #f8fafc;
    border-top: 1px solid var(--ns-border);
    border-radius: 0 0 8px 8px !important;
}

/* Grid tables inside cards sit flush */
.card-body.p-0 .grid-view {
    margin: 0;
}

.card-body.p-0 .grid-view table.items {
    margin: 0;
    border-radius: 0;
}

.card-body.p-0 .grid-view table.items thead th:first-child {
    border-top-left-radius: 0;
}

.card-body.p-0 .grid-view table.items thead th:last-child {
    border-top-right-radius: 0;
}

.rowgroup {
    width: 160px;
    float: left;
}

.alert-div {
    width: 275px;
    float: left;
    margin: 20px 0;
}

.alert-div h3 {
    text-decoration: underline;
}

/* Alert table */
table.alert-table {
    margin: 20px 0;
    font-size: 0.9em;
}

table.alert-table th {
    background-color: var(--ns-accent);
    color: white;
}

/* Reports */
.report-pair        { margin-bottom: 1.5em; }
.report-link        { font-weight: 500; display: inline-block; }
.report-description { font-style: italic; margin: 0.5em 0 0 1.25em; }
.report-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4em;
    list-style: none;
    padding: 0.5em 0 0 1.25em;
    margin: 0 0 1.5em;
}
.report-list li a {
    display: inline-block;
    padding: 0.2em 0.85em;
    border-radius: 50em;
    border: 1.5px solid var(--ns-accent);
    color: var(--ns-accent);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}
.report-list li a:hover,
.report-list li a:focus-visible {
    background: var(--ns-accent);
    color: #fff;
    text-decoration: none;
}

/* Payment details */
.payment {
    padding-left: 5em;
}

.paymentbox2 {
    width: 500px;
    margin: 50px auto 0;
}

.paymentbox2 .checkbox {
    float: left;
    width: 30px;
}

#paymentbox2 .total {
    font-size: 150%;
    font-weight: bold;
    margin: 0;
    text-align: right;
    border-bottom: 1px solid #aab4c5;
}

#paymentbox2 .row {
    margin: 10px 0;
    clear: both;
}

.payment-result {
    text-align: center;
    margin-bottom: 30px;
    color: #1e5c2e;
}

.transItems {
    font-weight: bold;
    margin-top: 20px;
}

.item {
    margin: 15px 0;
}

.price_box {
    width: 80px;
}

#payment-logos {
    text-align: center;
    padding: 20px 0;
}

/* Data collect */
.datacollect {
    padding: 3px;
    border: 3px solid #8391b4;
    margin: 50px 0 25px;
    border-radius: 6px;
}

.datacollect .innerbox {
    padding: 20px;
    border: 1px solid #8391b4;
}

/* Roster */
.roster-descrip {
    border: 1px solid #aab4c5;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 6px;
}

.roster-descrip label {
    font-weight: bold;
    float: left;
    width: 120px;
    clear: left;
}

.roster-descrip p {
    clear: right;
    margin: 0;
    padding: 0;
    float: left;
}

/* Extras block */
.extras {
    background-color: #f0f4f8;
    border: 1px dashed #aab4c5;
    padding: 5px 10px;
    margin-bottom: 20px;
    border-radius: 6px;
}

.extras p {
    margin: 5px 0;
    padding-left: 20px;
}

/* Instructor form */
.instructor-form .form-check {
    margin-bottom: 1em;
}

.instructor-form .form-check .form-check-input {
    margin-right: 1em;
}

.instructor-form .form-check input[type='checkbox'] {
    vertical-align: top;
}

.instructor-form .form-check label {
    max-width: 80%;
}

/* Credit group */
.creditGroup .courserow input[type='text'] {
    vertical-align: middle;
    margin-top: 10px;
}

/* File list */
ul.fileList {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

ul.fileList li {
    margin: 0;
    padding: 0;
}

ul.fileList li a.fileItem {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 1rem;
    border: 1px solid var(--ns-border);
    border-radius: 7px;
    background: #fff;
    text-decoration: none;
    transition: box-shadow 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
    box-shadow: 0 1px 2px rgba(30,43,69,0.05);
}

ul.fileList li a.fileItem:hover {
    border-color: var(--ns-accent);
    box-shadow: 0 3px 10px rgba(30,43,69,0.10), 0 1px 3px rgba(30,43,69,0.06);
    transform: translateY(-1px);
    text-decoration: none;
}

ul.fileList li a.fileItem .fileIconWrap {
    width: 2.4rem;
    height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(61,126,191,0.10);
    color: var(--ns-accent);
    font-size: 1.15rem;
    flex-shrink: 0;
}

ul.fileList li a.fileItem .fileName {
    flex: 1;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ns-navy);
    line-height: 1.3;
}


/* Instructor instructions list */
#instructorBoxIntro li { margin: 0.75em 0; }

/* Attendance upload tables */
.uploaded-sheets table.items tr td { line-height: 2.4em; }
.uploaded-sheets table.items tr.empty-state td {
    color: #7a8a9e;
    padding: 0.4rem 0.5rem;
    border: none;
    background: #fff;
    font-size: 0.875rem;
    font-style: italic;
}
.uploaded-sheets table.items tr.empty-state:hover { background: #fff !important; }
.uploaded-sheets table.items tr.toDelete td {
    background-color: #fff5f5 !important;
    border-top: 1px solid #f5c6cb !important;
    border-bottom: 1px solid #f5c6cb !important;
}
.uploaded-sheets table.items tr.toDelete td:first-child {
    border-left: 3px solid #dc3545 !important;
}
.uploaded-sheets table.items tr.toDelete a {
    color: #dc3545;
}
.uploaded-sheets table.items tr.toDelete:hover td {
    background-color: #fff5f5 !important;
}
.uploaded-sheets td.status { position: relative; z-index: 500; }
.uploaded-sheets td.status .text { position: relative; z-index: 700; }
.uploaded-sheets td.status .progress {
    position: absolute;
    background-color: #0f0;
    height: 20px;
    top: 0; left: 0;
    z-index: 600;
}

/* Portfolio form */
.portfolio.form .rememberMe label {
    display: inline-block;
    width: 20%;
}

.portfolio.form .rememberMe p {
    display: inline-block;
    margin: 0;
    padding: 0;
}

/* View block */
div.view {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid var(--ns-border);
}

div.view .row {
    margin: 0;
}

/* ============================================================
   RESPONSIVE — CLASS STAGES
   ============================================================ */

@media screen and (min-width: 768px) {
    #class-stages-outer {
        border-bottom: 2px solid #dde3ec;
        margin: 1em auto;
    }

    #class-stages {
        margin: 0 auto;
        padding-bottom: 1em;
        text-align: center;
        width: 610px;
        overflow: hidden;
    }

    #class-stages.class-stage-webex {
        width: 610px;
    }

    #class-stages .class-stage {
        float: left;
        width: 150px;
        opacity: 0.65;
    }

    #class-stages .class-stage.active {
        opacity: 1;
        font-weight: 600;
    }

    #class-stages .class-stage-divider {
        width: 80px;
    }

    #class-stages .class-stage-divider .divider {
        display: block;
        width: 60px;
        margin: 2em auto 0;
        border-top: 2px solid #333;
    }

    #class-stages .class-stage-divider .divider.active {
        border-color: #DC6E2D;
        opacity: 1;
    }

    #class-stages .class-stage-spacer {
        width: 100px;
    }

    #class-stages .class-stage-spacer .spacer {
        display: block;
        width: 100px;
        margin: 2em auto 0;
    }

    .creditGroup label.creditTypeLabel {
        font-weight: normal;
        padding: 0;
        margin: 0;
        cursor: pointer;
    }

    .creditGroup input[type='checkbox'] {
        cursor: pointer;
    }

    .table.table-condensed tr.classcredithead th {
        padding: 10px 15px;
        font-weight: bold;
        color: #333;
        background-color: #f5f5f5;
        border-top: 1px solid #aab4c5;
        border-bottom: 1px solid #aab4c5;
    }

    .creditGroup table tr td:first-of-type {
        padding-left: 10px;
    }

    div.todo-block {
        margin-left: 15px;
    }
}

/* ============================================================
   ADMIN GUEST NAV (adminGuest layout)
   ============================================================ */

.admin-guest-nav {
    background-color: var(--ns-navy);
    min-height: 50px;
}

.admin-guest-nav #ns-logo img {
    height: 40px;
    max-height: 40px;
}

.admin-guest-title {
    color: var(--ns-text-bright);
    font-size: 1.25rem;
    font-weight: 600;
}

/* Login page styles are in css/admin/adminlogin.css */

/* ============================================================
   MANAGEMENT DASHBOARD TILES  (.dashicons / .managedash-item)
   Used on CLTC index, management dashboard, and any section
   landing page that uses the image-tile navigation pattern.
   ============================================================ */

.dashicons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 0.25rem;
}

@media (max-width: 900px) {
    .dashicons { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
    .dashicons { grid-template-columns: 1fr; }
}

.managedash-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    padding: 2.25rem 1.5rem 2rem;
    background:
        radial-gradient(ellipse at 50% -10%, rgba(61, 126, 191, 0.18) 0%, transparent 65%),
        linear-gradient(170deg, var(--ns-navy-hover) 0%, var(--ns-navy-dark) 100%);
    border: 1px solid rgba(61, 126, 191, 0.18);
    border-radius: 14px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.88);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.35),
        0 4px 14px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition:
        transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1),
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        color 0.15s ease;
}

/* Subtle top-edge highlight line */
.managedash-item a::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
    border-radius: 0 0 50% 50%;
}

/* Accent glow layer revealed on hover */
.managedash-item a::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(61, 126, 191, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.2s ease;
    border-radius: inherit;
}

.managedash-item a:hover {
    transform: translateY(-4px);
    border-color: rgba(61, 126, 191, 0.55);
    color: #fff;
    text-decoration: none;
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.3),
        0 10px 32px rgba(0, 0, 0, 0.36),
        0 0 0 1px rgba(61, 126, 191, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.managedash-item a:hover::after {
    opacity: 1;
}

.managedash-item a:active {
    transform: translateY(-1px);
    transition-duration: 0.08s;
}

.managedash-item img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 6px rgba(61, 126, 191, 0.25));
    transition:
        transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1),
        filter 0.2s ease;
}

.managedash-item a:hover img {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 14px rgba(61, 126, 191, 0.5));
}

.managedash-item h2 {
    font-size: 0.9rem;
    font-weight: 600;
    color: inherit;
    margin: 0;
    text-align: center;
    letter-spacing: 0.02em;
    line-height: 1.35;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
}

/* ============================================================
   CONDITIONAL / DEPENDENT FORM SUB-PANELS
   Shown/hidden based on a parent field's value. Visually groups
   dependent fields without relying on indentation alone.
   ============================================================ */

.form-sub-panel {
    background: #f4f7fb;
    border: 1px solid var(--ns-border);
    border-left: 3px solid var(--ns-accent);
    border-radius: 0 6px 6px 0;
    padding: 1.25rem 1.5rem 0.25rem;
    margin: 0.25rem 0 1.5rem 0;
}

/* Nested sub-panel (e.g. multipay inside register) */
.form-sub-panel .form-sub-panel {
    background: #eaeff7;
    border-left-color: #6b9fd4;
    padding: 1rem 1.25rem 0.25rem;
    margin: 0 0 1rem 0;
}

/* ============================================================
   STATE / LOCATION CHECKBOX GRID (course request wizard)
   ============================================================ */

.state-check-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 0.5rem;
}

@media (max-width: 576px) {
    .state-check-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Checked row highlight — CSS-only, no JS needed */
.state-check-grid > .form-check:has(.form-check-input:checked),
.check-highlight-group .form-check:has(.form-check-input:checked) {
    background-color: #e6f4ea;
    border-radius: 4px;
}

/* Smooth transition for JS-toggled selecteditem/bulkitem wrappers */
div.bulkitem,
div.selecteditem {
    border-radius: 4px;
    transition: background-color 0.1s ease;
}

/* Disabled state in wizard step 4 */
.state-check-grid .form-check:has(.form-check-input:disabled) {
    opacity: 0.55;
}

.state-check-grid .form-check:has(.form-check-input:checked:disabled) {
    background-color: #e6f4ea;
    border-radius: 4px;
    opacity: 0.55;
}
