:root {
    --acadum-navy: #164357;
    --acadum-navy-2: #103748;
    --acadum-teal: #209fa0;
    --acadum-teal-soft: #e8f7f6;
    --acadum-orange: #f47a32;
    --acadum-orange-soft: #fff2e9;
    --acadum-blue: #2e75a1;
    --acadum-blue-soft: #edf5fa;
    --acadum-green: #1e9a62;
    --acadum-green-soft: #eaf8f1;
    --foreground: #13233d;
    --muted-foreground: #64748b;
    --muted: #f3f7fb;
    --surface: #ffffff;
    --border: #e3eaf1;
    --border-strong: #d7e1eb;
    --shadow-sm: 0 2px 8px rgba(21, 48, 67, .06);
    --shadow-md: 0 14px 36px rgba(21, 48, 67, .11);
    --radius: .75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

* {
    box-sizing: border-box;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    font-family: "Inter", system-ui, sans-serif;
    color: var(--foreground);
    background: #fff;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--foreground);
    background: #fff;
    font-feature-settings: "cv02","cv03","cv04","cv11";
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
}

svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Sora", system-ui, sans-serif;
    font-weight: 600;
    letter-spacing: -.025em;
}

p {
    margin: 0;
}

.admin-container {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .admin-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .admin-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* ---------------------------------
   Shared components
---------------------------------- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--acadum-teal);
    font-size: .75rem;
    line-height: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.eyebrow-light {
    color: #ccefee;
}

.btn {
    min-height: 2.75rem;
    padding: 0 1.25rem;
    border: 1px solid transparent;
    border-radius: .6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    font-size: .875rem;
    font-weight: 700;
    transition: .2s ease;
}

.btn svg {
    width: 1.05rem;
    height: 1.05rem;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--acadum-teal), #16898f);
    box-shadow: 0 8px 18px rgba(32, 159, 160, .22);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(32, 159, 160, .28);
}

.btn-full {
    width: 100%;
}

.btn-soft {
    color: var(--muted-foreground);
    background: #f6f9fb;
    border-color: var(--border);
}

.btn:disabled {
    cursor: not-allowed;
    opacity: .72;
}

.alert {
    margin-bottom: 1rem;
    border-radius: .65rem;
    padding: .75rem .9rem;
    font-size: .875rem;
    line-height: 1.4;
}

.alert-success {
    color: #16633d;
    background: #eaf8f1;
    border: 1px solid #cdebdc;
}

.alert-danger {
    color: #a02f2f;
    background: #fff1f1;
    border: 1px solid #f3cdcd;
}

/* ---------------------------------
   Login
---------------------------------- */

.acadum-login-page {
    min-height: 100vh;
    overflow-x: hidden;
    background: #f4f8fb;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(28rem, .92fr);
}

.login-brand-panel {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 4rem clamp(2rem, 5vw, 6rem);
    display: flex;
    align-items: center;
    color: #fff;
    background:
        radial-gradient(circle at 18% 15%, rgba(32,159,160,.4), transparent 30%),
        radial-gradient(circle at 88% 82%, rgba(244,122,50,.18), transparent 25%),
        linear-gradient(135deg, #123d50 0%, #174f62 44%, #176f74 100%);
}

.login-brand-inner {
    position: relative;
    z-index: 2;
    width: min(100%, 42rem);
    margin: 0 auto;
}

.login-brand-logo {
    width: min(25rem, 70%);
    height: auto;
    margin-bottom: clamp(3rem, 8vh, 6rem);
    filter: brightness(0) invert(1);
}

.login-hero-copy h1 {
    margin-top: 1rem;
    max-width: 40rem;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
    font-weight: 700;
}

.login-hero-copy h1 span {
    color: #86d9d5;
}

.login-hero-copy p {
    margin-top: 1.4rem;
    max-width: 37rem;
    color: rgba(255,255,255,.78);
    font-size: 1rem;
    line-height: 1.75;
}

.login-feature-grid {
    margin-top: 2.4rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
}

.login-feature {
    min-height: 5.4rem;
    padding: 1rem;
    display: flex;
    gap: .85rem;
    align-items: center;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: .85rem;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(8px);
}

.login-feature strong,
.login-feature small {
    display: block;
}

.login-feature strong {
    font-size: 1rem;
    line-height: 1.5rem;
}

.login-feature small {
    margin-top: .2rem;
    color: rgba(255,255,255,.65);
    font-size: .875rem;
    line-height: 1.25rem;
}

.feature-icon {
    width: 2.65rem;
    height: 2.65rem;
    flex: 0 0 2.65rem;
    display: grid;
    place-items: center;
    border-radius: .65rem;
}

.feature-icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.feature-icon-teal {
    background: rgba(70, 213, 208, .18);
    color: #8ce2de;
}

.feature-icon-orange {
    background: rgba(244, 122, 50, .18);
    color: #ffc39c;
}

.brand-decor {
    position: absolute;
    border: 1px solid rgba(255,255,255,.1);
    transform: rotate(45deg);
    border-radius: 1.2rem;
}

.decor-one {
    width: 17rem;
    height: 17rem;
    top: -5rem;
    right: -5rem;
}

.decor-two {
    width: 9rem;
    height: 9rem;
    bottom: 8%;
    right: 10%;
}

.decor-three {
    width: 4rem;
    height: 4rem;
    top: 20%;
    left: 7%;
}

.login-form-panel {
    min-height: 100vh;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 75% 20%, rgba(32,159,160,.06), transparent 25%),
        #f7fafc;
}

.login-card {
    width: 100%;
    max-width: 28rem;
    padding: 2.25rem 2.5rem;
    border: 1px solid var(--border);
    border-radius: 1.35rem;
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow-md);
}

.login-mobile-brand {
    display: none;
}

.login-card-heading h2 {
    margin-top: .65rem;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
}

.login-card-heading p {
    margin-top: .65rem;
    color: var(--muted-foreground);
    font-size: .875rem;
    line-height: 1.6;
}

.login-form {
    margin-top: 1.6rem;
}

.field + .field {
    margin-top: 1rem;
}

.field label {
    display: block;
    margin-bottom: .45rem;
    color: #32465a;
    font-size: .8125rem;
    font-weight: 700;
}

.input-wrap {
    position: relative;
}

.input-wrap input {
    width: 100%;
    height: 3rem;
    padding: 0 2.8rem;
    border: 1px solid var(--border-strong);
    border-radius: .62rem;
    color: var(--foreground);
    background: #fff;
    outline: none;
    transition: .2s ease;
}

.input-wrap input:focus {
    border-color: var(--acadum-teal);
    box-shadow: 0 0 0 3px rgba(32,159,160,.11);
}

.input-wrap input::placeholder {
    color: #a3afbd;
}

.input-icon,
.password-toggle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
}

.input-icon {
    left: .9rem;
    color: #8293a5;
}

.input-icon svg,
.password-toggle svg {
    width: 1.1rem;
    height: 1.1rem;
}

.password-toggle {
    right: .45rem;
    width: 2.1rem;
    height: 2.1rem;
    border: 0;
    color: #8293a5;
    background: transparent;
    border-radius: .45rem;
}

.password-toggle:hover {
    color: var(--acadum-navy);
    background: #f2f6f9;
}

.remember-row {
    margin: 1rem 0 1.25rem;
    display: flex;
    align-items: center;
    gap: .55rem;
    color: var(--muted-foreground);
    font-size: .8125rem;
    cursor: pointer;
}

.remember-row input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--acadum-teal);
}

.login-security-note {
    margin-top: 1.4rem;
    padding-top: 1.2rem;
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    border-top: 1px solid var(--border);
}

.login-security-note > span {
    width: 1.9rem;
    height: 1.9rem;
    flex: 0 0 1.9rem;
    display: grid;
    place-items: center;
    color: var(--acadum-teal);
    background: var(--acadum-teal-soft);
    border-radius: .55rem;
}

.login-security-note svg {
    width: 1rem;
    height: 1rem;
}

.login-security-note p {
    color: var(--muted-foreground);
    font-size: .75rem;
    line-height: 1.55;
}

/* ---------------------------------
   Admin header
---------------------------------- */

.admin-body {
    min-height: 100vh;
    background: #f5f8fb;
}

.admin-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(14px);
}

.admin-header-inner {
    min-height: 4rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.admin-brand {
    display: block;
    flex: 0 0 auto;
}

.admin-brand img {
    width: 10.75rem;
    height: auto;
}

.admin-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.admin-nav a,
.admin-nav span {
    position: relative;
    padding: 1.25rem 0 1.05rem;
    color: #5c6f84;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 500;
    white-space: nowrap;
}

.admin-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: .65rem;
    height: 2px;
    border-radius: 2px;
    background: transparent;
}

.admin-nav a:hover,
.admin-nav a.active {
    color: var(--acadum-navy);
}

.admin-nav a.active::after {
    background: var(--acadum-orange);
}

.nav-coming {
    opacity: .63;
    cursor: default;
}

.admin-user-area {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.user-chip {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.user-avatar {
    width: 2.25rem;
    height: 2.25rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--acadum-navy), var(--acadum-teal));
    font-size: .875rem;
    font-weight: 800;
}

.user-chip-copy strong,
.user-chip-copy small {
    display: block;
}

.user-chip-copy strong {
    max-width: 9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .875rem;
    line-height: 1.25rem;
}

.user-chip-copy small {
    margin-top: .05rem;
    color: var(--muted-foreground);
    font-size: .75rem;
}

.btn-icon {
    width: 2.35rem;
    height: 2.35rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: .58rem;
    color: #63768a;
    background: #fff;
}

.btn-icon:hover {
    color: var(--acadum-orange);
    border-color: #f4d7c6;
    background: var(--acadum-orange-soft);
}

.btn-icon svg {
    width: 1.1rem;
    height: 1.1rem;
}

.mobile-nav-toggle,
.mobile-nav {
    display: none;
}

/* ---------------------------------
   Hero
---------------------------------- */

.admin-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 10% 10%, rgba(255,255,255,.17), transparent 25%),
        radial-gradient(circle at 88% 72%, rgba(96,37,12,.20), transparent 28%),
        linear-gradient(115deg, #f47a32 0%, #e46624 53%, #bd4d18 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: .22;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,.22) 1px, transparent 0);
    background-size: 25px 25px;
    mask-image: linear-gradient(to right, black, transparent 88%);
}

.admin-hero-grid {
    position: relative;
    z-index: 2;
    min-height: 31rem;
    padding-top: 3.5rem;
    padding-bottom: 5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(22rem, .8fr);
    gap: 3rem;
    align-items: center;
}

.hero-breadcrumb {
    margin-bottom: 1.4rem;
    display: flex;
    gap: .6rem;
    color: rgba(255,255,255,.75);
    font-size: .8125rem;
}

.hero-breadcrumb strong {
    color: #fff;
}

.breadcrumb-separator {
    opacity: .5;
}

.status-pill {
    min-height: 2rem;
    padding: 0 .85rem;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border-radius: 999px;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 600;
}

.status-pill-online {
    color: #dcfff0;
    background: rgba(25, 169, 101, .24);
    border: 1px solid rgba(104, 230, 169, .22);
}

.status-dot {
    width: .46rem;
    height: .46rem;
    border-radius: 50%;
    background: #6ce5aa;
    box-shadow: 0 0 0 4px rgba(108,229,170,.12);
}

.admin-hero h1 {
    margin-top: 1rem;
    max-width: 48rem;
    font-size: 3.75rem;
    line-height: 1.1;
    font-weight: 600;
}

.admin-hero h1 span {
    color: #ffe0c9;
}

.admin-hero > .admin-container > div > p,
.admin-hero-grid > div > p {
    margin-top: 1.1rem;
    max-width: 42rem;
    color: rgba(255,255,255,.76);
    font-size: 1.25rem;
    line-height: 1.625;
}

.hero-meta {
    margin-top: 2.15rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
}

.hero-meta > div {
    min-width: 7rem;
}

.hero-meta span,
.hero-meta strong {
    display: block;
}

.hero-meta span {
    color: rgba(255,255,255,.62);
    font-size: .75rem;
    line-height: 1rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.hero-meta strong {
    margin-top: .25rem;
    font-size: .875rem;
}

.hero-summary-card {
    padding: 1.65rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 1rem;
    background: rgba(255,255,255,.1);
    box-shadow: 0 18px 50px rgba(5,40,53,.24);
    backdrop-filter: blur(12px);
}

.summary-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.summary-heading span,
.summary-heading strong {
    display: block;
}

.summary-heading > div > span {
    color: rgba(255,255,255,.65);
    font-size: .75rem;
}

.summary-heading > div > strong {
    margin-top: .2rem;
    font-family: "Sora", system-ui, sans-serif;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 600;
}

.summary-icon {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    color: #91e4df;
    background: rgba(255,255,255,.1);
    border-radius: .7rem;
}

.summary-icon svg {
    width: 1.4rem;
    height: 1.4rem;
}

.summary-divider {
    height: 1px;
    margin: 1.2rem 0;
    background: rgba(255,255,255,.12);
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.summary-item {
    min-height: 8.2rem;
    padding: .9rem;
    border-radius: .75rem;
    background: rgba(255,255,255,.09);
}

.summary-item-icon {
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border-radius: .5rem;
    background: rgba(255,255,255,.12);
}

.summary-item-icon svg {
    width: 1rem;
    height: 1rem;
}

.summary-item > span:not(.summary-item-icon),
.summary-item strong,
.summary-item small {
    display: block;
}

.summary-item > span:not(.summary-item-icon) {
    margin-top: .7rem;
    color: rgba(255,255,255,.64);
    font-size: .7rem;
}

.summary-item strong {
    margin-top: .1rem;
    font-family: "Sora", sans-serif;
    font-size: 1.55rem;
    line-height: 1.2;
}

.summary-item small {
    margin-top: .15rem;
    color: rgba(255,255,255,.62);
    font-size: .65rem;
}

/* ---------------------------------
   Dashboard
---------------------------------- */

.dashboard-section {
    padding: 3.2rem 0 4.5rem;
}

.section-heading-row {
    margin-bottom: 1.4rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.section-heading-row h2 {
    margin-top: .35rem;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
}

.section-heading-row p {
    margin-top: .45rem;
    color: var(--muted-foreground);
    font-size: .875rem;
}

.updated-pill {
    padding: .45rem .7rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: #64748b;
    background: #fff;
    font-size: .7rem;
    font-weight: 700;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.35fr .82fr;
    gap: 1rem;
}

.dashboard-card {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: .95rem;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.dashboard-card-wide {
    grid-row: span 2;
}

.card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
}

.card-heading.compact {
    align-items: center;
}

.card-kicker {
    color: var(--acadum-teal);
    font-size: .6875rem;
    line-height: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.card-heading h3 {
    margin-top: .3rem;
    font-size: 1.18rem;
    line-height: 1.65rem;
    font-weight: 700;
}

.card-heading p {
    margin-top: .55rem;
    max-width: 37rem;
    color: var(--muted-foreground);
    font-size: .82rem;
    line-height: 1.65;
}

.large-card-icon {
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
    display: grid;
    place-items: center;
    border-radius: .72rem;
}

.large-card-icon svg {
    width: 1.4rem;
    height: 1.4rem;
}

.tone-teal {
    color: var(--acadum-teal);
}

.tone-blue {
    color: var(--acadum-blue);
}

.tone-green {
    color: var(--acadum-green);
}

.tone-orange {
    color: var(--acadum-orange);
}

.large-card-icon.tone-teal {
    background: var(--acadum-teal-soft);
}

.large-card-icon.tone-blue {
    background: var(--acadum-blue-soft);
}

.large-card-icon.tone-orange {
    background: var(--acadum-orange-soft);
}

.feature-lines {
    margin: 1.4rem 0 1.6rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
}

.feature-lines > div {
    min-height: 5rem;
    padding: .9rem;
    display: flex;
    align-items: center;
    gap: .8rem;
    border: 1px solid var(--border);
    border-radius: .75rem;
    background: #fbfdfe;
}

.feature-lines strong,
.feature-lines small {
    display: block;
}

.feature-lines strong {
    font-size: .8125rem;
}

.feature-lines small {
    margin-top: .15rem;
    color: var(--muted-foreground);
    font-size: .7rem;
}

.mini-icon {
    width: 2.4rem;
    height: 2.4rem;
    flex: 0 0 2.4rem;
    display: grid;
    place-items: center;
    border-radius: .6rem;
}

.mini-icon svg {
    width: 1.15rem;
    height: 1.15rem;
}

.mini-icon.teal {
    color: var(--acadum-teal);
    background: var(--acadum-teal-soft);
}

.mini-icon.orange {
    color: var(--acadum-orange);
    background: var(--acadum-orange-soft);
}

.metric-value {
    margin-top: 1.15rem;
    display: flex;
    align-items: baseline;
    gap: .45rem;
}

.metric-value strong {
    font-family: "Sora", sans-serif;
    font-size: 1.65rem;
}

.metric-value span {
    color: var(--muted-foreground);
    font-size: .75rem;
}

.progress-track {
    height: .5rem;
    margin-top: 1rem;
    overflow: hidden;
    border-radius: 999px;
    background: #edf2f6;
}

.progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--acadum-teal), #53bdb8);
}

.progress-caption {
    margin-top: .45rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted-foreground);
    font-size: .65rem;
}

.status-row {
    margin-top: 1.1rem;
    padding-top: .9rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    border-top: 1px solid var(--border);
    color: #62758a;
    font-size: .72rem;
}

.status-indicator {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
}

.status-indicator.ok {
    background: var(--acadum-green);
}

.status-indicator.danger {
    background: #d94d4d;
}

.simple-list {
    margin: 1.15rem 0 0;
    padding: 0;
    list-style: none;
}

.simple-list li {
    min-height: 2.55rem;
    display: flex;
    align-items: center;
    gap: .65rem;
    color: #53677c;
    font-size: .78rem;
    border-bottom: 1px solid #eff3f6;
}

.simple-list li:last-child {
    border-bottom: 0;
}

.list-dot {
    width: .48rem;
    height: .48rem;
    border-radius: 50%;
}

.list-dot.teal { background: var(--acadum-teal); }
.list-dot.blue { background: var(--acadum-blue); }
.list-dot.orange { background: var(--acadum-orange); }
.list-dot.green { background: var(--acadum-green); }

/* ---------------------------------
   Responsive
---------------------------------- */

@media (max-width: 1080px) {
    .admin-nav {
        gap: 1.05rem;
    }

    .admin-nav a,
    .admin-nav span {
        font-size: .8rem;
    }

    .user-chip-copy {
        display: none;
    }
}

@media (max-width: 900px) {
    .login-shell {
        display: block;
    }

    .login-brand-panel {
        display: none;
    }

    .login-form-panel {
        min-height: 100vh;
        padding: 1.5rem;
        background:
            radial-gradient(circle at 10% 0%, rgba(32,159,160,.14), transparent 32%),
            linear-gradient(180deg, #f7fbfc, #f5f8fb);
    }

    .login-mobile-brand {
        display: block;
        margin-bottom: 1.6rem;
    }

    .login-mobile-brand img {
        width: 12rem;
        height: auto;
    }

    .admin-nav {
        display: none;
    }

    .mobile-nav-toggle {
        width: 2.4rem;
        height: 2.4rem;
        padding: .55rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: .25rem;
        border: 1px solid var(--border);
        border-radius: .55rem;
        background: #fff;
    }

    .mobile-nav-toggle span {
        height: 2px;
        background: var(--acadum-navy);
        border-radius: 2px;
    }

    .mobile-nav {
        border-top: 1px solid var(--border);
        background: #fff;
    }

    .mobile-nav[hidden] {
        display: none;
    }

    .mobile-nav:not([hidden]) {
        display: block;
    }

    .mobile-nav .admin-container {
        padding-top: .65rem;
        padding-bottom: .65rem;
        display: grid;
        gap: .15rem;
    }

    .mobile-nav a,
    .mobile-nav span {
        padding: .7rem .3rem;
        color: #607387;
        font-size: .82rem;
        font-weight: 600;
    }

    .admin-hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-summary-card {
        max-width: 38rem;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-card-wide {
        grid-row: auto;
    }
}

@media (max-width: 640px) {
    .login-card {
        padding: 1.6rem 1.35rem;
        border-radius: 1rem;
    }

    .admin-header-inner {
        min-height: 4.35rem;
        gap: 1rem;
    }

    .admin-brand img {
        width: 8.75rem;
    }

    .user-chip {
        display: none;
    }

    .admin-user-area {
        margin-left: auto;
    }

    .admin-hero-grid {
        padding-top: 2.6rem;
        padding-bottom: 2.7rem;
        gap: 2rem;
    }

    .admin-hero h1 {
        font-size: 2.35rem;
    }

    .hero-meta {
        gap: 1.1rem;
    }

    .summary-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
        gap: .8rem;
    }

    .dashboard-section {
        padding-top: 2rem;
    }

    .feature-lines {
        grid-template-columns: 1fr;
    }

    .progress-caption {
        flex-direction: column;
        gap: .2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

/* ==========================================================
   ACADUM — CORREÇÃO TIPOGRÁFICA 01A
   Referência visual: Meritux
   Inter no corpo / Sora nos títulos
   ========================================================== */

html,
body {
    font-size: 16px;
}

.admin-nav a,
.admin-nav span {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 500;
}

.hero-breadcrumb {
    font-size: .875rem;
    line-height: 1.25rem;
}

.status-pill {
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 600;
}

.admin-hero h1 {
    font-family: "Sora", system-ui, sans-serif;
    font-size: 3.75rem;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -.025em;
}

.admin-hero-grid > div > p {
    font-size: 1.25rem;
    line-height: 1.625;
}

.hero-meta span {
    font-size: .75rem;
    line-height: 1rem;
}

.hero-meta strong {
    font-size: 1rem;
    line-height: 1.5rem;
}

.summary-heading > div > span {
    font-size: .875rem;
    line-height: 1.25rem;
}

.summary-heading > div > strong {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 600;
}

.summary-item > span,
.summary-item .summary-label {
    font-size: .875rem;
    line-height: 1.25rem;
}

.summary-item strong,
.summary-item .summary-value {
    font-family: "Sora", system-ui, sans-serif;
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
}

.summary-item small,
.summary-item .summary-caption {
    font-size: .75rem;
    line-height: 1rem;
}

.dashboard-section h2,
.section-heading h2 {
    font-family: "Sora", system-ui, sans-serif;
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 600;
    letter-spacing: -.025em;
}

.dashboard-section p,
.section-heading p {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

@media (max-width: 767px) {
    .admin-hero h1 {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }

    .admin-hero-grid > div > p {
        font-size: 1rem;
        line-height: 1.5rem;
    }
}

/* ==========================================================
   ACADUM WEB — PACOTE 02 REVISADO
   Identidade laranja preservando a tipografia da Correção 01A
   ========================================================== */

.admin-hero .status-pill-online {
    color: #fff7f1;
    background: rgba(122, 45, 12, .24);
    border-color: rgba(255,255,255,.22);
}

.admin-hero .status-dot {
    background: #ffe0c9;
    box-shadow: 0 0 0 4px rgba(255,224,201,.16);
}

.admin-hero .summary-icon {
    color: #ffe1ce;
}

.admin-hero .summary-item {
    background: rgba(255,255,255,.11);
}

.admin-hero .hero-summary-card {
    background: rgba(122,45,12,.14);
    border-color: rgba(255,255,255,.22);
}

.admin-hero .summary-item.tone-teal,
.admin-hero .summary-item.tone-blue,
.admin-hero .summary-item.tone-green,
.admin-hero .summary-item.tone-orange {
    color: #fff;
}

.admin-hero .summary-item-icon {
    color: #fff4ec;
}


/* ---------------------------------
   ACADUM WEB P02 — Conteúdo / Cursos
---------------------------------- */

.btn-orange {
    color: #fff;
    background: linear-gradient(
        135deg,
        var(--acadum-orange),
        #de5f20
    );
    box-shadow: 0 8px 18px rgba(244,122,50,.18);
}

.btn-orange:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(244,122,50,.25);
}

.btn-outline {
    color: #506477;
    border-color: var(--border-strong);
    background: #fff;
}

.btn-outline:hover {
    color: var(--acadum-navy);
    border-color: #bdcad5;
    background: #f9fbfc;
}

.btn-small {
    min-height: 2.35rem;
    padding: 0 .9rem;
    font-size: .75rem;
}

.content-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
}

.content-hero-orange {
    background:
        radial-gradient(
            circle at 12% 12%,
            rgba(255,255,255,.17),
            transparent 24%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(88,31,8,.18),
            transparent 28%
        ),
        linear-gradient(
            115deg,
            #f47a32 0%,
            #e46624 52%,
            #bd4d18 100%
        );
}

.content-hero > .admin-container {
    padding-top: 2.6rem;
    padding-bottom: 2.7rem;
}

.content-breadcrumb {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .55rem;
    color: rgba(255,255,255,.72);
    font-size: .78rem;
}

.content-breadcrumb a:hover {
    color: #fff;
}

.content-breadcrumb strong {
    color: #fff;
}

.content-hero-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.content-hero-heading h1 {
    margin-top: .75rem;
    font-size: clamp(2rem, 4.5vw, 3.3rem);
    line-height: 1.08;
}

.content-hero-heading p {
    margin-top: .75rem;
    max-width: 42rem;
    color: rgba(255,255,255,.78);
    font-size: .88rem;
    line-height: 1.65;
}

.status-pill-light {
    color: #fff;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.18);
}

.btn-hero-light {
    min-height: 2.85rem;
    flex: 0 0 auto;
    color: #a54117;
    background: #fff;
    border-color: rgba(255,255,255,.35);
    box-shadow: 0 12px 26px rgba(105,39,11,.16);
}

.btn-hero-light:hover {
    transform: translateY(-1px);
    background: #fff8f3;
}

.content-kpi-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .7rem;
}

.content-kpi {
    padding: .85rem 1rem;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: .72rem;
    background: rgba(255,255,255,.09);
    backdrop-filter: blur(7px);
}

.content-kpi span,
.content-kpi strong,
.content-kpi small {
    display: block;
}

.content-kpi span {
    color: rgba(255,255,255,.65);
    font-size: .66rem;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.content-kpi strong {
    margin-top: .2rem;
    font-family: "Sora", sans-serif;
    font-size: 1.45rem;
}

.content-kpi small {
    margin-top: .1rem;
    color: rgba(255,255,255,.66);
    font-size: .65rem;
}

.content-section {
    padding: 2.4rem 0 4rem;
}

.content-toolbar {
    margin-bottom: 1rem;
    padding: .9rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid var(--border);
    border-radius: .85rem;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.content-filter-form {
    flex: 1;
    display: flex;
    gap: .65rem;
}

.search-field {
    position: relative;
    min-width: 16rem;
    max-width: 30rem;
    flex: 1;
}

.search-field svg {
    position: absolute;
    top: 50%;
    left: .85rem;
    width: 1rem;
    height: 1rem;
    color: #8797a8;
    transform: translateY(-50%);
}

.search-field input,
.content-filter-form select,
.admin-form-fields input,
.admin-form-fields textarea,
.form-side-card input,
.form-side-card select {
    width: 100%;
    border: 1px solid var(--border-strong);
    border-radius: .6rem;
    color: var(--foreground);
    background: #fff;
    outline: none;
    transition: .2s ease;
}

.search-field input {
    height: 2.65rem;
    padding: 0 .8rem 0 2.45rem;
}

.content-filter-form select {
    width: 11.5rem;
    height: 2.65rem;
    padding: 0 .75rem;
}

.search-field input:focus,
.content-filter-form select:focus,
.admin-form-fields input:focus,
.admin-form-fields textarea:focus,
.form-side-card input:focus,
.form-side-card select:focus {
    border-color: var(--acadum-orange);
    box-shadow: 0 0 0 3px rgba(244,122,50,.10);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.course-card {
    min-height: 19rem;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: .9rem;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease;
}

.course-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(38,54,69,.10);
}

.course-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
}

.course-folder-icon {
    width: 2.8rem;
    height: 2.8rem;
    display: grid;
    place-items: center;
    color: var(--acadum-orange);
    background: var(--acadum-orange-soft);
    border-radius: .7rem;
}

.course-folder-icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.course-status {
    min-height: 1.7rem;
    padding: 0 .65rem;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: .65rem;
    font-weight: 700;
}

.course-status-published {
    color: #147146;
    background: #e8f7ef;
}

.course-status-draft {
    color: #9a6712;
    background: #fff6dd;
}

.course-status-archived {
    color: #637184;
    background: #eef2f5;
}

.course-card-copy {
    margin-top: 1rem;
}

.course-origin {
    color: #8b98a7;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.course-card-copy h2 {
    margin-top: .35rem;
    font-size: 1.05rem;
    line-height: 1.45;
}

.course-card-copy p {
    margin-top: .55rem;
    color: var(--muted-foreground);
    font-size: .77rem;
    line-height: 1.65;
}

.course-card-meta {
    margin-top: auto;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    gap: .7rem;
    color: #8a98a7;
    font-size: .65rem;
}

.course-card-actions {
    margin-top: .8rem;
    padding-top: .85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .7rem;
    border-top: 1px solid #edf1f4;
}

.lessons-coming {
    color: #98a5b3;
    font-size: .62rem;
}

.empty-state {
    min-height: 24rem;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px dashed #d3dde6;
    border-radius: 1rem;
    background: #fff;
}

.empty-state-icon {
    width: 4.25rem;
    height: 4.25rem;
    display: grid;
    place-items: center;
    color: var(--acadum-orange);
    background: var(--acadum-orange-soft);
    border-radius: 1rem;
}

.empty-state-icon svg {
    width: 2rem;
    height: 2rem;
}

.empty-state h2 {
    margin-top: 1rem;
    font-size: 1.25rem;
}

.empty-state p {
    margin: .55rem 0 1.25rem;
    max-width: 30rem;
    color: var(--muted-foreground);
    font-size: .82rem;
    line-height: 1.65;
}

.form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(17rem, .65fr);
    gap: 1rem;
}

.form-main-card,
.form-side-card {
    border: 1px solid var(--border);
    border-radius: .9rem;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.form-main-card {
    padding: 1.5rem;
}

.form-side-stack {
    display: grid;
    align-content: start;
    gap: 1rem;
}

.form-side-card {
    padding: 1.25rem;
}

.content-card-heading h2,
.content-card-heading h3 {
    margin-top: .25rem;
}

.content-card-heading h2 {
    font-size: 1.15rem;
}

.content-card-heading h3 {
    font-size: 1rem;
}

.content-card-heading p {
    margin-top: .4rem;
    color: var(--muted-foreground);
    font-size: .76rem;
    line-height: 1.6;
}

.admin-form-fields {
    margin-top: 1.4rem;
}

.admin-form-fields .field + .field,
.form-side-card .field + .field {
    margin-top: 1rem;
}

.admin-form-fields label,
.form-side-card label {
    display: block;
    margin-bottom: .42rem;
    color: #31465a;
    font-size: .76rem;
    font-weight: 700;
}

.admin-form-fields input,
.form-side-card input,
.form-side-card select {
    height: 2.8rem;
    padding: 0 .8rem;
}

.admin-form-fields textarea {
    min-height: 11rem;
    padding: .75rem .8rem;
    resize: vertical;
}

.admin-form-fields small,
.form-side-card small {
    display: block;
    margin-top: .35rem;
    color: #8996a4;
    font-size: .67rem;
    line-height: 1.5;
}

.course-meta-card {
    background: #fffaf6;
    border-color: #f4dfd0;
}

.course-meta-row {
    margin-top: .85rem;
    padding-top: .75rem;
    border-top: 1px solid #f2e4da;
}

.course-meta-row span,
.course-meta-row strong,
.course-meta-row code {
    display: block;
}

.course-meta-row span {
    color: #8996a4;
    font-size: .64rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.course-meta-row strong,
.course-meta-row code {
    margin-top: .2rem;
    color: #42566a;
    font-size: .72rem;
}

.course-meta-row code {
    word-break: break-all;
}

.form-actions {
    margin-top: 1rem;
    padding: 1rem;
    display: flex;
    justify-content: flex-end;
    gap: .65rem;
    border: 1px solid var(--border);
    border-radius: .85rem;
    background: #fff;
}

.form-alert {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.form-alert strong,
.form-alert span {
    display: inline;
}

.pagination-wrap {
    margin-top: 1.25rem;
}

@media (max-width: 1000px) {
    .course-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 700px) {
    .content-hero-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .content-filter-form {
        flex-direction: column;
    }

    .content-filter-form select {
        width: 100%;
    }

    .content-toolbar {
        flex-direction: column;
    }

    .toolbar-new-course {
        width: 100%;
    }

    .search-field {
        min-width: 0;
        max-width: none;
    }

    .course-grid {
        grid-template-columns: 1fr;
    }

    .content-kpi-grid {
        grid-template-columns: 1fr 1fr;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .form-actions .btn {
        width: 100%;
    }
}

/* ==========================================================
   ACADUM WEB — CORREÇÃO 02B
   REFERÊNCIA VISUAL EXATA: página de detalhe Meritux enviada
   Mantém identidade/conteúdo ACADUM, mas usa a mesma lógica
   de proporção, hierarquia, espaçamento e composição visual.
   ========================================================== */

/* ---------- base ---------- */
html,
body {
    font-size: 16px;
}

.admin-body {
    background:
        linear-gradient(to bottom, #edf4ff 0%, #ffffff 100%);
    color: #17213a;
}

/* ---------- header: 64px como a referência ---------- */
.admin-header {
    background: #ffffff;
    border-bottom: 0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .08);
}

.admin-header-inner {
    min-height: 4rem;
    max-width: 80rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.admin-brand img {
    height: 3rem;
    width: auto;
}

.admin-nav {
    gap: 2rem;
}

.admin-nav a,
.admin-nav span {
    padding-top: 1.25rem;
    padding-bottom: 1.05rem;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 500;
    color: #64748b;
}

.admin-nav a:hover,
.admin-nav a.active {
    color: #2563eb;
}

.admin-nav a.active::after {
    bottom: .65rem;
    height: .125rem;
    background: #2563eb;
}

/* ---------- container exatamente na mesma largura ---------- */
.admin-container {
    width: 100%;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* ---------- HERO: mesma composição azul da referência ---------- */
.admin-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(135deg, #2563eb 0%, #1d4ed8 52%, #1e3a8a 100%);
    border-bottom: 0;
}

.admin-hero .hero-pattern {
    position: absolute;
    inset: 0;
    opacity: .10;
    background-image:
        radial-gradient(circle at 1px 1px, #ffffff 1px, transparent 0);
    background-size: 40px 40px;
    mask-image: none;
}

.admin-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: center;
    min-height: 0;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* breadcrumb */
.admin-hero .hero-breadcrumb {
    margin-bottom: 1.5rem;
    gap: .5rem;
    font-size: .875rem;
    line-height: 1.25rem;
    color: #dbeafe;
}

.admin-hero .hero-breadcrumb strong {
    color: #ffffff;
    font-weight: 500;
}

/* status */
.admin-hero .status-pill-online {
    display: inline-flex;
    margin-bottom: 1.5rem;
    padding: .5rem 1rem;
    color: #ffffff;
    background: #16a34a;
    border: 0;
    border-radius: 9999px;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 600;
}

.admin-hero .status-dot {
    background: #ffffff;
    box-shadow: none;
}

/* título: referência usa 48px no desktop */
.admin-hero h1 {
    max-width: 50rem;
    margin-top: 0;
    color: #ffffff;
    font-family: "Sora", system-ui, sans-serif;
    font-size: 3rem;
    line-height: 1.06;
    font-weight: 600;
    letter-spacing: -.025em;
}

.admin-hero h1 span {
    color: #ffffff;
}

/* texto principal */
.admin-hero-grid > div > p {
    max-width: 46rem;
    margin-top: 1.5rem;
    color: #dbeafe;
    font-size: 1rem;
    line-height: 1.6;
}

/* metadados como os três blocos da referência */
.admin-hero .hero-meta {
    margin-top: 1.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.admin-hero .hero-meta > div {
    min-width: 7.5rem;
}

.admin-hero .hero-meta span {
    color: #bfdbfe;
    font-size: .75rem;
    line-height: 1rem;
}

.admin-hero .hero-meta strong {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 600;
}

/* ---------- quadro da direita: mesmo glass card ---------- */
.admin-hero .hero-summary-card {
    width: 20rem;
    padding: 1.5rem;
    color: #ffffff;
    background: rgba(255,255,255,.10);
    border: 2px solid #60a5fa;
    border-radius: 1rem;
    box-shadow: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.admin-hero .summary-heading {
    align-items: flex-start;
}

.admin-hero .summary-heading > div > span {
    color: #dbeafe;
    font-size: .875rem;
    line-height: 1.25rem;
}

.admin-hero .summary-heading > div > strong {
    margin-top: .25rem;
    color: #ffffff;
    font-family: "Sora", system-ui, sans-serif;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 600;
}

.admin-hero .summary-icon {
    width: 3rem;
    height: 3rem;
    color: #ffffff;
    background: rgba(255,255,255,.12);
    border-radius: .75rem;
}

.admin-hero .summary-divider {
    margin-top: 1rem;
    margin-bottom: 1rem;
    background: rgba(191,219,254,.55);
}

/* Métricas internas: discretas, mantendo o amarelo só aqui */
.admin-hero .summary-grid {
    gap: .75rem;
}

.admin-hero .summary-item {
    min-height: 0;
    padding: .9rem;
    background: rgba(255,255,255,.10);
    border: 0;
    border-radius: .75rem;
}

.admin-hero .summary-item-icon {
    width: 2.25rem;
    height: 2.25rem;
    color: #ffffff;
    background: rgba(255,255,255,.14);
    border-radius: .6rem;
}

.admin-hero .summary-item > span:not(.summary-item-icon),
.admin-hero .summary-item small {
    color: #dbeafe;
}

.admin-hero .summary-item strong {
    color: #ffffff;
    font-size: 1.65rem;
    line-height: 1.9rem;
}

/* amarelo somente no item de atenção do quadro da direita */
.admin-hero .summary-item.tone-orange {
    background: rgba(250,204,21,.13);
}

.admin-hero .summary-item.tone-orange .summary-item-icon {
    color: #1e3a8a;
    background: #facc15;
}

.admin-hero .summary-item.tone-orange strong {
    color: #fde047;
}

/* ---------- conteúdo abaixo: mesmo fundo claro ---------- */
.dashboard-section {
    padding-top: 3rem;
    padding-bottom: 4rem;
    background:
        linear-gradient(to bottom, #eff6ff 0%, #f8fafc 100%);
}

.dashboard-section .eyebrow {
    color: #2563eb;
}

.dashboard-section h2,
.section-heading h2 {
    color: #17213a;
    font-family: "Sora", system-ui, sans-serif;
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 600;
}

.dashboard-section p,
.section-heading p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.5rem;
}

/* cards no padrão branco, borda suave e sombra mínima */
.dashboard-card,
.content-toolbar,
.course-card,
.form-main-card,
.form-side-card,
.form-actions {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 1px 2px rgba(15,23,42,.05);
}

/* ---------- módulo Conteúdo/Cursos na mesma linguagem ---------- */
.content-hero,
.content-hero-orange {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(135deg, #2563eb 0%, #1d4ed8 52%, #1e3a8a 100%);
    border-bottom: 0;
}

.content-hero::before,
.content-hero-orange::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .10;
    background-image:
        radial-gradient(circle at 1px 1px, #ffffff 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

.content-hero > *,
.content-hero-orange > * {
    position: relative;
    z-index: 1;
}

.content-breadcrumb,
.content-breadcrumb a {
    color: #dbeafe;
}

.content-breadcrumb strong,
.content-breadcrumb a:hover {
    color: #ffffff;
}

.content-hero-heading h1 {
    color: #ffffff;
    font-family: "Sora", system-ui, sans-serif;
    font-size: 3rem;
    line-height: 1.06;
    font-weight: 600;
}

.content-hero-heading p {
    color: #dbeafe;
}

.content-hero .status-pill-light {
    color: #ffffff;
    background: #16a34a;
    border: 0;
}

.content-hero .btn-hero-light {
    color: #1e3a8a;
    background: #facc15;
    border-color: transparent;
    font-weight: 700;
}

.content-hero .btn-hero-light:hover {
    background: #fde047;
}

/* cards de KPI abaixo do hero */
.content-kpi {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #17213a;
}

.content-kpi:first-child {
    background: #eff6ff;
    border-color: #bfdbfe;
}

/* ---------- responsivo ---------- */
@media (max-width: 1023px) {
    .admin-header-inner,
    .admin-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .admin-hero-grid {
        grid-template-columns: 1fr;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .admin-hero .hero-summary-card {
        width: 100%;
        max-width: 32rem;
    }
}

@media (max-width: 767px) {
    .admin-header-inner,
    .admin-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .admin-hero h1,
    .content-hero-heading h1 {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }

    .admin-hero-grid > div > p {
        font-size: 1rem;
        line-height: 1.5rem;
    }
}

/* ==========================================================
   ACADUM WEB — CORREÇÃO 02C
   Ações no hero + identidade ACADUM nos cards de ambiente
   ========================================================== */

/* ---------- ações abaixo do texto do hero ---------- */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .875rem;
    margin-top: 1.75rem;
}

.hero-action-button {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    gap: .625rem;
    padding: .6875rem 1.25rem;
    border-radius: .5rem;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform .18s ease,
        background-color .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.hero-action-button svg {
    width: 1.05rem;
    height: 1.05rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-action-button:hover {
    transform: translateY(-1px);
}

.hero-action-primary {
    color: #17213a;
    background: #facc15;
    border: 1px solid #facc15;
    box-shadow: 0 10px 24px rgba(250, 204, 21, .20);
}

.hero-action-primary:hover {
    background: #fde047;
    border-color: #fde047;
    box-shadow: 0 12px 28px rgba(250, 204, 21, .27);
}

.hero-action-secondary {
    color: #17213a;
    background: #facc15;
    border: 1px solid #facc15;
}

.hero-action-secondary:hover {
    background: #fde047;
    border-color: #fde047;
}

/* ---------- painel direito maior ---------- */
.admin-hero .hero-summary-card {
    width: 23.5rem;
    padding: 1.75rem;
    border-color: rgba(147, 197, 253, .90);
    background: rgba(255, 255, 255, .11);
    box-shadow: 0 18px 45px rgba(14, 42, 112, .16);
}

/* ---------- cards internos maiores ---------- */
.admin-hero .summary-grid {
    gap: .875rem;
}

.admin-hero .summary-item {
    position: relative;
    min-height: 9rem;
    padding: 1.1rem 1rem 1rem;
    overflow: hidden;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.08);
}

.admin-hero .summary-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: .25rem;
    border-radius: .75rem 0 0 .75rem;
}

.admin-hero .summary-item-icon {
    width: 2.65rem;
    height: 2.65rem;
    margin-bottom: .55rem;
    border-radius: .7rem;
}

.admin-hero .summary-item > span:not(.summary-item-icon) {
    font-size: .8125rem;
    line-height: 1.125rem;
    font-weight: 500;
}

.admin-hero .summary-item strong {
    margin-top: .2rem;
    font-size: 2rem;
    line-height: 2.25rem;
    font-family: "Sora", system-ui, sans-serif;
    font-weight: 700;
}

.admin-hero .summary-item small {
    margin-top: .15rem;
    font-size: .75rem;
    line-height: 1rem;
}

/* ---------- identidade visual ACADUM nos quatro cards ---------- */
/* Turquesa do símbolo */
.admin-hero .summary-item.tone-teal::before {
    background: #20a0a0;
}

.admin-hero .summary-item.tone-teal .summary-item-icon {
    color: #ffffff;
    background: #20a0a0;
}

/* Azul petróleo / institucional */
.admin-hero .summary-item.tone-blue::before {
    background: #16475a;
}

.admin-hero .summary-item.tone-blue .summary-item-icon {
    color: #ffffff;
    background: #16475a;
}

/* Turquesa claro para estado saudável */
.admin-hero .summary-item.tone-green::before {
    background: #2bb6ad;
}

.admin-hero .summary-item.tone-green .summary-item-icon {
    color: #ffffff;
    background: #2bb6ad;
}

/* Laranja da marca ACADUM para atenção/falhas */
.admin-hero .summary-item.tone-orange {
    background: rgba(244, 122, 50, .18);
}

.admin-hero .summary-item.tone-orange::before {
    background: #f47a32;
}

.admin-hero .summary-item.tone-orange .summary-item-icon {
    color: #ffffff;
    background: #f47a32;
}

.admin-hero .summary-item.tone-orange strong {
    color: #ffe08a;
}

/* ícone superior do quadro com toque ACADUM */
.admin-hero .summary-icon {
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(32,160,160,.85), rgba(22,71,90,.92));
}

/* ---------- responsivo ---------- */
@media (max-width: 1023px) {
    .admin-hero .hero-summary-card {
        width: 100%;
        max-width: 36rem;
    }
}

@media (max-width: 767px) {
    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-action-button {
        width: 100%;
    }

    .admin-hero .summary-item {
        min-height: 8.25rem;
    }
}

/* ==========================================================
   ACADUM WEB — CORREÇÃO 02D
   Botões brancos + KPIs verticais + hero mais baixo
   ========================================================== */

/* Hero mais compacto */
.admin-hero-grid {
    min-height: 0;
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
    gap: 2.25rem;
}

/* Botões brancos com ícones laranja ACADUM */
.hero-actions {
    margin-top: 1.4rem;
}

.hero-action-button {
    min-height: 2.75rem;
    color: var(--acadum-navy);
    background: #ffffff;
    border: 1px solid rgba(255,255,255,.96);
    box-shadow: 0 8px 22px rgba(8, 41, 113, .13);
}

.hero-action-button svg {
    color: var(--acadum-orange);
    stroke: var(--acadum-orange);
}

.hero-action-primary,
.hero-action-secondary {
    color: var(--acadum-navy);
    background: #ffffff;
    border-color: #ffffff;
}

.hero-action-primary:hover,
.hero-action-secondary:hover {
    color: var(--acadum-navy);
    background: #f8fafc;
    border-color: #f8fafc;
    box-shadow: 0 10px 26px rgba(8, 41, 113, .18);
}

/* KPIs do lado direito em coluna, sem cabeçalho e sem card externo */
.hero-kpi-stack {
    width: 22rem;
    display: grid;
    gap: .75rem;
    align-self: center;
}

.hero-kpi {
    min-height: 5.4rem;
    padding: .95rem 1rem;
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: .9rem;
    align-items: center;
    border-radius: .85rem;
    background: #ffffff;
    border: 1px solid rgba(255,255,255,.95);
    box-shadow: 0 12px 28px rgba(8, 41, 113, .13);
}

.hero-kpi-icon {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border-radius: .7rem;
    background: #fff4ec;
    color: var(--acadum-orange);
}

.hero-kpi-icon svg {
    width: 1.35rem;
    height: 1.35rem;
    stroke-width: 2;
}

.hero-kpi-copy {
    min-width: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: baseline;
    column-gap: .75rem;
}

.hero-kpi-copy > span {
    grid-column: 1 / -1;
    color: #64748b;
    font-size: .875rem;
    line-height: 1.2rem;
    font-weight: 600;
}

.hero-kpi-copy strong {
    color: var(--acadum-navy);
    font-family: "Sora", system-ui, sans-serif;
    font-size: 2.15rem;
    line-height: 2.35rem;
    font-weight: 700;
}

.hero-kpi-copy small {
    color: #7b8a9a;
    font-size: .84rem;
    line-height: 1.15rem;
    font-weight: 500;
}

/* Identidade ACADUM por KPI */
.hero-kpi-teal {
    border-left: .3rem solid var(--acadum-teal);
}

.hero-kpi-teal .hero-kpi-icon {
    color: #ffffff;
    background: var(--acadum-teal);
}

.hero-kpi-navy {
    border-left: .3rem solid var(--acadum-navy);
}

.hero-kpi-navy .hero-kpi-icon {
    color: #ffffff;
    background: var(--acadum-navy);
}

.hero-kpi-aqua {
    border-left: .3rem solid #2bb6ad;
}

.hero-kpi-aqua .hero-kpi-icon {
    color: #ffffff;
    background: #2bb6ad;
}

.hero-kpi-orange {
    border-left: .3rem solid var(--acadum-orange);
}

.hero-kpi-orange .hero-kpi-icon {
    color: #ffffff;
    background: var(--acadum-orange);
}

.hero-kpi-orange strong {
    color: var(--acadum-orange);
}

/* Reduz um pouco o espaçamento vertical do conteúdo textual */
.admin-hero .hero-breadcrumb {
    margin-bottom: 1rem;
}

.admin-hero .status-pill-online {
    margin-bottom: 1.15rem;
}

.admin-hero h1 {
    margin-bottom: 0;
}

.admin-hero-grid > div > p {
    margin-top: 1rem;
}

.admin-hero .hero-meta {
    margin-top: 1.25rem;
}

/* Responsivo */
@media (max-width: 1023px) {
    .admin-hero-grid {
        grid-template-columns: 1fr;
        padding-top: 2.75rem;
        padding-bottom: 2.75rem;
    }

    .hero-kpi-stack {
        width: 100%;
        max-width: 36rem;
    }
}

@media (max-width: 767px) {
    .hero-kpi-stack {
        gap: .65rem;
    }

    .hero-kpi {
        min-height: 5rem;
        grid-template-columns: 2.75rem 1fr;
        padding: .85rem;
    }

    .hero-kpi-icon {
        width: 2.75rem;
        height: 2.75rem;
    }

    .hero-kpi-copy strong {
        font-size: 1.8rem;
        line-height: 2rem;
    }
}


/* ==========================================================
   ACADUM WEB — CORREÇÃO 02F
   LOGIN LIMPO / DISCRETO
   ========================================================== */

.login-page-clean {
    background:
        radial-gradient(circle at 12% 14%, rgba(32,159,160,.07), transparent 28%),
        radial-gradient(circle at 88% 86%, rgba(244,122,50,.07), transparent 24%),
        linear-gradient(180deg, #eef6fb 0%, #f8fafc 100%);
}

.login-clean-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(28rem, .92fr);
}

.login-clean-brand {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 4rem clamp(3rem, 7vw, 7rem);
}

.login-clean-brand-inner {
    position: relative;
    z-index: 2;
    width: min(100%, 38rem);
}

.login-clean-logo {
    width: min(28rem, 78%);
    height: auto;
}

.login-clean-copy {
    margin-top: 2.5rem;
}

.login-clean-eyebrow {
    display: inline-block;
    color: var(--acadum-teal);
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.login-clean-copy h1 {
    margin-top: .65rem;
    color: var(--acadum-navy);
    font-family: "Sora", system-ui, sans-serif;
    font-size: clamp(2.6rem, 5vw, 4rem);
    line-height: 1.05;
    font-weight: 600;
}

.login-clean-copy p {
    margin-top: .8rem;
    color: #66798c;
    font-size: 1rem;
    line-height: 1.6;
}

.login-clean-line {
    position: absolute;
    border: 1px solid rgba(22,67,87,.08);
    transform: rotate(45deg);
    border-radius: 1.4rem;
}

.login-clean-line-one {
    width: 22rem;
    height: 22rem;
    top: -6rem;
    right: -5rem;
}

.login-clean-line-two {
    width: 9rem;
    height: 9rem;
    left: 8%;
    bottom: 9%;
    border-color: rgba(244,122,50,.11);
}

.login-clean-form-area {
    min-height: 100vh;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-clean-card {
    width: 100%;
    max-width: 30.5rem;
    padding: 2.5rem 2.5rem 2rem;
    border: 1px solid #e1e8ef;
    border-radius: 1.4rem;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(22,67,87,.10);
}

.login-clean-card-heading {
    margin-bottom: 1.6rem;
}

.login-clean-eyebrow-orange {
    color: var(--acadum-orange);
}

.login-clean-card-heading h2 {
    margin-top: .45rem;
    color: var(--acadum-navy);
    font-family: "Sora", system-ui, sans-serif;
    font-size: 2rem;
    line-height: 2.4rem;
    font-weight: 600;
}

.login-clean-form .field + .field {
    margin-top: 1rem;
}

.login-clean-form .field label {
    display: block;
    margin-bottom: .45rem;
    color: var(--acadum-navy);
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 700;
}

.login-clean-form .input-wrap input {
    height: 3.25rem;
    border-color: #d9e2eb;
    border-radius: .75rem;
    background: #ffffff;
}

.login-clean-form .input-wrap input:focus {
    border-color: var(--acadum-teal);
    box-shadow: 0 0 0 3px rgba(32,159,160,.10);
}

.login-clean-form .input-icon {
    color: var(--acadum-navy);
}

.login-clean-form .remember-row {
    margin-top: 1.05rem;
    margin-bottom: 1.25rem;
    color: #5f7286;
}

.login-clean-submit {
    width: 100%;
    min-height: 3.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    border: 0;
    border-radius: .75rem;
    color: #ffffff;
    background:
        linear-gradient(135deg, #16475a 0%, #1f8c8f 100%);
    box-shadow: 0 10px 24px rgba(22,67,87,.16);
    font-size: .95rem;
    font-weight: 700;
}

.login-clean-submit:hover {
    background:
        linear-gradient(135deg, #123b4d 0%, #197d80 100%);
}

.login-clean-submit svg {
    width: 1rem;
    height: 1rem;
}

.login-clean-footer {
    margin-top: 1.35rem;
    padding-top: 1.15rem;
    border-top: 1px solid #e9eef3;
    color: #8593a2;
    text-align: center;
    font-size: .75rem;
    letter-spacing: .08em;
    font-weight: 600;
}

@media (max-width: 900px) {
    .login-clean-shell {
        display: block;
    }

    .login-clean-brand {
        display: none;
    }

    .login-clean-form-area {
        min-height: 100vh;
        padding: 1.25rem;
    }

    .login-clean-card {
        padding: 2rem 1.5rem 1.6rem;
    }
}


/* ==========================================================
   ACADUM WEB — CORREÇÃO 02G
   LOGIN COM FUNDO DIVIDIDO
   ========================================================== */

.login-page-clean {
    background: linear-gradient(90deg, #17586b 0 54%, #f4f8fb 54% 100%);
}

.login-clean-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(28rem, .92fr);
}

.login-clean-brand {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 4rem clamp(3rem, 7vw, 7rem);
    background:
        radial-gradient(circle at 80% 86%, rgba(93, 210, 208, .18), transparent 28%),
        linear-gradient(135deg, #165569 0%, #1b6f84 100%);
}

.login-clean-brand::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: .24;
    pointer-events: none;
}

.login-clean-brand-inner {
    position: relative;
    z-index: 2;
    width: min(100%, 38rem);
}

.login-clean-logo {
    width: min(28rem, 78%);
    height: auto;
    filter: drop-shadow(0 12px 28px rgba(0,0,0,.12));
}

.login-clean-eyebrow {
    color: #9fe5df;
}

.login-clean-copy h1 {
    color: #ffffff;
}

.login-clean-copy p {
    color: rgba(255,255,255,.78);
}

.login-clean-line {
    position: absolute;
    border: 1px solid rgba(255,255,255,.12);
    transform: rotate(45deg);
    border-radius: 1.4rem;
    z-index: 1;
}

.login-clean-line-one {
    width: 22rem;
    height: 22rem;
    top: -6rem;
    right: -4rem;
}

.login-clean-line-two {
    width: 9rem;
    height: 9rem;
    left: 6%;
    bottom: 10%;
    border-color: rgba(255,255,255,.10);
}

.login-clean-form-area {
    min-height: 100vh;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f4f8fb 0%, #f8fafc 100%);
}

.login-clean-card {
    position: relative;
    width: 100%;
    max-width: 30.5rem;
    padding: 2.5rem 2.5rem 2rem;
    border: 1px solid #e1e8ef;
    border-radius: 1.4rem;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(22,67,87,.10);
}

.login-clean-card::after {
    content: "";
    position: absolute;
    width: 12rem;
    height: 12rem;
    right: -3.5rem;
    bottom: -3.5rem;
    background: radial-gradient(circle, rgba(244,122,50,.12) 0%, rgba(244,122,50,0) 72%);
    pointer-events: none;
}

@media (max-width: 900px) {
    .login-page-clean {
        background: linear-gradient(180deg, #f4f8fb 0%, #f8fafc 100%);
    }

    .login-clean-shell {
        display: block;
    }

    .login-clean-brand {
        display: none;
    }

    .login-clean-form-area {
        min-height: 100vh;
        padding: 1.25rem;
        background: linear-gradient(180deg, #f4f8fb 0%, #f8fafc 100%);
    }

    .login-clean-card {
        padding: 2rem 1.5rem 1.6rem;
    }
}

/* ==========================================================
   ACADUM — LOGIN ORIGINAL
   Restauração visual isolada da tela de login.
   IMPORTANTE:
   - este bloco é escopado a .acadum-login-page;
   - não altera Dashboard, Cursos, Hero, KPIs ou outras telas;
   - valores reproduzem o login original do primeiro pacote.
   ========================================================== */

.acadum-login-page {
    min-height: 100vh;
    overflow-x: hidden;
    background: #f4f8fb;
}

.acadum-login-page .login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(28rem, .92fr);
}

.acadum-login-page .login-brand-panel {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 4rem clamp(2rem, 5vw, 6rem);
    display: flex;
    align-items: center;
    color: #fff;
    background:
        radial-gradient(circle at 18% 15%, rgba(32,159,160,.4), transparent 30%),
        radial-gradient(circle at 88% 82%, rgba(244,122,50,.18), transparent 25%),
        linear-gradient(135deg, #123d50 0%, #174f62 44%, #176f74 100%);
}

.acadum-login-page .login-brand-inner {
    position: relative;
    z-index: 2;
    width: min(100%, 42rem);
    margin: 0 auto;
}

.acadum-login-page .login-brand-logo {
    width: min(25rem, 70%);
    height: auto;
    margin-bottom: clamp(3rem, 8vh, 6rem);
    filter: brightness(0) invert(1);
}

.acadum-login-page .login-hero-copy h1 {
    margin-top: 1rem;
    max-width: 40rem;
    font-family: "Sora", "Inter", system-ui, sans-serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -.025em;
    color: #fff;
}

.acadum-login-page .login-hero-copy h1 span {
    color: #86d9d5;
}

.acadum-login-page .login-hero-copy p {
    margin-top: 1.4rem;
    max-width: 37rem;
    color: rgba(255,255,255,.78);
    font-size: 1rem;
    line-height: 1.75;
}

.acadum-login-page .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--acadum-teal);
    font-size: .75rem;
    line-height: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.acadum-login-page .eyebrow-light {
    color: #ccefee;
}

.acadum-login-page .login-feature-grid {
    margin-top: 2.4rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
}

.acadum-login-page .login-feature {
    min-height: 5.4rem;
    padding: 1rem;
    display: flex;
    gap: .85rem;
    align-items: center;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: .85rem;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(8px);
}

.acadum-login-page .login-feature strong,
.acadum-login-page .login-feature small {
    display: block;
}

.acadum-login-page .login-feature strong {
    font-size: .875rem;
}

.acadum-login-page .login-feature small {
    margin-top: .2rem;
    color: rgba(255,255,255,.65);
    font-size: .75rem;
}

.acadum-login-page .feature-icon {
    width: 2.65rem;
    height: 2.65rem;
    flex: 0 0 2.65rem;
    display: grid;
    place-items: center;
    border-radius: .65rem;
}

.acadum-login-page .feature-icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.acadum-login-page .feature-icon-teal {
    background: rgba(70, 213, 208, .18);
    color: #8ce2de;
}

.acadum-login-page .feature-icon-orange {
    background: rgba(244, 122, 50, .18);
    color: #ffc39c;
}

.acadum-login-page .brand-decor {
    position: absolute;
    border: 1px solid rgba(255,255,255,.1);
    transform: rotate(45deg);
    border-radius: 1.2rem;
}

.acadum-login-page .decor-one {
    width: 17rem;
    height: 17rem;
    top: -5rem;
    right: -5rem;
}

.acadum-login-page .decor-two {
    width: 9rem;
    height: 9rem;
    bottom: 8%;
    right: 10%;
}

.acadum-login-page .decor-three {
    width: 4rem;
    height: 4rem;
    top: 20%;
    left: 7%;
}

.acadum-login-page .login-form-panel {
    min-height: 100vh;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 75% 20%, rgba(32,159,160,.06), transparent 25%),
        #f7fafc;
}

.acadum-login-page .login-card {
    width: 100%;
    max-width: 28rem;
    padding: 2.25rem 2.5rem;
    border: 1px solid var(--border);
    border-radius: 1.35rem;
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow-md);
}

.acadum-login-page .login-mobile-brand {
    display: none;
}

.acadum-login-page .login-card-heading h2 {
    margin-top: .65rem;
    font-family: "Sora", "Inter", system-ui, sans-serif;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    letter-spacing: -.025em;
}

.acadum-login-page .login-card-heading p {
    margin-top: .65rem;
    color: var(--muted-foreground);
    font-size: .875rem;
    line-height: 1.6;
}

.acadum-login-page .login-form {
    margin-top: 1.6rem;
}

.acadum-login-page .field + .field {
    margin-top: 1rem;
}

.acadum-login-page .field label {
    display: block;
    margin-bottom: .45rem;
    color: #32465a;
    font-size: .8125rem;
    font-weight: 700;
}

.acadum-login-page .input-wrap {
    position: relative;
}

.acadum-login-page .input-wrap input {
    width: 100%;
    height: 3rem;
    padding: 0 2.8rem;
    border: 1px solid var(--border-strong);
    border-radius: .62rem;
    color: var(--foreground);
    background: #fff;
    outline: none;
    transition: .2s ease;
}

.acadum-login-page .input-wrap input:focus {
    border-color: var(--acadum-teal);
    box-shadow: 0 0 0 3px rgba(32,159,160,.11);
}

.acadum-login-page .input-wrap input::placeholder {
    color: #a3afbd;
}

.acadum-login-page .input-icon,
.acadum-login-page .password-toggle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
}

.acadum-login-page .input-icon {
    left: .9rem;
    color: #8293a5;
}

.acadum-login-page .input-icon svg,
.acadum-login-page .password-toggle svg {
    width: 1.1rem;
    height: 1.1rem;
}

.acadum-login-page .password-toggle {
    right: .45rem;
    width: 2.1rem;
    height: 2.1rem;
    border: 0;
    color: #8293a5;
    background: transparent;
    border-radius: .45rem;
}

.acadum-login-page .password-toggle:hover {
    color: var(--acadum-navy);
    background: #f2f6f9;
}

.acadum-login-page .remember-row {
    margin: 1rem 0 1.25rem;
    display: flex;
    align-items: center;
    gap: .55rem;
    color: var(--muted-foreground);
    font-size: .8125rem;
    cursor: pointer;
}

.acadum-login-page .remember-row input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--acadum-teal);
}

.acadum-login-page .btn {
    min-height: 2.75rem;
    padding: 0 1.25rem;
    border: 1px solid transparent;
    border-radius: .6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    font-size: .875rem;
    font-weight: 700;
    transition: .2s ease;
}

.acadum-login-page .btn svg {
    width: 1.05rem;
    height: 1.05rem;
}

.acadum-login-page .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--acadum-teal), #16898f);
    box-shadow: 0 8px 18px rgba(32,159,160,.22);
}

.acadum-login-page .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(32,159,160,.28);
}

.acadum-login-page .btn-full {
    width: 100%;
}

.acadum-login-page .login-security-note {
    margin-top: 1.4rem;
    padding-top: 1.2rem;
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    border-top: 1px solid var(--border);
}

.acadum-login-page .login-security-note > span {
    width: 1.9rem;
    height: 1.9rem;
    flex: 0 0 1.9rem;
    display: grid;
    place-items: center;
    color: var(--acadum-teal);
    background: var(--acadum-teal-soft);
    border-radius: .55rem;
}

.acadum-login-page .login-security-note svg {
    width: 1rem;
    height: 1rem;
}

.acadum-login-page .login-security-note p {
    color: var(--muted-foreground);
    font-size: .75rem;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .acadum-login-page .login-shell {
        display: block;
    }

    .acadum-login-page .login-brand-panel {
        display: none;
    }

    .acadum-login-page .login-form-panel {
        min-height: 100vh;
        padding: 1.5rem;
        background:
            radial-gradient(circle at 10% 0%, rgba(32,159,160,.14), transparent 32%),
            linear-gradient(180deg, #f7fbfc, #f5f8fb);
    }

    .acadum-login-page .login-mobile-brand {
        display: block;
        margin-bottom: 1.6rem;
    }

    .acadum-login-page .login-mobile-brand img {
        width: 12rem;
        height: auto;
    }
}

@media (max-width: 640px) {
    .acadum-login-page .login-card {
        padding: 1.6rem 1.35rem;
        border-radius: 1rem;
    }
}

/* ==========================================================
   ACADUM — RESTAURAÇÃO DO FUNDO ORIGINAL DO HERO
   Somente o background foi alterado.
   ========================================================== */
.admin-hero {
    background:
        radial-gradient(circle at 10% 10%, rgba(58,191,187,.22), transparent 25%),
        linear-gradient(115deg, #15475a 0%, #176878 58%, #16586b 100%);
}

/* ==========================================================
   ACADUM — CORREÇÃO DEFINITIVA DA ÁREA CONTEÚDO
   Escopo: somente .content-hero / .content-section
   Padrão aprovado: azul-petróleo + turquesa + laranja ACADUM
   ========================================================== */

body.admin-body .content-hero.content-hero-orange,
body.admin-body .content-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 10% 10%, rgba(58,191,187,.22), transparent 25%),
        linear-gradient(115deg, #15475a 0%, #176878 58%, #16586b 100%) !important;
    border-bottom: 0;
}

body.admin-body .content-hero.content-hero-orange::before,
body.admin-body .content-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .20;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,.22) 1px, transparent 0);
    background-size: 25px 25px;
    pointer-events: none;
}

body.admin-body .content-hero > .admin-container {
    position: relative;
    z-index: 1;
}

body.admin-body .content-hero .content-breadcrumb,
body.admin-body .content-hero .content-breadcrumb a {
    color: rgba(255,255,255,.76);
}

body.admin-body .content-hero .content-breadcrumb strong,
body.admin-body .content-hero .content-breadcrumb a:hover {
    color: #ffffff;
}

body.admin-body .content-hero .content-hero-heading h1 {
    color: #ffffff;
}

body.admin-body .content-hero .content-hero-heading p {
    color: rgba(255,255,255,.78);
}

body.admin-body .content-hero .status-pill-light {
    color: #ffffff;
    background: rgba(25,169,101,.28);
    border: 1px solid rgba(108,229,170,.22);
}

body.admin-body .content-hero .btn-hero-light {
    color: var(--acadum-navy);
    background: #ffffff !important;
    border-color: rgba(255,255,255,.96);
    box-shadow: 0 8px 22px rgba(5,40,53,.18);
    font-weight: 700;
}

body.admin-body .content-hero .btn-hero-light svg {
    color: var(--acadum-orange);
    stroke: var(--acadum-orange);
}

body.admin-body .content-hero .btn-hero-light:hover {
    color: var(--acadum-navy);
    background: #f8fafc !important;
    border-color: #f8fafc;
}

body.admin-body .content-hero .content-kpi {
    position: relative;
    overflow: hidden;
    color: var(--acadum-navy);
    background: #ffffff !important;
    border: 1px solid rgba(255,255,255,.95) !important;
    border-radius: .8rem;
    box-shadow: 0 10px 24px rgba(5,40,53,.12);
    backdrop-filter: none;
}

body.admin-body .content-hero .content-kpi:nth-child(1) {
    border-left: .28rem solid var(--acadum-teal) !important;
}
body.admin-body .content-hero .content-kpi:nth-child(2) {
    border-left: .28rem solid var(--acadum-green) !important;
}
body.admin-body .content-hero .content-kpi:nth-child(3) {
    border-left: .28rem solid var(--acadum-orange) !important;
}
body.admin-body .content-hero .content-kpi:nth-child(4) {
    border-left: .28rem solid var(--acadum-navy) !important;
}

body.admin-body .content-hero .content-kpi span {
    color: #66798c !important;
    font-size: .72rem;
    line-height: 1rem;
    font-weight: 700;
}
body.admin-body .content-hero .content-kpi strong {
    color: var(--acadum-navy) !important;
    font-size: 1.75rem;
    line-height: 2rem;
}
body.admin-body .content-hero .content-kpi small {
    color: #7f8e9d !important;
    font-size: .72rem;
    line-height: 1rem;
}

body.admin-body .content-section {
    background:
        linear-gradient(to bottom, #f4f8fb 0%, #ffffff 100%);
}

/* Aulas */
.lesson-grid {
    display: grid;
    gap: 1rem;
}

.lesson-card {
    padding: 1.15rem 1.2rem;
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    gap: 1rem;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: .9rem;
    box-shadow: var(--shadow-sm);
}

.lesson-order {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    color: var(--acadum-navy);
    background: var(--acadum-teal-soft);
    border-radius: .72rem;
    font-family: "Sora", system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.lesson-card-copy {
    min-width: 0;
}

.lesson-card-copy h2 {
    font-size: 1rem;
    line-height: 1.45rem;
}

.lesson-card-copy p {
    margin-top: .3rem;
    color: var(--muted-foreground);
    font-size: .78rem;
    line-height: 1.55;
}

.lesson-meta {
    margin-top: .45rem;
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    color: #8795a4;
    font-size: .68rem;
}

.lesson-card-actions {
    display: flex;
    align-items: center;
    gap: .55rem;
}

.lesson-video-pill {
    min-height: 1.8rem;
    padding: 0 .65rem;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: #6f7d8c;
    background: #f2f5f8;
    font-size: .66rem;
    font-weight: 700;
}

.lesson-video-pill.linked {
    color: #147146;
    background: #e8f7ef;
}

.lesson-course-card {
    background: #f8fbfc;
}

@media (max-width: 760px) {
    .lesson-card {
        grid-template-columns: auto 1fr;
    }

    .lesson-card-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }
}

/* ==========================================================
   ACADUM — PADRÃO HIERÁRQUICO / LINHAS + PASTAS + MODAIS
   ========================================================== */

.hierarchy-panel {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.hierarchy-header,
.hierarchy-row {
    display: grid;
    align-items: center;
    column-gap: 1rem;
}

.hierarchy-course-grid {
    grid-template-columns: minmax(22rem, 1fr) 8rem 7rem 10rem 7rem;
}

.hierarchy-lesson-grid {
    grid-template-columns: minmax(22rem, 1fr) 8rem 7rem 10rem 5rem;
}

.hierarchy-header {
    min-height: 2.8rem;
    padding: .7rem 1rem;
    color: #8090a1;
    background: #f7f9fb;
    border-bottom: 1px solid var(--border);
    font-size: .68rem;
    line-height: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.hierarchy-row {
    min-height: 5.4rem;
    padding: .8rem 1rem;
    border-bottom: 1px solid #edf2f6;
    transition: background .18s ease;
}

.hierarchy-row:last-child {
    border-bottom: 0;
}

.hierarchy-row:hover {
    background: #fbfdfe;
}

.hierarchy-primary {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: .85rem;
}

.hierarchy-type-icon {
    width: 2.8rem;
    height: 2.8rem;
    flex: 0 0 2.8rem;
    display: grid;
    place-items: center;
    color: var(--acadum-orange);
    background: var(--acadum-orange-soft);
    border-radius: .7rem;
}

.hierarchy-type-icon.small {
    width: 2.25rem;
    height: 2.25rem;
    flex-basis: 2.25rem;
}

.hierarchy-type-icon svg {
    width: 1.3rem;
    height: 1.3rem;
}

.hierarchy-lesson-icon {
    color: var(--acadum-teal);
    background: var(--acadum-teal-soft);
}

.hierarchy-copy {
    min-width: 0;
}

.hierarchy-copy strong,
.hierarchy-copy small {
    display: block;
}

.hierarchy-copy strong {
    color: var(--foreground);
    font-size: .9rem;
    line-height: 1.3rem;
}

.hierarchy-copy small {
    margin-top: .18rem;
    overflow: hidden;
    color: var(--muted-foreground);
    font-size: .72rem;
    line-height: 1.15rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hierarchy-metric strong,
.hierarchy-metric span {
    display: block;
}

.hierarchy-metric strong {
    color: var(--acadum-navy);
    font-family: "Sora", system-ui, sans-serif;
    font-size: 1rem;
}

.hierarchy-metric span,
.hierarchy-date {
    margin-top: .08rem;
    color: #8997a6;
    font-size: .68rem;
}

.hierarchy-actions-label,
.hierarchy-actions {
    text-align: right;
}

.hierarchy-actions {
    display: flex;
    justify-content: flex-end;
    gap: .45rem;
}

.icon-action {
    width: 2.35rem;
    height: 2.35rem;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: .6rem;
    color: #687b8e;
    background: #ffffff;
    transition: .18s ease;
}

.icon-action svg {
    width: 1.1rem;
    height: 1.1rem;
}

.icon-action:hover {
    color: var(--acadum-orange);
    border-color: #f4d7c6;
    background: var(--acadum-orange-soft);
}

.icon-action-folder {
    color: #ffffff;
    background: var(--acadum-orange);
    border-color: var(--acadum-orange);
}

.icon-action-folder:hover {
    color: #ffffff;
    background: #de5f20;
    border-color: #de5f20;
}

.folder-pathbar {
    margin-bottom: 1rem;
    padding: .8rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border);
    border-radius: .85rem;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.folder-path-back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #64778a;
    font-size: .78rem;
    font-weight: 700;
}

.folder-path-back svg {
    width: 1rem;
    height: 1rem;
}

.folder-path-current {
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: center;
    gap: .65rem;
}

.folder-path-current strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .82rem;
}

/* modal */
.acadum-modal[hidden] {
    display: none;
}

.acadum-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 1.25rem;
}

.acadum-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 24, 39, .48);
    backdrop-filter: blur(3px);
}

.acadum-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 38rem);
    max-height: calc(100vh - 2.5rem);
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(10,35,50,.22);
}

.acadum-modal-header {
    padding: 1.15rem 1.25rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
}

.acadum-modal-header h2 {
    margin-top: .2rem;
    font-size: 1.15rem;
}

.modal-close-button {
    width: 2.25rem;
    height: 2.25rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: .55rem;
    color: #718295;
    background: #ffffff;
}

.modal-close-button svg {
    width: 1rem;
    height: 1rem;
}

.acadum-modal-body {
    padding: 1.25rem;
}

.acadum-modal-body .field + .field {
    margin-top: 1rem;
}

.acadum-modal-body label {
    display: block;
    margin-bottom: .42rem;
    color: #31465a;
    font-size: .76rem;
    font-weight: 700;
}

.acadum-modal-body input,
.acadum-modal-body select,
.acadum-modal-body textarea {
    width: 100%;
    border: 1px solid var(--border-strong);
    border-radius: .62rem;
    color: var(--foreground);
    background: #ffffff;
    outline: none;
}

.acadum-modal-body input,
.acadum-modal-body select {
    height: 2.8rem;
    padding: 0 .8rem;
}

.acadum-modal-body textarea {
    padding: .75rem .8rem;
    resize: vertical;
}

.acadum-modal-body input:focus,
.acadum-modal-body select:focus,
.acadum-modal-body textarea:focus {
    border-color: var(--acadum-orange);
    box-shadow: 0 0 0 3px rgba(244,122,50,.10);
}

.modal-field-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.acadum-modal-footer {
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: flex-end;
    gap: .65rem;
    border-top: 1px solid var(--border);
    background: #fbfcfd;
}

/* active indication */
.active-indicator[hidden] {
    display: none;
}

.active-indicator {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.56);
    backdrop-filter: blur(2px);
}

.active-indicator-box {
    min-width: 8.5rem;
    padding: 1.15rem 1.35rem;
    display: grid;
    place-items: center;
    gap: .65rem;
    border: 1px solid var(--border);
    border-radius: .9rem;
    color: var(--acadum-navy);
    background: rgba(255,255,255,.98);
    box-shadow: 0 18px 50px rgba(15,43,58,.14);
    font-size: .78rem;
}

.active-spinner {
    width: 2.35rem;
    height: 2.35rem;
    border: .22rem solid #e2eef0;
    border-top-color: var(--acadum-orange);
    border-right-color: var(--acadum-teal);
    border-radius: 50%;
    animation: acadum-spin .72s linear infinite;
}

@keyframes acadum-spin {
    to { transform: rotate(360deg); }
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 960px) {
    .hierarchy-header {
        display: none;
    }

    .hierarchy-course-grid,
    .hierarchy-lesson-grid {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .hierarchy-row > :not(.hierarchy-primary):not(.hierarchy-actions) {
        display: none;
    }
}

@media (max-width: 640px) {
    .folder-pathbar {
        align-items: stretch;
        flex-direction: column;
    }

    .folder-pathbar .btn {
        width: 100%;
    }

    .modal-field-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   ACADUM WEB — PACOTE 04
   Toasts + tipografia maior + upload de videoaula
   ========================================================== */

/* Legibilidade maior */
.content-section,
.acadum-modal,
.form-main-card,
.form-side-card {
    font-size: 1rem;
}

.field label,
.admin-form-fields label,
.form-side-card label,
.acadum-modal-body label {
    font-size: .875rem;
    line-height: 1.25rem;
}

.admin-form-fields input,
.admin-form-fields textarea,
.form-side-card input,
.form-side-card select,
.acadum-modal-body input,
.acadum-modal-body select,
.acadum-modal-body textarea {
    font-size: 1rem;
}

.admin-form-fields small,
.form-side-card small,
.field-help,
.content-card-heading p {
    font-size: .8125rem;
    line-height: 1.45rem;
}

.hierarchy-copy strong {
    font-size: 1rem;
    line-height: 1.4rem;
}

.hierarchy-copy small,
.hierarchy-date,
.hierarchy-metric span {
    font-size: .78rem;
}

.hierarchy-metric strong {
    font-size: 1.1rem;
}

.course-status,
.lesson-video-pill {
    font-size: .75rem;
}

/* Toasts */
.toast-stack {
    position: fixed;
    top: 5.25rem;
    right: 1.25rem;
    z-index: 300;
    width: min(26rem, calc(100vw - 2rem));
    display: grid;
    gap: .75rem;
    pointer-events: none;
}

.acadum-toast {
    position: relative;
    min-height: 4.4rem;
    padding: .9rem 2.9rem .9rem .9rem;
    display: grid;
    grid-template-columns: 2.3rem 1fr;
    gap: .75rem;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: .85rem;
    background: rgba(255,255,255,.98);
    box-shadow: 0 16px 42px rgba(15,43,58,.16);
    pointer-events: auto;
    animation: toast-in .22s ease-out;
}

.toast-success {
    border-left: .3rem solid var(--acadum-green);
}

.toast-danger {
    border-left: .3rem solid #d94d4d;
}

.toast-icon {
    width: 2.25rem;
    height: 2.25rem;
    display: grid;
    place-items: center;
    border-radius: .6rem;
}

.toast-success .toast-icon {
    color: var(--acadum-green);
    background: var(--acadum-green-soft);
}

.toast-danger .toast-icon {
    color: #c93f3f;
    background: #fff1f1;
}

.toast-icon svg {
    width: 1.1rem;
    height: 1.1rem;
}

.toast-copy strong,
.toast-copy span {
    display: block;
}

.toast-copy strong {
    color: var(--foreground);
    font-size: .9rem;
}

.toast-copy span {
    margin-top: .15rem;
    color: var(--muted-foreground);
    font-size: .82rem;
    line-height: 1.35rem;
}

.toast-close {
    position: absolute;
    top: .55rem;
    right: .55rem;
    width: 1.9rem;
    height: 1.9rem;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: .45rem;
    color: #8493a2;
    background: transparent;
}

.toast-close:hover {
    color: var(--acadum-navy);
    background: #f3f6f8;
}

.toast-close svg {
    width: .9rem;
    height: .9rem;
}

.acadum-toast.toast-hiding {
    opacity: 0;
    transform: translateX(1rem);
    transition: .22s ease;
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateX(1rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Upload */
.icon-action-video {
    color: var(--acadum-teal);
    border-color: #cde9e7;
    background: var(--acadum-teal-soft);
}

.icon-action-video:hover {
    color: #ffffff;
    border-color: var(--acadum-teal);
    background: var(--acadum-teal);
}

.modal-subtitle {
    margin-top: .25rem;
    color: var(--muted-foreground);
    font-size: .82rem;
}

.upload-progress {
    margin-top: 1rem;
    padding: .9rem;
    border: 1px solid var(--border);
    border-radius: .75rem;
    background: #f9fbfc;
}

.upload-progress-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: #506477;
    font-size: .78rem;
}

.upload-progress-track {
    height: .55rem;
    margin-top: .55rem;
    overflow: hidden;
    border-radius: 999px;
    background: #e8eef3;
}

.upload-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--acadum-orange), var(--acadum-teal));
    transition: width .18s ease;
}

.upload-message {
    margin-top: .8rem;
    padding: .75rem .85rem;
    border-radius: .65rem;
    color: #a02f2f;
    background: #fff1f1;
    border: 1px solid #f3cdcd;
    font-size: .82rem;
    line-height: 1.35rem;
}

@media (max-width: 640px) {
    .toast-stack {
        top: 4.8rem;
        right: 1rem;
        left: 1rem;
        width: auto;
    }
}

/* ==========================================================
   ACADUM WEB — PACOTE 05
   KPIs clicáveis + filtros + biblioteca de vídeos
   ========================================================== */

.content-kpi-link {
    cursor: pointer;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.content-kpi-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(5,40,53,.16);
}

.content-kpi-link.active {
    outline: 2px solid rgba(244,122,50,.24);
    outline-offset: 2px;
}

.lesson-filter-toolbar {
    margin-bottom: 1rem;
}

.video-filter-form {
    width: 100%;
}

.video-row-grid {
    grid-template-columns:
        minmax(18rem, 1.3fr)
        minmax(14rem, 1fr)
        8rem
        7rem
        10rem
        7rem;
}

.hierarchy-video-icon {
    color: var(--acadum-teal);
    background: var(--acadum-teal-soft);
}

.video-hierarchy-copy strong,
.video-hierarchy-copy small {
    display: block;
}

.video-hierarchy-copy strong {
    color: var(--foreground);
    font-size: .9rem;
}

.video-hierarchy-copy small {
    margin-top: .15rem;
    color: var(--muted-foreground);
    font-size: .76rem;
}

.video-size {
    color: #53687b;
    font-size: .82rem;
    font-weight: 600;
}

.media-status {
    min-height: 1.85rem;
    padding: 0 .68rem;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 700;
}

.media-status-ready,
.media-status-completed {
    color: #16633d;
    background: #eaf8f1;
}

.media-status-processing,
.media-status-uploading,
.media-status-uploaded,
.media-status-pending {
    color: #95600e;
    background: #fff6df;
}

.media-status-failed {
    color: #a02f2f;
    background: #fff1f1;
}

.video-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr);
    gap: 1rem;
}

.video-detail-panel {
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.detail-row-list {
    margin-top: 1rem;
    border-top: 1px solid var(--border);
}

.detail-row {
    min-height: 3.2rem;
    padding: .7rem 0;
    display: grid;
    grid-template-columns: minmax(9rem, .55fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    border-bottom: 1px solid #edf2f6;
}

.detail-row:last-child {
    border-bottom: 0;
}

.detail-row span {
    color: var(--muted-foreground);
    font-size: .82rem;
}

.detail-row strong {
    color: var(--foreground);
    font-size: .9rem;
    overflow-wrap: anywhere;
}

.video-variant-panel {
    margin-top: 1rem;
}

.video-variant-grid {
    grid-template-columns: minmax(12rem, 1fr) 9rem 9rem 8rem;
}

@media (max-width: 1050px) {
    .video-row-grid {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .video-row-grid > :not(:first-child):not(:last-child) {
        display: none;
    }

    .video-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .detail-row {
        grid-template-columns: 1fr;
        gap: .2rem;
    }
}
