:root {
    --axion-bg: #f4f7fb;
    --axion-surface: #ffffff;
    --axion-surface-soft: #f8fafc;
    --axion-border: #e5eaf2;
    --axion-text: #172033;
    --axion-muted: #667085;
    --axion-primary: #185adb;
    --axion-primary-dark: #0f3f9f;
    --axion-teal: #0f9f8f;
    --axion-gold: #d99a21;
    --axion-danger: #dc3545;
    --axion-shadow: 0 12px 30px rgba(23, 32, 51, .08);
    --axion-shadow-sm: 0 8px 20px rgba(23, 32, 51, .06);
}

html,
body {
    color: var(--axion-text);
    background: var(--axion-bg);
    font-family: "Inter", "Source Sans Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: var(--axion-primary);
}

a:hover {
    color: var(--axion-primary-dark);
}

.content-wrapper,
.main-container {
    background:
        radial-gradient(circle at top left, rgba(24, 90, 219, .08), transparent 28rem),
        linear-gradient(180deg, #f8fbff 0%, var(--axion-bg) 48%, #eef3f8 100%);
}

.content-header h1,
.page-header h1,
h1,
h2,
h3,
h4,
h5 {
    color: var(--axion-text);
    font-weight: 700;
    letter-spacing: 0;
}

.content-header small,
.text-muted {
    color: var(--axion-muted) !important;
}

.card,
.card-box,
.login-box {
    border: 1px solid var(--axion-border);
    border-radius: 8px;
    box-shadow: var(--axion-shadow-sm);
}

.card {
    overflow: hidden;
}

.card-header,
.modal-header {
    background: linear-gradient(180deg, #ffffff 0%, var(--axion-surface-soft) 100%);
    border-bottom: 1px solid var(--axion-border);
}

.card-title {
    color: var(--axion-text);
    font-weight: 700;
}

.card-body,
.modal-body {
    color: var(--axion-text);
}

.btn {
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0;
    box-shadow: none !important;
}

.btn-outline-primary {
    color: var(--axion-primary);
    border-color: rgba(24, 90, 219, .35);
}

.btn-outline-primary:hover {
    border-color: var(--axion-primary);
    background: var(--axion-primary);
}

.form-control,
.custom-select,
.select2-container--default .select2-selection--single {
    min-height: 40px;
    border-color: var(--axion-border);
    border-radius: 6px;
    color: var(--axion-text);
    background-color: #fff;
    box-shadow: none;
}

.form-control:focus,
.custom-select:focus,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: rgba(24, 90, 219, .65);
    box-shadow: 0 0 0 .2rem rgba(24, 90, 219, .12);
}

label {
    color: #344054;
    font-weight: 600;
}

.table {
    color: var(--axion-text);
}

.table thead th {
    border-bottom: 1px solid var(--axion-border);
    color: #475467;
    background: var(--axion-surface-soft);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.table-bordered,
.table-bordered td,
.table-bordered th {
    border-color: var(--axion-border);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(248, 250, 252, .8);
}

.table-hover tbody tr:hover {
    background-color: rgba(24, 90, 219, .06);
}

.badge {
    border-radius: 999px;
    padding: .4em .65em;
    font-weight: 700;
}

.alert {
    border: 0;
    border-left: 4px solid currentColor;
    border-radius: 8px;
    box-shadow: var(--axion-shadow-sm);
}

.modal-content {
    border: 1px solid var(--axion-border);
    border-radius: 8px;
    box-shadow: var(--axion-shadow);
}

.nav-tabs,
.nav-pills {
    border-color: var(--axion-border);
}

.nav-tabs .nav-link,
.nav-pills .nav-link {
    border-radius: 6px;
    color: #475467;
    font-weight: 600;
}

.nav-tabs .nav-link.active,
.nav-pills .nav-link.active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--axion-primary), var(--axion-teal));
}

.small-box {
    border-radius: 8px;
    box-shadow: var(--axion-shadow-sm);
}

.small-box .inner h3 {
    font-weight: 800;
}

.main-sidebar,
.left-side-bar {
    box-shadow: 10px 0 24px rgba(23, 32, 51, .10);
}

.sidebar-dark-primary,
.left-side-bar {
    background: #111827 !important;
}

body.sidebar-light .left-side-bar,
body.sidebar-dark .left-side-bar {
    background: #111827 !important;
}

body.sidebar-light .sidebar-menu .dropdown-toggle,
body.sidebar-light .sidebar-menu .dropdown-toggle .micon,
body.sidebar-light .sidebar-menu .submenu li a,
body.sidebar-dark .sidebar-menu .dropdown-toggle,
body.sidebar-dark .sidebar-menu .dropdown-toggle .micon,
body.sidebar-dark .sidebar-menu .submenu li a,
.left-side-bar .sidebar-menu .dropdown-toggle,
.left-side-bar .sidebar-menu .dropdown-toggle .micon,
.left-side-bar .sidebar-menu .submenu li a {
    color: #ffffff !important;
}

.nav-sidebar .nav-link,
.sidebar-menu .dropdown-toggle,
.sidebar-menu .submenu a {
    border-radius: 6px;
    font-weight: 600;
}

.partner-menu-caption {
    color: rgba(255, 255, 255, .48);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    padding: 9px 27px 8px;
    text-transform: uppercase;
}

.left-side-bar .sidebar-menu > ul > li {
    padding-bottom: 3px;
    padding-top: 3px;
}

.left-side-bar .sidebar-menu .dropdown-toggle {
    min-height: 48px;
    padding-bottom: 12px;
    padding-top: 12px;
}

.left-side-bar .sidebar-menu .submenu {
    padding-bottom: 6px;
    padding-top: 6px;
}

.left-side-bar .sidebar-menu .submenu li a {
    font-size: 13px;
    padding-bottom: 10px;
    padding-top: 10px;
}

.left-side-bar .sidebar-menu .submenu li a.active {
    box-shadow: inset 3px 0 0 var(--axion-teal);
}

.left-side-bar .sidebar-menu .dropdown.show > .dropdown-toggle {
    background: rgba(255, 255, 255, .12) !important;
}

.nav-sidebar .nav-link.active,
.sidebar-menu .dropdown-toggle.active,
.sidebar-menu .submenu a.active {
    background: linear-gradient(135deg, var(--axion-primary), var(--axion-teal)) !important;
    color: #fff !important;
}

.main-header,
.header {
    border-bottom: 1px solid var(--axion-border);
    box-shadow: 0 6px 18px rgba(23, 32, 51, .05);
}

.user-info-dropdown .dropdown-toggle .user-icon {
    overflow: hidden;
}

.user-info-dropdown .dropdown-toggle .user-icon .professor-header-avatar {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.dropdown-menu {
    border: 1px solid var(--axion-border);
    border-radius: 8px;
    box-shadow: var(--axion-shadow);
}

.axion-notification-bell {
    position: relative;
}

.axion-notification-count {
    align-items: center;
    background: #e84f5b;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    display: flex;
    font-size: 9px;
    font-weight: 800;
    height: 19px;
    justify-content: center;
    line-height: 1;
    min-width: 19px;
    padding: 0 4px;
    position: absolute;
    right: 2px;
    top: 4px;
}

.axion-notification-menu {
    border-radius: 14px;
    overflow: hidden;
    padding: 0;
    width: 390px;
}

.axion-notification-menu__header {
    align-items: center;
    background: var(--axion-surface-raised);
    border-bottom: 1px solid var(--axion-border);
    display: flex;
    justify-content: space-between;
    padding: 16px 18px;
}

.axion-notification-menu__header strong,
.axion-notification-menu__header span {
    display: block;
}

.axion-notification-menu__header strong {
    color: var(--axion-text);
    font-size: 15px;
}

.axion-notification-menu__header span {
    color: var(--axion-muted);
    font-size: 11px;
    margin-top: 2px;
}

.axion-notification-menu__header button {
    background: transparent;
    border: 0;
    color: var(--axion-primary);
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    padding: 5px;
}

.axion-notification-menu__list {
    max-height: 390px;
    overflow-y: auto;
}

.axion-notification-menu__item {
    border-bottom: 1px solid #edf0f5;
    margin: 0;
}

.axion-notification-menu__item > button {
    align-items: flex-start;
    background: var(--axion-surface-raised);
    border: 0;
    color: inherit;
    cursor: pointer;
    display: grid;
    gap: 11px;
    grid-template-columns: 40px minmax(0, 1fr) 8px;
    padding: 13px 16px;
    text-align: left;
    transition: background .15s ease;
    width: 100%;
}

.axion-notification-menu__item > button:hover,
.axion-notification-menu__item.is-unread > button {
    background: #f5f8ff;
}

.axion-notification-menu__icon {
    align-items: center;
    background: #edf1f7;
    border-radius: 11px;
    color: #667085;
    display: flex;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.axion-notification-menu__icon.is-financeiro {
    background: #e2f5eb;
    color: #22805a;
}

.axion-notification-menu__icon.is-academico {
    background: #eee9ff;
    color: #7255c7;
}

.axion-notification-menu__icon.is-negociacao {
    background: #fff0d9;
    color: #b26a16;
}

.axion-notification-menu__icon.is-sistema {
    background: #e9effc;
    color: #3f68b5;
}

.axion-notification-menu__content {
    min-width: 0;
}

.axion-notification-menu__content strong,
.axion-notification-menu__content > span,
.axion-notification-menu__content time {
    display: block;
}

.axion-notification-menu__content strong {
    color: var(--axion-text);
    font-size: 12px;
    margin-bottom: 3px;
}

.axion-notification-menu__content > span {
    color: #667085;
    font-size: 11px;
    line-height: 1.4;
}

.axion-notification-menu__content time {
    color: #8c94a8;
    font-size: 9px;
    margin-top: 5px;
}

.axion-notification-menu__dot {
    background: #2d6bd2;
    border-radius: 50%;
    height: 7px;
    margin-top: 5px;
    width: 7px;
}

.axion-notification-menu__empty {
    align-items: center;
    color: var(--axion-muted);
    display: flex;
    flex-direction: column;
    min-height: 190px;
    justify-content: center;
    padding: 22px;
    text-align: center;
}

.axion-notification-menu__empty i {
    color: #a9b1c2;
    font-size: 27px;
    margin-bottom: 9px;
}

.axion-notification-menu__empty strong {
    color: var(--axion-text);
    font-size: 13px;
}

.axion-notification-menu__empty span {
    font-size: 11px;
}

.axion-notification-menu__footer {
    background: #f8fafc;
    border-top: 1px solid var(--axion-border);
    padding: 12px 16px;
    text-align: center;
}

.axion-notification-menu__footer a {
    color: var(--axion-primary);
    font-size: 11px;
    font-weight: 700;
}

.footer-wrap {
    color: var(--axion-muted);
    background: rgba(255, 255, 255, .82);
}

.dataTables_wrapper .dataTables_paginate .paginate_button,
.page-link {
    border-radius: 6px !important;
}

.page-item.active .page-link {
    border-color: var(--axion-primary);
    background: var(--axion-primary);
}

@media (max-width: 767.98px) {
    .axion-notification-menu {
        max-width: calc(100vw - 24px);
        width: 360px;
    }

    .content-header .d-flex,
    .card-header .row {
        gap: .75rem;
    }

    .content-header .d-flex {
        align-items: flex-start !important;
        flex-direction: column;
    }

    .btn {
        white-space: normal;
    }
}

/* --------------------------------------------------------------------------
 * Axion UI 2.0 — camada visual transversal
 * ----------------------------------------------------------------------- */
:root {
    --axion-bg: #e2e9f1;
    --axion-bg-deep: #d6e0eb;
    --axion-surface: #f2f5f8;
    --axion-surface-raised: #f6f8fa;
    --axion-surface-soft: #e9eff5;
    --axion-border: #d7e1ee;
    --axion-border-strong: #c4d2e4;
    --axion-text: #132238;
    --axion-muted: #607089;
    --axion-primary: #1769e0;
    --axion-primary-dark: #0b3f91;
    --axion-primary-soft: #e4efff;
    --axion-cyan: #18a9c7;
    --axion-teal: #138f9b;
    --axion-navy: #071a35;
    --axion-navy-soft: #0c294f;
    --axion-radius: 14px;
    --axion-radius-sm: 10px;
    --axion-shadow: 0 18px 50px rgba(22, 49, 84, .14);
    --axion-shadow-sm: 0 8px 24px rgba(22, 49, 84, .09);
    --axion-glow: 0 0 0 1px rgba(52, 138, 255, .08), 0 12px 32px rgba(18, 89, 180, .10);
}

html { background: var(--axion-bg-deep); }

body,
.wrapper,
.content-wrapper,
.main-container {
    background-color: var(--axion-bg) !important;
}

.axion-portal,
.wrapper,
.content-wrapper,
.main-container {
    background-image:
        radial-gradient(circle at 9% 3%, rgba(37, 119, 225, .12), transparent 23rem),
        radial-gradient(circle at 94% 22%, rgba(24, 169, 199, .07), transparent 25rem),
        linear-gradient(145deg, rgba(255,255,255,.22), transparent 42%) !important;
    background-attachment: fixed;
}

/* Mantém o fundo confortável mesmo em páginas fora dos layouts dos portais. */
body:not(.axion-auth) {
    min-height: 100vh;
    background-color: var(--axion-bg) !important;
    background-image:
        radial-gradient(circle at 9% 3%, rgba(37, 119, 225, .12), transparent 23rem),
        radial-gradient(circle at 94% 22%, rgba(24, 169, 199, .07), transparent 25rem) !important;
    background-attachment: fixed;
}

.main-container { min-height: 100vh; }

.main-container > .pd-ltr-20,
.content-wrapper > .content,
.content-wrapper > .content-header {
    position: relative;
    z-index: auto;
}

.main-container > .pd-ltr-20 { padding-top: 26px; }

p {
    color: #52637b;
    line-height: 1.62;
}

.title p,
.content-header p,
.card-header p,
.page-header p { max-width: 72ch; }

h1, h2, h3 { letter-spacing: -.025em; }
h4, h5, h6 { letter-spacing: -.012em; }

.card,
.card-box,
.modal-content,
.small-box,
.info-box {
    border: 1px solid rgba(188, 205, 226, .78);
    border-radius: var(--axion-radius);
    background-color: rgba(242, 245, 248, .97);
    box-shadow: var(--axion-shadow-sm);
}

.card-box,
.card,
.small-box,
.info-box {
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.card-box:hover,
.card:hover,
.info-box:hover {
    border-color: rgba(89, 143, 211, .42);
    box-shadow: var(--axion-glow);
}

.card-header,
.modal-header {
    padding: 18px 20px;
    border-color: var(--axion-border);
    background: linear-gradient(135deg, rgba(232,239,247,.98), rgba(242,245,248,.98));
}

.card-body,
.modal-body { background: transparent; }

.btn {
    min-height: 38px;
    padding: .52rem 1rem;
    border-radius: 9px;
    transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary,
.bg-primary,
.badge-primary {
    border-color: #1769e0 !important;
    background: linear-gradient(135deg, #1769e0, #1355ba) !important;
}

.btn-primary:hover {
    filter: saturate(1.08) brightness(1.04);
    box-shadow: 0 8px 20px rgba(23, 105, 224, .22) !important;
}

.btn-light,
.btn-secondary {
    border-color: var(--axion-border-strong);
    background: #eef3f9;
    color: #31435d;
}

.form-control,
.custom-select,
.select2-container--default .select2-selection--single {
    min-height: 44px;
    border-color: var(--axion-border-strong);
    border-radius: 10px;
    background-color: #edf2f7;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.form-control:hover,
.custom-select:hover { border-color: #9eb6d5; }

.form-control:focus,
.custom-select:focus {
    border-color: #448bea;
    background-color: #f8fafc;
    box-shadow: 0 0 0 4px rgba(23, 105, 224, .11);
}

.form-group label,
label { margin-bottom: 7px; color: #263a56; font-size: 13px; }

.table-responsive {
    border: 1px solid var(--axion-border);
    border-radius: 12px;
    background: var(--axion-surface-raised);
}

.table { margin-bottom: 0; background: transparent; }
.table thead th {
    padding-top: 13px;
    padding-bottom: 13px;
    border-top: 0;
    background: #e9f0f8;
    color: #3d506b;
}
.table td { border-color: #e1e8f1; vertical-align: middle; }
.table-hover tbody tr { transition: background-color .14s ease; }
.table-hover tbody tr:hover { background: #edf5ff; }

.badge { padding: .44em .72em; letter-spacing: .01em; }
.badge-light { background: #e7edf5; color: #3c506a; }

.alert {
    border: 1px solid currentColor;
    border-left-width: 4px;
    background-color: rgba(242, 245, 248, .97);
}

.header,
.main-header {
    border-bottom-color: rgba(181, 199, 221, .7);
    background: rgba(235, 241, 247, .90) !important;
    box-shadow: 0 8px 28px rgba(20, 47, 82, .10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.left-side-bar,
.main-sidebar,
.sidebar-dark-primary {
    background:
        radial-gradient(circle at 15% 8%, rgba(39, 132, 238, .28), transparent 16rem),
        linear-gradient(180deg, #0b2a52 0%, #071b36 48%, #06162d 100%) !important;
    box-shadow: 12px 0 34px rgba(5, 25, 51, .18);
}

.left-side-bar::after,
.main-sidebar::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    content: '';
    opacity: .16;
    background-image: linear-gradient(rgba(115,178,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(115,178,255,.12) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

.left-side-bar > *,
.main-sidebar > * { position: relative; z-index: 1; }

.left-side-bar .brand-logo,
.brand-link {
    border-bottom: 1px solid rgba(139, 190, 255, .14) !important;
    background: rgba(4, 21, 44, .24);
}

.sidebar-menu .dropdown-toggle,
.sidebar-menu .submenu a,
.nav-sidebar .nav-link {
    margin: 2px 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}

.sidebar-menu .dropdown-toggle:hover,
.sidebar-menu .submenu a:hover,
.nav-sidebar .nav-link:hover {
    border-color: rgba(121, 181, 255, .18);
    background: rgba(82, 151, 235, .13) !important;
    transform: translateX(2px);
}

.sidebar-menu .dropdown-toggle.active,
.sidebar-menu .submenu a.active,
.nav-sidebar .nav-link.active {
    border-color: rgba(116, 190, 255, .26);
    background: linear-gradient(135deg, rgba(32,117,224,.95), rgba(15,137,166,.88)) !important;
    box-shadow: 0 8px 20px rgba(0, 43, 96, .28);
}

/* Navegação do parceiro: grupos leves e submenu com leitura de trilha. */
.partner-left-sidebar .sidebar-menu { padding: 8px 12px 28px; }
.partner-left-sidebar .partner-menu-caption {
    padding: 10px 10px 7px;
    color: rgba(190, 216, 248, .55);
    font-size: 9px;
    letter-spacing: .16em;
}
.partner-left-sidebar .sidebar-menu > ul > li {
    margin: 3px 0;
    padding: 0;
}
.partner-left-sidebar .sidebar-menu .dropdown-toggle {
    min-height: 48px;
    margin: 0;
    padding: 12px 38px 12px 52px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: rgba(241, 247, 255, .9) !important;
    font-size: 14px;
    font-weight: 600;
}
.partner-left-sidebar .sidebar-menu .dropdown-toggle .micon {
    left: 7px;
    width: 38px;
    height: 38px;
    color: #c9e2ff !important;
    font-size: 19px;
}
.partner-left-sidebar .sidebar-menu .dropdown-toggle::after { right: 15px; color: #9dc4ef; font-size: 14px; }
.partner-left-sidebar .sidebar-menu .dropdown.show > .dropdown-toggle {
    border-color: rgba(125, 179, 241, .2);
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(50, 101, 162, .34), rgba(27, 68, 119, .28)) !important;
    box-shadow: inset 0 1px rgba(255,255,255,.04);
}
.partner-left-sidebar .sidebar-menu .submenu {
    width: calc(100% - 24px);
    margin: 5px 0 9px 24px;
    padding: 3px 0 3px 13px;
    border: 0;
    border-left: 1px solid rgba(118, 174, 238, .24);
    border-radius: 0;
    background: transparent !important;
}
.partner-left-sidebar .sidebar-menu .submenu li { padding: 1px 0; }
.partner-left-sidebar .sidebar-menu .submenu li a {
    min-height: 38px;
    margin: 0;
    padding: 9px 12px 9px 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: rgba(220, 233, 249, .78) !important;
    font-size: 13px;
    font-weight: 500;
}
.partner-left-sidebar .sidebar-menu .submenu li > a::before {
    left: 7px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    content: '';
    background: rgba(137, 184, 236, .55);
    transform: translateY(-50%);
}
.partner-left-sidebar .sidebar-menu .submenu li a:hover {
    border-color: rgba(116, 177, 247, .12);
    color: #fff !important;
    background: rgba(71, 130, 200, .12) !important;
    transform: translateX(2px);
}
.partner-left-sidebar .sidebar-menu .submenu li:hover > a::before { left: 7px; background: #72d2ea; }
.partner-left-sidebar .sidebar-menu .submenu li a.active {
    border-color: rgba(91, 180, 229, .23);
    color: #fff !important;
    background: linear-gradient(90deg, rgba(31, 111, 207, .34), rgba(29, 120, 153, .16)) !important;
    box-shadow: inset 2px 0 #53c8e5;
}
.partner-left-sidebar .sidebar-menu .submenu li a.active::before { background: #74def1; box-shadow: 0 0 8px rgba(83, 200, 229, .7); }

.footer-wrap,
.main-footer {
    border: 1px solid var(--axion-border);
    background: rgba(232, 239, 248, .82);
    box-shadow: none;
}

.dropdown-menu {
    border-radius: 12px;
    background: rgba(242, 245, 248, .98);
    backdrop-filter: blur(12px);
}

.dropdown-item { border-radius: 7px; }
.dropdown-item:hover { background: var(--axion-primary-soft); color: var(--axion-primary-dark); }

.axion-portal .bg-white,
.content-wrapper .bg-white {
    background-color: var(--axion-surface-raised) !important;
}

.modal-backdrop.show { opacity: .58; }
.modal-content { overflow: hidden; }

/* Logins: uma estrutura visual consistente para aluno, docente e gestão. */
.axion-auth {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 24%, rgba(40, 128, 235, .28), transparent 25rem),
        radial-gradient(circle at 84% 78%, rgba(22, 172, 195, .18), transparent 28rem),
        linear-gradient(135deg, #07182f 0%, #0a2d57 54%, #0b4770 100%) !important;
}

.axion-auth::before {
    position: fixed;
    inset: 0;
    pointer-events: none;
    content: '';
    opacity: .22;
    background-image: linear-gradient(rgba(116,184,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(116,184,255,.16) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at center, #000, transparent 80%);
}

.axion-auth .login-header {
    border-bottom: 1px solid rgba(149, 196, 255, .16);
    background: rgba(5, 23, 47, .62) !important;
    box-shadow: none;
    backdrop-filter: blur(14px);
}

.axion-auth .brand-logo img { max-height: 46px; filter: drop-shadow(0 5px 14px rgba(0,0,0,.2)); }
.axion-auth .login-wrap { min-height: calc(100vh - 72px); padding: 42px 0; }
.axion-auth .login-wrap > .container { position: relative; z-index: 1; }

.axion-auth .login-wrap > .container > .row.align-items-center {
    overflow: hidden;
    max-width: 1080px;
    margin: 0 auto;
    border: 1px solid rgba(152, 199, 255, .24);
    border-radius: 22px;
    background: rgba(9, 36, 70, .66);
    box-shadow: 0 30px 80px rgba(0, 10, 28, .32);
    backdrop-filter: blur(12px);
}

.axion-auth .login-wrap > .container > .row.align-items-center > [class*='col-']:first-child { padding: 0; }
.axion-auth .login-wrap > .container > .row.align-items-center > [class*='col-']:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px 0 42px;
}
.axion-auth .login-wrap > .container > .row.align-items-center > [class*='col-']:first-child img {
    display: block;
    width: 100%;
    height: 570px;
    object-fit: cover;
    opacity: .78;
    filter: saturate(.8) contrast(1.05);
    mask-image: linear-gradient(90deg, #000 62%, transparent 100%);
}
.institution-login-carousel,
.institution-login-carousel .carousel-inner,
.institution-login-carousel .carousel-item { height: 570px; }
.axion-auth .institution-login-carousel .carousel-item img {
    opacity: .9;
    mask-image: none;
    -webkit-mask-image: none;
}
.institution-login-carousel .carousel-item::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 30%;
    content: '';
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(3, 18, 40, .78));
}
.institution-login-carousel .carousel-caption {
    right: 14%;
    bottom: 28px;
    left: 8%;
    z-index: 2;
    padding: 0 0 13px;
    text-align: left;
}
.institution-login-carousel .carousel-caption small { color: rgba(255,255,255,.92); font-size: 12px; font-weight: 500; line-height: 1.45; text-shadow: 0 2px 8px rgba(0,0,0,.55); }
.institution-login-carousel .carousel-indicators { justify-content: flex-start; margin-right: 12%; margin-left: 8%; }
.institution-login-carousel .carousel-indicators li { width: 24px; height: 4px; border: 0; border-radius: 99px; }
.institution-login-carousel .carousel-control-prev,
.institution-login-carousel .carousel-control-next { width: 9%; }

.axion-auth .login-box {
    width: 100%;
    max-width: 410px;
    margin: 30px 0;
    padding: 32px !important;
    border: 1px solid rgba(181, 210, 244, .78);
    border-radius: 18px !important;
    background: #dfe8f1 !important;
    box-shadow: 0 22px 55px rgba(0, 14, 37, .24) !important;
}

.axion-auth .login-title { margin-bottom: 28px; }
.axion-auth .login-title h2 {
    color: #12335e !important;
    font-size: clamp(24px, 3vw, 32px);
    letter-spacing: -.035em;
}
.axion-auth .login-title h2::after {
    display: block;
    width: 42px;
    height: 3px;
    margin: 13px auto 0;
    border-radius: 99px;
    content: '';
    background: linear-gradient(90deg, var(--axion-primary), var(--axion-cyan));
}

.axion-auth .input-group.custom { margin-bottom: 18px !important; }
.axion-auth .form-control { height: 50px; box-shadow: none !important; }
.axion-auth .btn-primary { height: 50px; }

/* AdminLTE também recebe o mesmo ritmo visual. */
.content-header { padding-top: 24px; }
.content-header .container-fluid,
.content .container-fluid { max-width: 1600px; }
.main-sidebar .brand-text { font-weight: 700 !important; letter-spacing: -.02em; }

/* Lista de aulas do aluno: leitura rápida em tabela e detalhes sob demanda. */
.aluno-aulas-card { background: rgba(242, 245, 248, .98); }
.aluno-aulas-filters { padding: 18px 20px; }
.aluno-aulas-filters label { color: #334b68; }
.aluno-next-class {
    display: flex;
    overflow: hidden;
    min-height: 132px;
    border: 1px solid rgba(74, 139, 220, .42);
    border-radius: 15px;
    background:
        radial-gradient(circle at 90% 0, rgba(24, 169, 199, .16), transparent 18rem),
        linear-gradient(135deg, #e1edfc, #edf4f8);
    box-shadow: 0 12px 30px rgba(31, 87, 154, .11);
}
.aluno-next-class__date {
    display: flex;
    min-width: 145px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    color: #fff;
    background: linear-gradient(145deg, #1769e0, #1151ad);
}
.aluno-next-class__date span { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.aluno-next-class__date strong { margin: 3px 0; font-size: 30px; line-height: 1; }
.aluno-next-class__date small { color: rgba(255,255,255,.84); }
.aluno-next-class__content { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; padding: 22px 26px; }
.aluno-next-class__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #526b88; font-size: 13px; }
.aluno-next-class__meta span { display: inline-flex; align-items: center; gap: 6px; }
.aluno-next-class__meta i { color: #1769e0; }
.aluno-aulas-table { min-width: 980px; }
.aluno-aulas-table th {
    white-space: nowrap;
    font-size: 12px;
    letter-spacing: .035em;
    text-transform: uppercase;
}
.aluno-aulas-table td { padding: 15px 14px; }
.aluno-aula-row { cursor: pointer; }
.aluno-aula-row:hover,
.aluno-aula-row.is-open { background: #e8f1fc !important; }
.aluno-aula-row--next { box-shadow: inset 4px 0 #1769e0; background: #edf5ff !important; }
.aluno-aula-row--focused {
    box-shadow: inset 4px 0 #18a9c7, 0 0 0 2px rgba(24, 169, 199, .14);
    background: #e8f6f8 !important;
}
.aluno-aula-row:focus-visible {
    outline: 3px solid rgba(23, 105, 224, .24);
    outline-offset: -3px;
}
.aluno-aula-row .fa-chevron-down { transition: transform .18s ease; }
.aluno-aula-row.is-open .fa-chevron-down { transform: rotate(180deg); }
.aluno-aula-detail-row:hover { background: transparent !important; }
.aluno-aula-detail {
    padding: 22px;
    border-top: 1px solid var(--axion-border);
    border-bottom: 1px solid var(--axion-border);
    background: #e9eff6;
}
.aluno-atividade-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 14px 0;
    border-top: 1px solid var(--axion-border);
}
.aluno-atividade-item:first-of-type { padding-top: 0; border-top: 0; }
.aluno-presenca-panel {
    height: 100%;
    padding: 16px;
    border: 1px solid var(--axion-border-strong);
    border-radius: 10px;
    background: rgba(246, 248, 250, .82);
}
.aluno-aulas-pagination { padding: 16px 20px; border-top: 1px solid var(--axion-border); }
.aluno-aulas-pagination .pagination { margin-bottom: 0; }
.aluno-aulas-pagination nav > div:first-child { display: none; }
.professor-classes-table { min-width: 1040px; }
.professor-classes-table th {
    white-space: nowrap;
    font-size: 12px;
    letter-spacing: .035em;
    text-transform: uppercase;
}
.professor-classes-table td { padding: 14px; vertical-align: middle; }
.evaluation-class-select { position: relative; }
.evaluation-class-select__icon,
.evaluation-class-select__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transform: translateY(-50%);
}
.evaluation-class-select__icon {
    left: 10px;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    color: #1769e0;
    background: #dceaff;
}
.evaluation-class-select__arrow { right: 15px; color: #61738d; font-size: 12px; }
.evaluation-class-select .form-control {
    height: 58px;
    padding: 0 44px 0 55px;
    border-color: #a9bfdc;
    background-color: #f3f7fb;
    font-weight: 600;
    appearance: none;
}
.evaluation-class-select .form-control:hover { border-color: #6598d8; background-color: #f7faff; }
.evaluation-class-select .form-control:disabled { cursor: wait; opacity: .72; }
.evaluation-class-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
    padding: 12px 14px;
    border: 1px solid #c7d9ee;
    border-radius: 11px;
    background: linear-gradient(135deg, #e8f2ff, #eef5f8);
}
.evaluation-class-preview__date {
    display: flex;
    min-width: 76px;
    flex-direction: column;
    padding-right: 14px;
    border-right: 1px solid #c7d9ee;
    color: #526780;
    font-size: 11px;
    text-transform: capitalize;
}
.evaluation-class-preview__date strong { color: #17385f; font-size: 15px; }
.evaluation-class-preview > div:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.evaluation-class-preview > div:last-child > strong { color: #123c72; }
.evaluation-class-preview > div:last-child > span {
    padding: 3px 8px;
    border-radius: 99px;
    color: #155e75;
    background: #d8f1f5;
    font-size: 11px;
    font-weight: 700;
}
.evaluation-class-preview small { width: 100%; color: #64748b; }

@media (max-width: 991.98px) {
    .main-container > .pd-ltr-20 { padding-top: 18px; }
    .axion-auth .login-wrap > .container > .row.align-items-center { max-width: 560px; }
    .axion-auth .login-wrap > .container > .row.align-items-center > [class*='col-']:first-child { display: none; }
    .axion-auth .login-wrap > .container > .row.align-items-center > [class*='col-']:last-child { padding: 0; }
    .axion-auth .login-box { margin: 18px; }
}

@media (max-width: 575.98px) {
    .card-box, .card, .modal-content { border-radius: 12px; }
    .axion-auth .login-wrap { padding: 20px 12px; }
    .axion-auth .login-box { margin: 8px; padding: 25px 20px !important; }
    .footer-wrap small { display: block; margin: 6px 0 0 !important; }
    .aluno-next-class { flex-direction: column; }
    .aluno-next-class__date { width: 100%; min-width: 0; padding: 14px; }
    .aluno-next-class__content { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
