:root {
    color-scheme: light;
    --lte-sidebar-width: 300px;
    --academics-primary: #0d6efd;
    --academics-sidebar: #ffffff;
    --academics-surface: #ffffff;
    --academics-radius: .65rem;
    --academics-shadow: 0 .125rem .5rem rgba(31, 41, 55, .08);
}

body { font-size: .925rem; }
.app-header { min-height: 58px; }
.app-header .nav-link { align-items: center; display: flex; min-height: 44px; }
.app-sidebar { background: var(--academics-sidebar) !important; color: #273142; }
.app-sidebar .sidebar-brand { min-height: 58px; }
.sidebar-brand .brand-link { align-items: center; display: flex; font-size: 1.15rem; padding: 0 1rem; width: 100%; }
.academics-brand { display: inline-flex; flex-direction: column; line-height: 1; }
.academics-brand .brand-primary { color: inherit; font-size: 1.25rem; font-weight: 700; letter-spacing: -.025em; }
.academics-brand .brand-descriptor { color: var(--bs-secondary-color); font-size: .62rem; font-weight: 700; letter-spacing: .08em; margin-top: .3rem; text-transform: uppercase; }
.sidebar-brand-text .brand-descriptor { color: #6c757d; }
.login-brand { align-items: center; color: #212529; }
.login-brand .brand-primary { font-size: 1.8rem; }
.login-brand .brand-descriptor { color: #6c757d; font-size: .68rem; }
.academics-logo { display: block; height: auto; max-width: 100%; }
.academics-logo-login { width: 250px; }
.academics-logo-sidebar { width: 205px; }
.dashboard-welcome { align-items: center; display: flex; justify-content: center; min-height: calc(100vh - 210px); }
.academics-logo-home { opacity: .92; width: min(420px, 72vw); }
.app-sidebar .sidebar-wrapper .sidebar-menu .nav-header { color: #6c757d; display: block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; line-height: 1.35; overflow: visible; padding-top: 1.25rem; text-overflow: clip; white-space: normal; }
.sidebar-menu .nav-link { align-items: center; border-radius: .4rem; margin: .12rem .5rem; min-height: 42px; padding: .6rem .75rem; width: auto; }
.app-sidebar .sidebar-wrapper .sidebar-menu .nav-link p { flex: 1 1 auto; line-height: 1.25; overflow: visible; padding-right: .35rem; text-overflow: clip; white-space: normal; width: auto; }
.sidebar-menu .nav-link .nav-arrow { flex: 0 0 auto; margin-left: auto; }
.sidebar-menu .nav-link { color: #46505c; }
.sidebar-menu .nav-link:hover { background: #eef4ff; color: var(--academics-primary); }
.sidebar-menu .nav-link.active { background: var(--academics-primary); box-shadow: 0 .2rem .5rem rgba(13,110,253,.25); color: #fff; }
.sidebar-menu .nav-icon { font-size: 1rem; }
.app-content { padding: 1.5rem 0 2.25rem; }
.app-footer { font-size: .82rem; padding-block: .85rem; }

.content-header, section.content { padding: 0; }
.content-header { align-items: flex-start; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; margin-bottom: 1.25rem; }
.content-header > h1 { align-items: center; color: #273142; display: flex; flex-wrap: wrap; font-size: 1.65rem; font-weight: 500; gap: .65rem; line-height: 1.2; margin: 0; }
.content-header small { color: var(--bs-secondary-color); font-size: .85rem; font-weight: 400; }
.content-header .breadcrumb { background: transparent; display: flex; flex-wrap: wrap; font-size: .82rem; gap: .35rem; list-style: none; margin: .45rem 0 0; padding: 0; }
.content-header .breadcrumb a { color: var(--bs-secondary-color); text-decoration: none; }
.content-header .breadcrumb a:hover { color: var(--academics-primary); }
.content-header .breadcrumb li + li::before { color: #adb5bd; content: "/"; margin-right: .35rem; }

.card, .box, .mdc-card { background: var(--academics-surface); border: 0; border-radius: var(--academics-radius); box-shadow: var(--academics-shadow); margin-bottom: 1.25rem; }
.card.card-outline { border-top: 3px solid var(--academics-primary); }
.card-header, .box-header { align-items: center; background: transparent; border-bottom: 1px solid #e9ecef; display: flex; flex-wrap: wrap; gap: .85rem; justify-content: space-between; min-height: 61px; padding: .9rem 1.15rem; }
.card-header::after, .box-header::after { clear: none; content: none; display: none; }
.card-header > .badge, .card-header > .btn, .card-header > a.btn, .card-header > small, .card-header > .card-tools,
.box-header > .badge, .box-header > .btn, .box-header > a.btn, .box-header > small, .box-header > .box-tools { flex: 0 0 auto; margin-left: auto; }
.card-title, .box-title { color: #273142; font-size: 1rem; font-weight: 600; margin: 0; }
.card-body, .box-body { overflow-x: auto; padding: 1.15rem; }
.card-footer, .box-footer { background: #fbfcfd; border-top: 1px solid #e9ecef; padding: .9rem 1.15rem; }
.box { border-top: 3px solid var(--academics-primary); }
.mdc-card__primary-action { color: inherit; }

.card-header form, .box-header form { align-items: center; display: flex !important; flex: 1 1 22rem; gap: .6rem; justify-content: flex-end; margin-left: auto; max-width: 38rem; }
.card-header > div:has(form), .box-header > div:has(form) { float: none !important; margin-left: auto; width: min(100%, 38rem) !important; }
.card-header form .input, .box-header form .input { flex: 1 1 auto; }
.card-header form input[type="text"], .card-header form input[type="search"], .box-header form input[type="text"], .box-header form input[type="search"] { border: 1px solid #ced4da; border-radius: .4rem; min-height: 42px; padding: .5rem .8rem; width: 100%; }
.input-group-btn { display: inline-flex; }

.btn { align-items: center; border-radius: .4rem; display: inline-flex; font-size: .875rem; font-weight: 500; gap: .4rem; justify-content: center; min-height: 40px; padding: .48rem .85rem; }
.btn-sm { font-size: .82rem; min-height: 36px; padding: .38rem .7rem; }
.btn-flat { border-radius: .35rem; }
.btn-info { color: #052c3a; }
.actions { white-space: nowrap; }
.actions a, .actions button { margin: .12rem; min-width: 38px; text-decoration: none; }
.icon-material-btn { box-shadow: none; }
.invoice-actions { align-items: center; display: flex; flex-wrap: nowrap; gap: .4rem; min-width: max-content; }
.invoice-actions .btn-action { border-radius: .4rem; flex: 0 0 40px; font-size: 1rem; height: 40px; margin: 0; min-height: 40px; min-width: 40px; padding: 0; width: 40px; }
.invoice-actions .btn-action:hover { transform: translateY(-1px); }
.invoice-customer { min-width: 220px; }
.invoice-customer strong, .invoice-customer a, .invoice-customer small,
.invoice-status .badge, .invoice-status small,
.invoice-reference strong, .invoice-reference small, .invoice-reference a,
.invoice-total span, .invoice-total strong { display: block; }
.invoice-customer a { font-size: .82rem; margin-top: .2rem; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.invoice-customer small { color: var(--bs-secondary-color); margin-top: .25rem; }
.invoice-document { min-width: 76px; }
.invoice-document strong { display: block; margin-top: .15rem; }
.invoice-status { min-width: 170px; }
.invoice-status .badge { font-size: .7rem; font-weight: 600; margin-bottom: .4rem; max-width: max-content; text-transform: capitalize; }
.invoice-status small { font-size: .72rem; line-height: 1.25; max-width: 190px; overflow-wrap: anywhere; }
.invoice-total { min-width: 95px; text-align: right; }
.invoice-total span { color: var(--bs-secondary-color); font-size: .72rem; }
.invoice-total strong { font-size: 1rem; margin-top: .1rem; }
.invoice-reference { min-width: 180px; }
.invoice-reference small { color: var(--bs-secondary-color); font-size: .72rem; margin-top: .2rem; }
.invoice-reference a { font-size: .78rem; margin-top: .35rem; text-decoration: none; }
.invoice-reference .invoice-hubspot-link { color: #e65f3c; font-weight: 600; }
.invoice-date { color: var(--bs-secondary-color); font-size: .78rem; min-width: 125px; white-space: normal; }
#data-table th:first-child, #data-table td:first-child { min-width: 64px; overflow-wrap: normal; white-space: nowrap; }
.subscription-reference { min-width: 145px; }
.subscription-reference strong, .subscription-reference small,
.subscription-contact strong, .subscription-contact a, .subscription-contact small { display: block; }
.subscription-reference small { color: var(--bs-secondary-color); font-size: .72rem; margin-top: .2rem; }
.subscription-contact { min-width: 230px; }
.subscription-contact a { font-size: .82rem; margin-top: .2rem; max-width: 250px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.subscription-contact small { color: var(--bs-secondary-color); font-size: .75rem; margin-top: .2rem; }
.subscription-total { min-width: 120px; }
.subscription-total strong { color: var(--bs-emphasis-color); display: block; font-size: .9rem; }
.subscription-term { min-width: 105px; }
.subscription-term strong, .subscription-term small { display: block; }
.subscription-term small { color: var(--bs-secondary-color); font-size: .72rem; margin-top: .2rem; }
.subscription-term .subscription-created { border-top: 1px solid #e5e9ee; margin-top: .4rem; padding-top: .4rem; white-space: normal; }
.subscriptions-filter-form { flex-basis: 46rem !important; max-width: 52rem !important; }
.subscriptions-filter-form input[type="search"] { flex: 1 1 20rem; min-width: 13rem; }
.subscriptions-filter-form .form-select { flex: 0 1 12rem; min-height: 42px; min-width: 10.5rem; }
.subscription-frequency { min-width: 105px; }
.subscription-frequency strong { display: block; font-size: .86rem; }
.subscription-payments { min-width: 90px; text-align: center; }
.subscription-payments strong { display: block; font-size: 1rem; }
.subscription-payments small { color: var(--bs-secondary-color); display: block; font-size: .7rem; }
.subscription-status { min-width: 115px; }
.subscription-status .badge { font-size: .7rem; font-weight: 600; text-transform: capitalize; }
.subscription-date { color: var(--bs-secondary-color); font-size: .78rem; min-width: 130px; }
.subscription-actions { align-items: center; display: flex; flex-wrap: nowrap; gap: .4rem; min-width: 94px; }
.subscription-actions .btn-action { flex: 0 0 40px; height: 40px; margin: 0; min-height: 40px; min-width: 40px; padding: 0; width: 40px; }
.subscription-products-table { min-width: 920px; }
.subscription-product-name { min-width: 280px; }
.subscription-product-name strong, .subscription-product-name small { display: block; }
.subscription-product-name small { color: var(--bs-secondary-color); font-size: .76rem; margin-top: .25rem; max-width: 420px; white-space: normal; }
.payment-history-card .card-header > div:first-child { min-width: 220px; }
.payment-history-card .card-title { float: none; }
.payment-history-card .card-header small { display: block; margin-top: .25rem; }
.payment-summary { align-items: flex-end; display: flex; flex-direction: column; gap: .35rem; margin-left: auto; }
.payment-summary strong { color: #273142; font-size: 1rem; }
.payment-history-table { min-width: 940px; }
.payment-transaction-code { display: inline-block; max-width: 210px; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; white-space: nowrap; }
.payment-message-row td { background: #fff5f5 !important; color: #842029; font-size: .78rem; padding-block: .5rem !important; }
.payment-detail-card .payment-links-panel { background: #f8fafc; border: 1px solid #dfe6ee; border-radius: .75rem; overflow: hidden; padding: 0; }
.payment-links-heading { align-items: flex-start; border-bottom: 1px solid #e4e9ef; display: flex; gap: .75rem; padding: 1rem; }
.payment-links-heading h4 { color: #273142; font-size: .92rem; font-weight: 700; line-height: 1.2; margin: 0; }
.payment-links-heading p { color: var(--bs-secondary-color); font-size: .72rem; line-height: 1.35; margin: .25rem 0 0; }
.payment-links-icon { align-items: center; background: #e8f1ff; border-radius: .5rem; color: var(--academics-primary); display: inline-flex; flex: 0 0 38px; height: 38px; justify-content: center; }
.payment-related-list { display: grid; gap: .65rem; padding: 1rem; }
.payment-detail-card .payment-related-link { align-items: center; background: #fff; border: 1px solid #dfe5ec; border-radius: .55rem; color: #273142; display: flex; gap: .7rem; margin: 0; min-height: 62px; padding: .7rem .8rem; text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; width: 100%; }
.payment-detail-card .payment-related-link:hover { border-color: #86b7fe; box-shadow: 0 .2rem .65rem rgba(31, 45, 61, .08); color: var(--academics-primary); transform: translateY(-1px); }
.payment-related-icon { align-items: center; background: #edf4ff; border-radius: .45rem; color: var(--academics-primary); display: inline-flex; flex: 0 0 38px; height: 38px; justify-content: center; }
.payment-related-icon--hubspot { background: #fff0eb; color: #e65f3c; }
.payment-related-icon--email { background: #fff7db; color: #9a6b00; }
.payment-related-copy { display: block; min-width: 0; }
.payment-related-copy small, .payment-related-copy strong { display: block; }
.payment-related-copy small { color: var(--bs-secondary-color); font-size: .67rem; line-height: 1.15; margin-bottom: .2rem; text-transform: uppercase; }
.payment-related-copy strong { font-size: .8rem; line-height: 1.25; overflow-wrap: anywhere; }
.payment-related-arrow { color: #8a96a3; flex: 0 0 auto; margin-left: auto; }
.events-coming-soon { margin-inline: auto; max-width: 900px; }
.events-coming-soon__icon { align-items: center; background: #e8f1ff; border-radius: 50%; color: var(--academics-primary); display: inline-flex; font-size: 2rem; height: 76px; justify-content: center; width: 76px; }
.events-coming-soon p { line-height: 1.65; max-width: 620px; }
.payment-response-card summary { color: var(--academics-primary); cursor: pointer; font-weight: 600; }
.payment-response-json { background: #111827; border-radius: .5rem; color: #e5e7eb; font-size: .76rem; margin: 1rem 0 0; max-height: 520px; overflow: auto; padding: 1rem; white-space: pre-wrap; word-break: break-word; }
.payments-list-header > div:first-child { min-width: 230px; }
.payments-list-header small { display: block; margin-top: .25rem; }
.box-header > div:first-child { min-width: 230px; }
.box-header > div:first-child .card-title { float: none; margin: 0; }
.box-header > div:first-child small { display: block; margin-top: .25rem; }
.payments-search-form { flex: 1 1 480px !important; max-width: 680px !important; }
.payments-search-form .input { flex: 1; margin: 0; }
.market-nav-tabs { border-bottom: 1px solid #d8dee6; gap: .25rem; margin: 0 0 1rem; padding-left: .35rem; }
.market-nav-tabs .nav-item { margin-bottom: -1px; }
.market-nav-tabs .nav-link { align-items: center; background: #f4f6f9; border: 1px solid #d8dee6; border-bottom-color: transparent; border-radius: .45rem .45rem 0 0; color: #536171; display: inline-flex; font-size: .88rem; font-weight: 650; gap: .5rem; min-height: 46px; padding: .65rem 1rem; }
.market-nav-tabs .nav-link:hover { background: #fff; border-color: #b8c2cc #b8c2cc transparent; color: var(--academics-primary); }
.market-nav-tabs .nav-link.active { background: #fff; border-color: var(--academics-primary) #d8dee6 #fff; border-top-width: 3px; color: var(--academics-primary); padding-top: calc(.65rem - 2px); }
.market-nav-tabs .nav-link .bi { font-size: .9rem; }
.market-nav-tabs .badge { background: #dfe5ec; color: #46505c; font-size: .68rem; font-weight: 700; min-width: 1.65rem; }
.market-nav-tabs .nav-link.active .badge { background: var(--academics-primary); color: #fff; }
.module-list-card { border-top: 0; }
@media (max-width: 575.98px) { .market-nav-tabs { padding-left: 0; } .market-nav-tabs .nav-item { flex: 1 1 50%; } .market-nav-tabs .nav-link { justify-content: center; padding-inline: .55rem; width: 100%; } }
.payments-list-table { min-width: 1260px; }
.payments-list-table td > small, .payment-contact small { color: var(--bs-secondary-color); display: block; font-size: .72rem; margin-top: .2rem; }
.payment-relation-link { align-items: center; color: #273142; display: inline-flex; gap: .55rem; min-width: 150px; text-decoration: none; }
.payment-relation-link i { align-items: center; background: #eef4ff; border-radius: .4rem; color: var(--academics-primary); display: inline-flex; height: 36px; justify-content: center; width: 36px; }
.payment-relation-link strong, .payment-relation-link small { display: block; }
.payment-relation-link small { color: var(--bs-secondary-color); font-size: .7rem; margin-top: .12rem; }
.payment-relation-link:hover { color: var(--academics-primary); }
.payment-contact { min-width: 210px; }
.btn-hubspot { background: #ff7a59; border-color: #ff7a59; color: #fff; }
.btn-hubspot:hover, .btn-hubspot:focus { background: #e66a4d; border-color: #e66a4d; color: #fff; }

.fa::before { display: inline-block; font-family: "bootstrap-icons"; font-style: normal; font-weight: normal !important; line-height: 1; vertical-align: -.125em; }
.fa-dashboard::before { content: "\f425"; }
.fa-eye::before { content: "\f341"; }
.fa-money::before { content: "\f244"; }
.fa-refresh::before { content: "\f130"; }
.fa-copy::before { content: "\f759"; }
.fa-envelope::before { content: "\f32f"; }
.fa-check::before { content: "\f26e"; }
.fa-info::before { content: "\f431"; }
.fa-ban::before { content: "\f62a"; }

.table { --bs-table-striped-bg: #f8fafc; border-color: #e4e9ef; margin-bottom: .75rem; }
.table > :not(caption) > * > * { padding: .78rem .75rem; }
.table thead th, .table tfoot th { background: #f4f6f9; color: #46505c; font-size: .77rem; font-weight: 700; letter-spacing: .025em; text-transform: uppercase; vertical-align: middle; }
.table thead a, .table tfoot a { color: inherit; text-decoration: none; }
.table tbody tr { transition: background-color .15s ease; }
.table tbody tr:hover { --bs-table-bg-state: #f1f6ff; }
.table-responsive, .dataTables_wrapper { margin-bottom: 1rem; width: 100%; }
.legacy-content-card { background: #fff; border-top: 3px solid var(--academics-primary); border-radius: var(--academics-radius); box-shadow: var(--academics-shadow); max-width: 100%; overflow: hidden; padding: 1.15rem; width: 100%; }
.legacy-content-card > h3 { border-bottom: 1px solid #e9ecef; color: #273142; font-size: 1.05rem; font-weight: 600; margin: -1.15rem -1.15rem 1rem; padding: 1rem 1.15rem; }
.legacy-content-card > .table-responsive:last-child { margin-bottom: 0; }
.legacy-content-card .vertical-table { max-width: 100%; }
.legacy-content-card .vertical-table th, .content .table th[scope="row"] { background: #f8fafc; color: #3e4854; min-width: 160px; width: 28%; }
.legacy-content-card td, .content .table td { overflow-wrap: anywhere; }
.legacy-content-card .related { border-top: 1px solid #e9ecef; margin-top: 1.25rem; padding-top: 1.25rem; }
.legacy-content-card .related h4 { font-size: 1rem; font-weight: 600; }
.dt-container .dt-layout-row { margin: .75rem 0; }
.dt-scroll-body { border-bottom: 1px solid #dee2e6 !important; }

.label { border-radius: 50rem; display: inline-block; font-size: .72rem; font-weight: 700; padding: .38em .72em; }
.label-success { background: var(--bs-success); color: #fff; }
.label-danger { background: var(--bs-danger); color: #fff; }
.label-warning { background: var(--bs-warning); color: #111; }
.label-info { background: var(--bs-info); color: #052c3a; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: inline-block; font-size: .84rem; font-weight: 600; margin-bottom: .4rem; }
.form-control, select, textarea { min-height: 42px; }
.form.content { background: #fff; border-top: 3px solid var(--academics-primary); border-radius: var(--academics-radius); box-shadow: var(--academics-shadow); max-width: 960px; padding: 1.35rem; }
.form.content fieldset { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form.content legend { border-bottom: 1px solid #e9ecef; color: #273142; float: none; font-size: 1.05rem; font-weight: 600; grid-column: 1 / -1; margin-bottom: .25rem; padding-bottom: .8rem; }
.form.content .input { min-width: 0; }
.form.content .input > label { color: #46505c; display: block; font-size: .82rem; font-weight: 600; margin-bottom: .38rem; }
.form.content input:not([type="checkbox"]):not([type="radio"]), .form.content select, .form.content textarea { background: #fff; border: 1px solid #ced4da; border-radius: .4rem; display: block; min-height: 42px; padding: .5rem .75rem; width: 100%; }
.form.content textarea { min-height: 110px; }
.form.content input:focus, .form.content select:focus, .form.content textarea:focus { border-color: #86b7fe; box-shadow: 0 0 0 .2rem rgba(13,110,253,.15); outline: 0; }
.form.content .checkbox { align-items: flex-start; display: flex; gap: .5rem; margin: .35rem 0; }
.form.content .checkbox label { font-weight: 400; }
.form.content .input.select:has(.checkbox) { background: #f8fafc; border: 1px solid #e4e9ef; border-radius: .45rem; grid-column: 1 / -1; max-height: 310px; overflow-y: auto; padding: 1rem; }
.form.content form > button { margin-top: 1.15rem; }
#actions-sidebar { display: none; }
.pagination { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 1rem 0 .75rem; padding: 0; }
.pagination a, .pagination .active, .pagination .disabled { align-items: center; background: #fff; border: 1px solid #dee2e6; border-radius: .4rem; display: flex; min-height: 38px; padding: .42rem .75rem; text-decoration: none; }
.pagination a:hover { background: #eef4ff; border-color: #b8d0fa; }
.pagination .active { background: var(--bs-primary); border-color: var(--bs-primary); color: #fff; }
.pagination .disabled { color: var(--bs-secondary-color); opacity: .65; }
.paginator > p { color: var(--bs-secondary-color); font-size: .82rem; }
.col-xs-12 { width: 100%; }
.pull-right { float: right !important; }
.pull-left { float: left !important; }

.alert { border: 1px solid currentColor; border-left-width: 4px; border-radius: .5rem; box-shadow: none; line-height: 1.45; margin-bottom: 1rem; padding: .9rem 1rem; }
.alert.alert-dismissible { padding-right: 3.25rem; position: relative; }
.alert.alert-dismissible .btn-close { box-sizing: content-box; height: 1rem !important; left: auto !important; margin: 0; max-width: 1rem !important; min-height: 1rem !important; min-width: 1rem !important; padding: .5rem; position: absolute !important; right: .8rem !important; top: .8rem !important; width: 1rem !important; }
.login-card-body .alert { font-size: .875rem; }
.login-page { background: linear-gradient(135deg, #eef3f8 0%, #dfe9f5 100%); min-height: 100vh; }
.login-box { width: min(420px, calc(100% - 2rem)); }
.login-card-body { padding: 1.75rem; }
.login-card-body form .input { margin-bottom: 1rem; }
.login-card-body input { border: 1px solid #ced4da; border-radius: .4rem; display: block; min-height: 46px; padding: .7rem .9rem; width: 100%; }
.login-card-body button { width: 100%; }
.dashboard-placeholder { background: #fff; border: 1px dashed #dfe4ea; border-radius: var(--academics-radius); min-height: calc(100vh - 210px); }

@media (max-width: 767.98px) {
    .app-content { padding-top: 1rem; }
    .content-header { display: block; }
    .content-header > h1 { font-size: 1.35rem; }
    .content-header .breadcrumb { margin-top: .75rem; }
    .card-header form, .box-header form { flex-basis: 100%; max-width: none; }
    .card-body, .box-body { padding: .85rem; }
    .table > :not(caption) > * > * { padding: .62rem; }
    .form.content fieldset { grid-template-columns: 1fr; }
}
