:root {
    --admin-bg: #f4f7fb;
    --admin-surface: rgba(255, 255, 255, 0.92);
    --admin-surface-strong: #ffffff;
    --admin-border: rgba(15, 23, 42, 0.08);
    --admin-text: #16324f;
    --admin-muted: #6b7a90;
    --admin-primary: #0f766e;
    --admin-primary-strong: #0f4c81;
    --admin-accent: #d97706;
    --admin-success: #0f766e;
    --admin-danger: #d45b43;
    --admin-sidebar: #10324a;
    --admin-sidebar-deep: #0e283c;
    --admin-shadow: 0 18px 40px rgba(15, 35, 60, 0.1);
}

body {
    position: relative;
    overflow-x: hidden;
    font-family: "Source Sans Pro", sans-serif;
    color: var(--admin-text);
    background:
        radial-gradient(circle at top left, rgba(15, 118, 110, 0.1), transparent 32%),
        radial-gradient(circle at top right, rgba(217, 119, 6, 0.08), transparent 24%),
        linear-gradient(180deg, #edf4f8 0%, #f7f9fc 42%, #eff3f8 100%);
}

body:before,
body:after {
    content: "";
    position: fixed;
    z-index: 0;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(6px);
}

body:before {
    top: 110px;
    right: -120px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.16), transparent 68%);
}

body:after {
    bottom: 40px;
    left: -140px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.12), transparent 70%);
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo,
.btn,
.box-title {
    font-family: "Manrope", "Source Sans Pro", sans-serif;
}

#pageLoad {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

body.page-ready #pageLoad {
    opacity: 1;
    transform: none;
}

.login-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(15, 76, 129, 0.34), transparent 34%),
        radial-gradient(circle at bottom right, rgba(180, 31, 42, 0.28), transparent 30%),
        linear-gradient(135deg, #0d2238 0%, #10324a 46%, #7c1820 100%);
}

.login-page:before,
.login-page:after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.login-page:before {
    background:
        linear-gradient(125deg, rgba(255, 255, 255, 0.08), transparent 42%),
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.1), transparent 26%);
}

.login-page:after {
    inset: auto auto -100px -70px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    filter: blur(2px);
}

.login-page #pageLoad {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 18px;
}

.login-page .auth-login-box {
    width: 960px;
    max-width: calc(100% - 36px);
    margin: 0 auto;
}

.login-page .auth-login-card {
    display: flex;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 30px 70px rgba(4, 16, 28, 0.3);
}

.auth-login-media {
    position: relative;
    display: flex;
    flex: 0 0 38%;
    min-width: 300px;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 34%),
        linear-gradient(160deg, rgba(9, 30, 49, 0.95), rgba(15, 76, 129, 0.92) 58%, rgba(137, 23, 34, 0.9) 100%);
}

.auth-login-media:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%),
        url('/imgs/logo3.png') center 78% / 62% no-repeat;
    opacity: 0.18;
}

.auth-login-media:after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.auth-login-media__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 18px;
    width: 100%;
    min-height: 100%;
    padding: 42px 34px 36px;
}

.auth-login-media__eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.auth-login-media h1 {
    margin: 0;
    color: #ffffff;
    max-width: 260px;
    font-size: 31px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.auth-login-media p {
    max-width: 260px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
    line-height: 1.6;
}

.auth-login-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.auth-login-badges span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.login-page .auth-login-form {
    flex: 1 1 auto;
    min-width: 0;
    padding: 40px 38px 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 251, 0.96));
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-login-form__header {
    margin-bottom: 24px;
}

.auth-login-form__eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--admin-primary-strong);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.auth-login-form h2 {
    margin: 0;
    color: var(--admin-text);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.05em;
}

.auth-login-form__header p {
    margin: 10px 0 0;
    color: var(--admin-muted);
    font-size: 15px;
    line-height: 1.6;
}

.auth-login-form form {
    margin: 0;
}

.auth-login-form .form-group {
    margin-bottom: 16px;
    text-align: left;
}

.auth-login-form .form-control {
    min-height: 50px;
    padding-left: 16px;
    padding-right: 44px;
    border-radius: 14px;
    border: 1px solid #d5dee8;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 35, 60, 0.04);
}

.auth-login-form .form-control:focus {
    border-color: rgba(15, 118, 110, 0.42);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.auth-login-form .form-control-feedback {
    right: 12px;
    height: 50px;
    line-height: 50px;
    color: rgba(15, 76, 129, 0.48);
}

.auth-login-form .help-block {
    margin-top: 6px;
    font-size: 13px;
}

.auth-login-form .btn {
    min-height: 50px;
    border-radius: 14px;
    font-size: 14px;
}

.auth-login-form__actions {
    margin-top: 4px;
}

.auth-login-alert {
    margin-bottom: 16px;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(15, 35, 60, 0.08);
}

.auth-login-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.auth-login-links a {
    color: var(--admin-primary-strong);
    font-size: 14px;
    font-weight: 700;
}

.auth-login-links a:hover,
.auth-login-links a:focus {
    color: var(--admin-primary);
}

.wrapper,
.content-wrapper,
.right-side {
    background: transparent;
}

.wrapper {
    position: relative;
    z-index: 1;
}

body.modal-open .wrapper {
    z-index: auto;
}

.content-wrapper {
    min-height: calc(100vh - 64px);
    background: transparent;
}

.content-header {
    padding: 28px 24px 14px;
}

.content {
    padding: 0 24px 30px;
}

.main-header .logo {
    height: 64px;
    line-height: 64px;
    border: 0;
    background: linear-gradient(135deg, var(--admin-sidebar) 0%, var(--admin-primary) 100%);
    box-shadow: 0 12px 28px rgba(16, 50, 74, 0.22);
}

.main-header .navbar {
    min-height: 64px;
    border: 0;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 35px rgba(15, 35, 60, 0.08);
}

.admin-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 16px;
    text-align: left;
}

.admin-brand .logo-lg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.admin-brand .logo-mini {
    text-align: center;
}

.sidebar-collapse .main-header .logo.admin-brand {
    padding: 0;
}

.sidebar-collapse .main-header .logo.admin-brand .logo-mini {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 64px;
}

.sidebar-collapse .main-header .logo.admin-brand .logo-mini img {
    width: 34px;
    height: 34px;
    margin: 0 auto;
}

.admin-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    padding: 6px;
    flex-shrink: 0;
}

.admin-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.admin-brand__text strong {
    color: #ffffff;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.admin-brand__text small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-brand--top {
    height: auto;
    padding-right: 18px;
    padding-left: 18px;
    margin: 10px 0;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--admin-sidebar) 0%, var(--admin-primary) 100%);
    box-shadow: 0 12px 28px rgba(16, 50, 74, 0.18);
}

.main-header .sidebar-toggle {
    height: 64px;
    padding: 0 22px;
    color: var(--admin-text);
    transition: color 0.2s ease, background 0.2s ease;
}

.main-header .sidebar-toggle:hover {
    background: rgba(15, 118, 110, 0.08);
    color: var(--admin-primary-strong);
}

.navbar-custom-menu > .navbar-nav > li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 64px;
    color: var(--admin-text);
    font-weight: 700;
}

.topbar-link {
    margin: 10px 8px;
    padding: 10px 16px !important;
    border-radius: 999px;
    height: auto !important;
    line-height: 1.1 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topbar-link:hover {
    transform: translateY(-1px);
}

.topbar-link--alert {
    background: rgba(217, 119, 6, 0.14);
    color: #945800 !important;
}

.topbar-link--period {
    background: rgba(15, 118, 110, 0.1);
    color: var(--admin-primary-strong) !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
}

.topbar-link--period span {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.72;
}

.topbar-link--period strong {
    font-size: 15px;
}

.topbar-link--logout {
    background: rgba(15, 35, 60, 0.06);
    color: var(--admin-text) !important;
}

.navbar-nav > .user-menu > .dropdown-toggle {
    margin: 10px 0;
    padding: 10px 14px !important;
    height: auto !important;
    border-radius: 16px;
    background: rgba(15, 35, 60, 0.05);
}

.navbar-nav > .user-menu .user-image {
    width: 34px;
    height: 34px;
    border: 2px solid rgba(15, 118, 110, 0.18);
}

.navbar-nav > .user-menu > .dropdown-menu {
    border: 1px solid var(--admin-border);
    border-radius: 18px;
    box-shadow: var(--admin-shadow);
    overflow: hidden;
}

.navbar-nav > .user-menu > .dropdown-menu > .user-header {
    height: auto;
    padding: 22px 18px 18px;
    background: linear-gradient(135deg, var(--admin-sidebar) 0%, var(--admin-primary) 100%);
}

.navbar-nav > .user-menu > .dropdown-menu > .user-header p {
    color: #ffffff;
}

.navbar-nav > .user-menu > .dropdown-menu > .user-header p small {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.72);
}

.main-sidebar,
.left-side {
    padding-top: 64px;
    background: linear-gradient(180deg, var(--admin-sidebar) 0%, #163c56 55%, var(--admin-sidebar-deep) 100%);
}

.sidebar {
    padding: 14px;
}

.sidebar-context-card {
    display: flex;
    gap: 14px;
    padding: 16px;
    margin: 4px 0 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sidebar-context-card__logo {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-context-card__logo img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.sidebar-context-card__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.sidebar-context-card__eyebrow {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.sidebar-context-card__body strong {
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-context-card__body span {
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.3;
}

.sidebar-context-card__badge {
    align-self: flex-start;
    margin-top: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    font-size: 11px;
    letter-spacing: 0.04em;
}

.sidebar-menu,
.treeview-menu {
    background: transparent;
}

.sidebar-menu > li.header {
    padding: 10px 12px 8px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.sidebar-menu > li > a {
    margin: 4px 0;
    padding: 12px 14px;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
    transition: all 0.2s ease;
}

.sidebar-menu > li > a > .fa {
    width: 22px;
}

.sidebar-menu > li:hover > a,
.sidebar-menu > li.active > a,
.sidebar-menu > li.menu-open > a {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.treeview-menu {
    margin: 4px 0 8px;
    padding: 0;
}

.treeview-menu > li > a {
    padding: 9px 14px 9px 40px;
    color: rgba(255, 255, 255, 0.66);
}

.treeview-menu > li > a:hover,
.treeview-menu > li.active > a {
    color: #ffffff;
}

.content-header h1 {
    margin: 0;
    color: var(--admin-text);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.admin-page-intro {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.admin-page-intro__meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.dashboard-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--admin-primary-strong);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.dashboard-subtitle {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--admin-muted);
    font-size: 16px;
    line-height: 1.55;
}

.admin-hero,
.dashboard-panel,
.dashboard-metric-card,
.small-box,
.box {
    border-radius: 24px;
    border: 1px solid var(--admin-border);
    box-shadow: var(--admin-shadow);
    background: var(--admin-surface);
}

.admin-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    gap: 18px;
    padding: 28px;
    background:
        radial-gradient(circle at top right, rgba(217, 119, 6, 0.18), transparent 28%),
        linear-gradient(135deg, rgba(15, 76, 129, 0.96), rgba(15, 118, 110, 0.94));
    border: 0;
    color: #ffffff;
}

.admin-hero:before {
    content: "";
    position: absolute;
    inset: auto -40px -60px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.admin-hero__content {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-width: 0;
}

.admin-hero__aside {
    position: relative;
    z-index: 1;
    width: 340px;
    max-width: 100%;
    flex: 0 0 340px;
}

.admin-hero h2 {
    max-width: 640px;
    margin: 0 0 12px;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.admin-hero p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.6;
}

.hero-campus-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    padding: 20px;
    border-radius: 22px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(7, 15, 24, 0.34), rgba(7, 15, 24, 0.94)),
        url('/imgs/IMEP_Cabecalho-sm.jpg') center center / cover no-repeat;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-campus-card:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 15, 24, 0.24), rgba(7, 15, 24, 0.46)),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 34%);
}

.hero-campus-card > * {
    position: relative;
    z-index: 1;
}

.hero-campus-card__content {
    max-width: 100%;
    padding: 18px 18px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(7, 15, 24, 0.82), rgba(7, 15, 24, 0.66));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(10px);
}

.hero-campus-card__eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-campus-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.24);
}

.hero-campus-card p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: 14px;
    line-height: 1.65;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-campus-card__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.hero-campus-card__stat {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(7, 15, 24, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.hero-campus-card__stat strong {
    display: block;
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.hero-campus-card__stat span {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 12px;
    line-height: 1.35;
}

.status-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.status-pill {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    min-width: 118px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--admin-text);
}

.status-pill strong {
    font-size: 22px;
    line-height: 1;
}

.status-pill__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.72;
}

.admin-hero .status-pill {
    color: #ffffff;
}

.admin-hero .status-pill__label {
    color: rgba(255, 255, 255, 0.72);
}

.status-pill--accent {
    background: rgba(217, 119, 6, 0.1);
    border-color: rgba(217, 119, 6, 0.08);
}

.status-pill--success {
    background: rgba(15, 118, 110, 0.12);
    border-color: rgba(15, 118, 110, 0.08);
}

.status-pill--danger {
    background: rgba(212, 91, 67, 0.12);
    border-color: rgba(212, 91, 67, 0.08);
}

.dashboard-panel {
    padding: 22px 22px 20px;
    height: 100%;
}

.dashboard-panel--compact {
    min-height: 100%;
}

.dashboard-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.dashboard-panel__eyebrow {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--admin-primary-strong);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.dashboard-panel h3 {
    margin: 0;
    color: var(--admin-text);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.dashboard-panel__description {
    margin: 10px 0 0;
    color: var(--admin-muted);
    font-size: 15px;
    line-height: 1.5;
}

.dashboard-highlight-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.dashboard-highlight-list li {
    padding: 14px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.dashboard-highlight-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.dashboard-highlight-list strong {
    display: block;
    color: var(--admin-text);
    font-size: 16px;
    font-weight: 800;
}

.dashboard-highlight-list span {
    color: var(--admin-muted);
    font-size: 13px;
}

.dashboard-highlight-list__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dashboard-highlight-list b {
    color: var(--admin-primary-strong);
    font-size: 22px;
    line-height: 1;
}

.dashboard-highlight-list__progress {
    height: 8px;
    margin-top: 12px;
    border-radius: 999px;
    background: rgba(15, 35, 60, 0.08);
    overflow: hidden;
}

.dashboard-highlight-list__progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--admin-primary), var(--admin-primary-strong));
    box-shadow: 0 6px 14px rgba(15, 76, 129, 0.18);
}

.dashboard-highlight-list__empty {
    justify-content: flex-start !important;
}

.dashboard-metric-row {
    margin-top: 8px;
}

.dashboard-support-row {
    margin-top: 8px;
}

.dashboard-metric-row > [class*="col-"],
.dashboard-support-row > [class*="col-"] {
    margin-bottom: 16px;
}

.dashboard-metric-card {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    min-height: 210px;
    padding: 22px;
    color: inherit;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.dashboard-metric-card:hover,
.dashboard-metric-card:focus {
    color: inherit;
    text-decoration: none;
    transform: translateY(-3px);
    border-color: rgba(15, 118, 110, 0.2);
    box-shadow: 0 24px 46px rgba(15, 35, 60, 0.14);
}

.dashboard-metric-card__icon {
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(15, 76, 129, 0.14));
    color: var(--admin-primary-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.dashboard-metric-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--admin-text);
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
}

.dashboard-metric-card__title {
    display: block;
    color: var(--admin-text);
    font-size: 17px;
    font-weight: 800;
}

.dashboard-metric-card p {
    margin: 10px 0 0;
    color: var(--admin-muted);
    font-size: 14px;
    line-height: 1.5;
}

.dashboard-metric-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
    color: var(--admin-primary-strong);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dashboard-action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.dashboard-action-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    min-height: 128px;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 248, 252, 0.92));
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.dashboard-action-card:hover,
.dashboard-action-card:focus {
    color: inherit;
    text-decoration: none;
    transform: translateY(-2px);
    border-color: rgba(15, 118, 110, 0.22);
    box-shadow: 0 18px 30px rgba(15, 35, 60, 0.12);
}

.dashboard-action-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(15, 76, 129, 0.18));
    color: var(--admin-primary-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
}

.dashboard-action-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.dashboard-action-card__body strong {
    color: var(--admin-text);
    font-size: 16px;
    font-weight: 800;
}

.dashboard-action-card__body span {
    margin-top: 4px;
    color: var(--admin-muted);
    font-size: 13px;
    line-height: 1.45;
}

.dashboard-action-card__arrow {
    justify-self: end;
    color: rgba(15, 76, 129, 0.44);
}

.dashboard-panel--spotlight {
    background:
        radial-gradient(circle at top right, rgba(217, 119, 6, 0.1), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.94));
}

.dashboard-progress-block {
    margin-top: 20px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(15, 35, 60, 0.04);
}

.dashboard-progress-block__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.dashboard-progress-block__row span {
    color: var(--admin-muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.dashboard-progress-block__row strong {
    color: var(--admin-primary-strong);
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.dashboard-progress-line {
    height: 10px;
    border-radius: 999px;
    background: rgba(15, 35, 60, 0.08);
    overflow: hidden;
}

.dashboard-progress-line span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--admin-primary), var(--admin-accent));
    box-shadow: 0 8px 18px rgba(15, 76, 129, 0.2);
}

.dashboard-mini-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.dashboard-mini-stat {
    padding: 16px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.dashboard-mini-stat strong {
    display: block;
    color: var(--admin-text);
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.dashboard-mini-stat span {
    display: block;
    margin-top: 6px;
    color: var(--admin-muted);
    font-size: 12px;
    line-height: 1.35;
}

.chart-shell {
    position: relative;
    width: 100%;
    margin-top: 22px;
}

.chart-shell--doughnut {
    height: 280px;
}

.chart-shell--bar {
    height: 320px;
}

.chart-shell canvas {
    width: 100% !important;
    height: 100% !important;
}

.chart-legend {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.chart-legend__item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(15, 35, 60, 0.04);
}

.chart-legend__item strong {
    display: block;
    color: var(--admin-text);
    font-size: 15px;
    font-weight: 800;
}

.chart-legend__item span {
    color: var(--admin-muted);
    font-size: 13px;
}

.chart-legend__swatch {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    flex-shrink: 0;
}

.chart-legend__swatch--primary,
.chart-legend__swatch--success {
    background: var(--admin-success);
}

.chart-legend__swatch--danger {
    background: var(--admin-danger);
}

.chart-legend__swatch--accent {
    background: var(--admin-accent);
}

.box {
    overflow: hidden;
}

.box.box-primary {
    border-top: 0;
}

.box.box-primary > .box-header.with-border,
.box.box-danger > .box-header.with-border {
    padding: 18px 22px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.05), rgba(255, 255, 255, 0.78));
}

.box.box-danger > .box-header.with-border {
    background: linear-gradient(180deg, rgba(217, 119, 6, 0.08), rgba(255, 255, 255, 0.78));
}

.box .box-title {
    color: var(--admin-text);
    font-size: 18px;
    font-weight: 800;
}

.box-body {
    padding: 22px;
}

.small-box {
    overflow: hidden;
}

.small-box .inner {
    padding: 22px 24px 8px;
}

.small-box h3 {
    font-size: 32px;
    font-weight: 800;
}

.small-box .icon {
    top: 16px;
    right: 16px;
    font-size: 68px;
    opacity: 0.18;
}

.small-box-footer {
    padding: 12px 18px;
    background: rgba(15, 35, 60, 0.08);
    font-weight: 700;
}

.small-box.bg-aqua {
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.96), rgba(15, 118, 110, 0.94)) !important;
}

.table {
    background: var(--admin-surface-strong);
    border-collapse: separate;
}

.table > thead > tr > th {
    border-bottom: 1px solid var(--admin-border);
    color: var(--admin-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.table > tbody > tr > td {
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    vertical-align: middle;
}

.table-hover > tbody > tr:hover {
    background: rgba(15, 118, 110, 0.04);
}

.form-control {
    min-height: 44px;
    border-radius: 14px;
    border-color: #d7dfe8;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: rgba(15, 118, 110, 0.48);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.btn {
    border: 0;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(15, 35, 60, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover,
.btn:focus {
    transform: translateY(-1px);
    filter: saturate(1.03);
}

.btn-primary {
    background: linear-gradient(135deg, var(--admin-primary), var(--admin-primary-strong));
    box-shadow: 0 12px 22px rgba(15, 76, 129, 0.22);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #10867d, #11578f);
}

.btn-default {
    color: var(--admin-text);
    background: linear-gradient(180deg, #ffffff, #f4f7fb);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.btn-default:hover,
.btn-default:focus {
    color: var(--admin-primary-strong);
    background: linear-gradient(180deg, #ffffff, #eef4f8);
}

.btn-info {
    color: #ffffff;
    background: linear-gradient(135deg, #0f4c81, #0f766e);
}

.btn-success {
    color: #ffffff;
    background: linear-gradient(135deg, #0f766e, #10978d);
}

.btn-warning {
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.btn-danger {
    color: #ffffff;
    background: linear-gradient(135deg, #ef4444, #d45b43);
}

.btn-info:hover,
.btn-success:hover,
.btn-warning:hover,
.btn-danger:hover,
.btn-info:focus,
.btn-success:focus,
.btn-warning:focus,
.btn-danger:focus {
    color: #ffffff;
}

.btn-sm,
.btn-xs {
    min-height: 0;
}

.btn-flat {
    border-radius: 14px;
}

.alert,
.callout {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 14px 26px rgba(15, 35, 60, 0.08);
}

.alert-info,
.callout-info {
    color: var(--admin-primary-strong);
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.12), rgba(15, 76, 129, 0.08));
}

.alert-success,
.callout-success {
    color: #0b5f58;
    background: linear-gradient(180deg, rgba(16, 151, 141, 0.16), rgba(15, 118, 110, 0.08));
}

.alert-warning,
.callout-warning {
    color: #9a5d00;
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.18), rgba(217, 119, 6, 0.08));
}

.alert-danger,
.callout-danger {
    color: #9f3328;
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.16), rgba(212, 91, 67, 0.08));
}

.label,
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 0;
}

.label-default,
.badge-default {
    background: rgba(15, 35, 60, 0.08);
    color: var(--admin-text);
}

.label-info,
.badge-info,
.label-primary,
.badge-primary {
    background: rgba(15, 76, 129, 0.12);
    color: var(--admin-primary-strong);
}

.label-success,
.badge-success {
    background: rgba(15, 118, 110, 0.14);
    color: #0b5f58;
}

.label-warning,
.badge-warning {
    background: rgba(217, 119, 6, 0.16);
    color: #9a5d00;
}

.label-danger,
.badge-danger {
    background: rgba(212, 91, 67, 0.16);
    color: #9f3328;
}

.nav-tabs-custom {
    border-radius: 22px;
    border: 1px solid var(--admin-border);
    box-shadow: var(--admin-shadow);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.88);
}

.nav-tabs-custom > .nav-tabs {
    padding: 10px 14px 0;
    border-bottom: 0;
    background: rgba(15, 35, 60, 0.03);
}

.nav-tabs-custom > .nav-tabs > li {
    margin-right: 8px;
}

.nav-tabs-custom > .nav-tabs > li > a {
    border: 0;
    border-radius: 14px 14px 0 0;
    color: var(--admin-muted);
    font-weight: 800;
}

.nav-tabs-custom > .nav-tabs > li.active {
    border-top-color: transparent;
}

.nav-tabs-custom > .nav-tabs > li.active > a,
.nav-tabs-custom > .nav-tabs > li.active:hover > a {
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.12), rgba(255, 255, 255, 0.95));
    color: var(--admin-primary-strong);
    border: 0;
}

.pagination > li > a,
.pagination > li > span {
    margin: 0 4px;
    border-radius: 12px !important;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--admin-text);
    background: rgba(255, 255, 255, 0.84);
}

.pagination > li.active > a,
.pagination > li.active > span,
.pagination > li.active > a:hover,
.pagination > li.active > span:hover {
    background: linear-gradient(135deg, var(--admin-primary), var(--admin-primary-strong));
    border-color: transparent;
    color: #ffffff;
}

.pagination > li > a:hover,
.pagination > li > span:hover {
    color: var(--admin-primary-strong);
    background: #ffffff;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    min-height: 44px;
    border-radius: 14px;
    border: 1px solid #d7dfe8;
    box-shadow: none;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 42px;
    padding-left: 14px;
    color: var(--admin-text);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px;
    right: 10px;
}

.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: rgba(15, 118, 110, 0.48);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.select2-dropdown {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    box-shadow: var(--admin-shadow);
    overflow: hidden;
}

.table-responsive {
    border: 0;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #d7dfe8;
    border-radius: 12px;
    background: #ffffff;
    color: var(--admin-text);
}

.main-footer.admin-footer {
    border-top: 0;
    background: transparent;
    color: var(--admin-muted);
    padding: 18px 24px 30px;
}

.swal2-popup {
    font-size: 1.6rem !important;
}

.modal-dialog {
    overflow-y: initial !important;
}

.modal-body {
    height: 400px;
    overflow-y: auto;
}

#tableLancamento {
    background-color: #ededed;
}

@media (max-width: 1440px) {
    .navbar-custom-menu > .navbar-nav > li {
        font-size: 13px;
    }
}

@media (max-width: 991px) {
    .login-page .auth-login-box {
        max-width: calc(100% - 28px);
    }

    .login-page .auth-login-card {
        flex-direction: column;
    }

    .auth-login-media {
        min-width: 0;
        flex-basis: auto;
    }

    .auth-login-media__content,
    .login-page .auth-login-form {
        padding-left: 28px;
        padding-right: 28px;
    }

    .auth-login-media h1 {
        max-width: 100%;
        font-size: 30px;
    }

    .content-header,
    .content,
    .main-footer.admin-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .admin-page-intro {
        flex-direction: column;
    }

    .admin-page-intro__meta {
        justify-content: flex-start;
    }

    .dashboard-metric-card {
        min-height: 0;
        margin-bottom: 12px;
    }

    .admin-hero {
        flex-direction: column;
    }

    .admin-hero__aside {
        width: 100%;
        flex-basis: auto;
    }

    .dashboard-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .chart-shell--bar {
        height: 280px;
    }
}

@media (max-width: 767px) {
    .login-page #pageLoad {
        padding: 18px 14px;
    }

    .auth-login-media__content,
    .login-page .auth-login-form {
        padding: 24px 20px;
    }

    .auth-login-media h1,
    .auth-login-form h2 {
        font-size: 28px;
    }

    .main-header .navbar,
    .main-header .logo {
        min-height: 60px;
        height: 60px;
    }

    .main-sidebar,
    .left-side {
        padding-top: 60px;
    }

    .main-header .sidebar-toggle,
    .navbar-custom-menu > .navbar-nav > li > a {
        height: 60px;
    }

    .admin-brand--top {
        margin: 8px 0;
    }

    .topbar-link {
        margin: 6px 4px;
    }

    .admin-brand__text strong {
        font-size: 17px;
    }

    .content-header h1 {
        font-size: 26px;
    }

    .admin-hero {
        padding: 22px;
    }

    .admin-hero h2 {
        font-size: 28px;
    }

    .hero-campus-card__stats,
    .dashboard-mini-stat-grid,
    .dashboard-action-grid {
        grid-template-columns: 1fr;
    }

    .chart-shell--doughnut {
        height: 240px;
    }

    .chart-shell--bar {
        height: 240px;
    }

    .dashboard-highlight-list__row,
    .dashboard-progress-block__row {
        align-items: flex-start;
        flex-direction: column;
    }

    .chart-legend__item {
        min-width: 100%;
    }
}
