:root {
    --bg-body: #050505;
    --bg-elevated: #0b0b0b;
    --bg-elevated-2: #111;
    --bg-elevated-3: #0d0d0d;
    --bg-elevated-4: #0a0a0a;
    --bg-elevated-5: #070707;
    --bg-input: #1a1a1a;
    --bg-input-2: #161616;
    --text-primary: #fff;
    --text-secondary: #999;
    --text-muted: #666;
    --text-body: #b8b8b8;
    --text-link: #ccc;
    --text-link-hover: #fff;
    --border-subtle: rgba(255, 255, 255, .08);
    --border-hover: rgba(255, 255, 255, .1);
    --border-accent: rgba(255, 106, 33, .15);
    --navbar-bg: rgba(5, 5, 5, 0.95);
    --modal-overlay: rgba(0, 0, 0, 0.7);
    --dash-sidebar-bg: #070707;
    --dash-card-bg: #0b0b0b;
    --dash-placeholder-bg: #111;
    --dash-premium-bg: #0d0d0d;
    --dash-hero-bg: #0b0b0b;
    --footer-bg: #0a0a0a;
    --cookie-bg: #111;
}

[data-theme="light"] {
    --bg-body: #f5f5f7;
    --bg-elevated: #ffffff;
    --bg-elevated-2: #e8e8ea;
    --bg-elevated-3: #ffffff;
    --bg-elevated-4: #fafafa;
    --bg-elevated-5: #ffffff;
    --bg-input: #ffffff;
    --bg-input-2: #ffffff;
    --text-primary: #111;
    --text-secondary: #555;
    --text-muted: #888;
    --text-body: #666;
    --text-link: #555;
    --text-link-hover: #222;
    --border-subtle: rgba(0, 0, 0, .08);
    --border-hover: rgba(0, 0, 0, .1);
    --border-accent: rgba(255, 106, 33, .2);
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --modal-overlay: rgba(0, 0, 0, 0.4);
    --dash-sidebar-bg: #ffffff;
    --dash-card-bg: #ffffff;
    --dash-placeholder-bg: #e8e8ea;
    --dash-premium-bg: #ffffff;
    --dash-hero-bg: #ffffff;
    --footer-bg: #fafafa;
    --cookie-bg: #ffffff;
}

[data-theme="light"] .dash-sidebar {
    --dash-sidebar-bg: #070707;
    --dash-card-bg: #0b0b0b;
    --dash-premium-bg: #0d0d0d;
    --dash-placeholder-bg: #111;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-body);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.titulo {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.item {
    font-weight: 600;
    letter-spacing: -0.01em;
}

.subtitulo {
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: -0.02em;
}

p {
    line-height: 1.6;
    letter-spacing: 0.01em;
}

a,
button,
.btn-panel,
nav a {
    letter-spacing: 0.01em;
}

small,
.small,
.text-muted {
    font-size: 0.85em;
    letter-spacing: 0.02em;
}

main {
    flex-grow: 1;
}

/* Navbar */
.navbar {
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 80px;
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--navbar-bg);
    backdrop-filter: blur(12px);
    animation: fadeDown 0.6s ease-out;
    transition: transform 0.4s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}

.navbar.navbar-hidden {
    transform: translateY(-100%);
}

.navbar.navbar-scrolled {
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(24px);
    border-bottom-color: rgba(255, 106, 33, 0.15);
}

.navbar.navbar-scrolled .logo img {
    transform: scale(0.78);
}

.navbar .logo img {
    height: 58px;
    width: auto;
    transition: transform 0.35s ease;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    height: 95px;
    width: auto;
}

nav {
    display: flex;
    gap: 40px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: #ff6a21;
}

.actions {
    display: flex;
    gap: 20px;
    align-items: center;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    padding-right: 80px;
}

.cart {
    color: #fff;
    text-decoration: none;
    position: relative;
    font-size: 20px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff6a21;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-panel {
    background: #ff6a21;
    color: #fff;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}

.btn-panel:hover {
    background: #e55a12;
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--bg-elevated-2);
    border: 1px solid var(--border-hover);
    border-radius: 12px;
    min-width: 220px;
    z-index: 50;
    padding: 8px 0;
}

.dropdown-menu.hidden {
    display: none;
}

.dropdown-menu .dropdown-user {
    display: block;
    padding: 10px 16px;
    font-size: 12px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-subtle);
}

.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--text-link);
    text-decoration: none;
    font-size: 13px;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, .05);
    color: var(--text-link-hover);
}

.dropdown-menu hr {
    border: none;
    border-top: 1px solid var(--border-subtle);
    margin: 4px 0;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 60;
    padding: 4px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    will-change: transform;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 45;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.open {
    opacity: 1;
}

/* Mobile Nav Menu */
.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #ff6a21;
}

body.menu-open {
    overflow: hidden;
}

/* Flash Banner */
.flash-banner {
    max-width: 600px;
    margin: 16px auto;
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
}

.flash-banner.success {
    background: rgba(0, 200, 83, 0.15);
    border: 1px solid rgba(0, 200, 83, 0.3);
    color: #4caf50;
}

.flash-banner.error {
    background: rgba(255, 23, 68, 0.15);
    border: 1px solid rgba(255, 23, 68, 0.3);
    color: #ff1744;
}

.flash-banner button {
    background: none;
    border: none;
    color: inherit;
    font-size: 18px;
    cursor: pointer;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--modal-overlay);
    backdrop-filter: blur(4px);
    padding: 16px;
}

.modal-overlay.hidden {
    display: none;
}

.modal {
    background: var(--bg-elevated-2);
    border: 1px solid var(--border-hover);
    border-radius: 16px;
    max-width: 440px;
    width: 100%;
    padding: 32px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
}

.modal h3 {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    margin-bottom: 8px;
}

.modal p {
    color: var(--text-body);
    font-size: 14px;
    margin-bottom: 20px;
}

.modal input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-hover);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    margin-bottom: 12px;
    outline: none;
}

.modal input:focus {
    border-color: #ff6a21;
}

.modal button[type="submit"] {
    width: 100%;
    background: #ff6a21;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.modal button[type="submit"]:hover {
    background: #e55a12;
}

.modal-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: #888;
}

.modal-footer a {
    color: #ff6a21;
    text-decoration: none;
}

/* Hero */
.hero {
    min-height: calc(100vh - 90px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 40px 80px;
    gap: 40px;
}

.tag {
    color: #ff6a21;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 11px;
    font-weight: 600;
}

.hero h1 {
    margin-top: 12px;
    font-size: clamp(28px, 3.5vw, 52px);
    line-height: 1.05;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
}

.hero p {
    margin-top: 16px;
    max-width: 600px;
    color: var(--text-body);
    font-size: clamp(15px, 1.1vw, 18px);
    line-height: 1.5;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-height: 950px;
    width: auto;
    max-width: 100%;
}

.buttons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #ff6a21;
    color: #fff;
    text-decoration: none;
    padding: 18px 35px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #e55a12;
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    text-decoration: none;
    padding: 18px 35px;
    border-radius: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: border-color 0.2s;
}

.btn-secondary:hover {
    border-color: #ff6a21;
}

.btn-block {
    width: 100%;
    justify-content: center;
}



/* Mentoria Cards */
.cards-mentoria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
    justify-items: center;
}

.card-plano {
    background: linear-gradient(145deg, var(--bg-elevated-3), var(--bg-elevated-4));
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
}

.card-plano:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(255, 106, 33, .08);
    border-color: rgba(255, 106, 33, .15);
}

.card-premium {
    border-color: rgba(255, 106, 33, .2);
    box-shadow: 0 0 40px rgba(255, 106, 33, .05);
}

.card-premium:hover {
    box-shadow: 0 20px 60px rgba(255, 106, 33, .15);
    border-color: rgba(255, 106, 33, .4);
}

.card-header {
    padding: 24px 24px 0;
    position: relative;
}

.card-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6a21, #e55a12);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: 5px;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(255, 106, 33, .3);
}

.card-price h3 {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    color: #999;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.card-price .valor {
    font-family: 'Sora', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: #ff6a21;
    letter-spacing: -1px;
}

.card-body {
    padding: 20px 24px;
    flex-grow: 1;
}

.beneficios {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.beneficio {
    font-size: 13px;
    color: #bbb;
    position: relative;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 10px;
}

.beneficio::before {
    content: "✓";
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 106, 33, .12);
    border: 1px solid rgba(255, 106, 33, .3);
    border-radius: 50%;
    color: #ff6a21;
    font-size: 10px;
    font-weight: 700;
}

.card-footer {
    padding: 0 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-footer a {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff6a21, #e55a12);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 106, 33, .25);
    transition: box-shadow 0.2s, transform 0.2s;
}

.card-footer a:hover {
    box-shadow: 0 6px 30px rgba(255, 106, 33, .4);
    transform: scale(1.02);
}

.card-footer span {
    text-align: center;
    font-size: 12px;
    color: #666;
}

@media (max-width: 768px) {
    .cards-mentoria {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Sections */
.section {
    padding: 40px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 28px;
}

.section-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(24px, 2vw, 36px);
    margin-top: 8px;
}

.section-header p {
    color: var(--text-body);
    font-size: 16px;
    margin-top: 12px;
}

/* Products Grid */
/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
}

.empty-state i {
    font-size: 48px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.empty-state h3 {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Footer */
.footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--border-subtle);
    padding: 55px 80px 30px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
    max-width: 360px;
}

.footer-links h4 {
    font-family: 'Sora', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    color: #ff6a21;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-link-hover);
}

.footer-links a i {
    margin-right: 6px;
    font-size: 10px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-badges {
    display: flex;
    gap: 20px;
}

.footer-badges span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-badges i {
    color: #4caf50;
    font-size: 11px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background: var(--cookie-bg);
    border: 1px solid var(--border-hover);
    border-radius: 16px;
    padding: 20px;
    z-index: 50;
    backdrop-filter: blur(8px);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-banner p {
    font-size: 12px;
    color: var(--text-body);
    line-height: 1.5;
    margin-bottom: 16px;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cookie-actions a {
    font-size: 12px;
    color: var(--text-secondary);
    text-decoration: underline;
}

.cookie-actions a:hover {
    color: var(--text-link-hover);
}

.cookie-actions button {
    background: #ff6a21;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-left: auto;
    transition: background 0.2s;
}

.cookie-actions button:hover {
    background: #e55a12;
}

/* Optimização de animações: GPU e redução de movimento */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.card-plano {
    will-change: transform;
}

.navbar {
    will-change: transform;
}

/* ========== MOBILE-ONLY SECTION ========== */
.mobile-only {
    display: none;
}

/* Mobile Hero */
.mobile-hero {
    position: relative;
    height: 720px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mobile-hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/soldado.png') center center / cover no-repeat;
    z-index: 0;
}

.mobile-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,5,5,0.3) 0%, rgba(5,5,5,0.85) 100%);
    z-index: 1;
}

.mobile-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 24px;
    gap: 16px;
}

.mobile-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff6b00;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 10px;
    font-weight: 600;
}

.mobile-hero-badge i {
    font-size: 14px;
}

.mobile-hero-title {
    font-family: 'Sora', sans-serif;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
}

.mobile-hero-title .highlight {
    color: #ff6b00;
}

.mobile-hero-description {
    font-size: 14px;
    color: #b8b8b8;
    line-height: 1.5;
    max-width: 320px;
}

.mobile-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ff6b00;
    color: #fff;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 0 30px rgba(255,107,0,0.4);
    margin-top: 8px;
}

/* Mobile Benefits */
.mobile-benefits {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 24px;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.benefit-item i {
    font-size: 22px;
    color: #ff6b00;
}

.benefit-item span {
    font-size: 11px;
    font-weight: 500;
    color: #ccc;
    line-height: 1.3;
}

/* Mobile Features */
.mobile-features {
    padding: 24px 20px 40px;
}

.mobile-features-title {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.mobile-features-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-card {
    background: #0b0b0b;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 18px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.feature-card i {
    font-size: 24px;
    color: #ff6b00;
}

.feature-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.feature-card p {
    font-size: 13px;
    color: #999;
    line-height: 1.4;
}

/* Mobile Social Proof */
.mobile-social-proof {
    padding: 0 20px 40px;
}

.social-proof-card {
    background: #0b0b0b;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.social-proof-card i:first-child {
    font-size: 28px;
    color: #ff6b00;
}

.social-proof-card p {
    font-size: 13px;
    color: #b8b8b8;
    line-height: 1.5;
}

.social-proof-card i:last-child {
    font-size: 18px;
    color: #ff6b00;
}

/* Responsive */
@media (max-width: 1024px) {
    .navbar {
        padding: 0 40px;
    }

    .hero {
        padding: 40px;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        display: none;
    }

    .buttons {
        justify-content: center;
    }

    .section {
        padding: 40px;
    }

    .footer {
        padding: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .hero {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .navbar {
        padding: 0 20px;
        height: 70px;
        justify-content: space-between;
    }

    .navbar .logo img {
        height: 42px;
    }

    .hamburger {
        display: flex;
    }

    nav {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        flex-direction: column;
        background: var(--bg-elevated-2);
        border-left: 1px solid var(--border-subtle);
        padding: 100px 28px 28px;
        gap: 8px;
        z-index: 50;
        transition: right 0.35s ease;
        will-change: right;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu a {
        display: block;
        padding: 14px 16px;
        border-radius: 10px;
        font-size: 15px;
        color: var(--text-primary);
        transition: background 0.2s;
    }

    .nav-menu a:hover {
        background: rgba(255, 106, 33, .1);
        color: #ff6a21;
    }

    .nav-overlay {
        display: block;
        pointer-events: none;
    }

    .nav-overlay.open {
        pointer-events: auto;
    }

    .actions {
        padding-right: 20px;
        gap: 12px;
        position: static;
        transform: none;
    }

    .btn-panel {
        padding: 10px 16px;
        font-size: 13px;
    }

    .hero {
        padding: 20px;
        min-height: calc(100vh - 70px);
        gap: 20px;
    }

    .hero h1 {
        font-size: clamp(22px, 6vw, 32px);
    }

    .hero p {
        font-size: 14px;
    }

    .buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        justify-content: center;
        padding: 16px 24px;
        font-size: 14px;
    }

    .section {
        padding: 24px 20px;
    }

    .section-header h2 {
        font-size: clamp(18px, 5vw, 24px);
    }

    .section-header p {
        font-size: 14px;
    }

    .card-plano {
        border-radius: 14px;
    }

    .card-header {
        padding: 20px 20px 0;
    }

    .card-price .valor {
        font-size: 26px;
    }

    .card-body {
        padding: 16px 20px;
    }

    .card-footer {
        padding: 0 20px 20px;
    }

    .footer {
        padding: 24px 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .footer-badges {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0 12px;
    }

    .navbar .logo img {
        height: 36px;
    }

    .hamburger {
        width: 32px;
        height: 32px;
        gap: 4px;
    }

    .hamburger span {
        width: 18px;
        height: 2px;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .actions {
        padding-right: 12px;
        gap: 8px;
    }

    .btn-panel {
        padding: 8px 12px;
        font-size: 12px;
        border-radius: 8px;
    }

    .btn-panel span {
        display: none;
    }

    .hero {
        padding: 16px;
    }

    .tag {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .hero h1 {
        font-size: clamp(20px, 7vw, 26px);
        margin-top: 8px;
    }

    .hero p {
        font-size: 13px;
        margin-top: 10px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 14px 20px;
        font-size: 13px;
    }

    .section {
        padding: 20px 16px;
    }

    .cards-mentoria {
        gap: 16px;
    }

    .card-plano:hover {
        transform: none;
        box-shadow: none;
    }

    .card-header {
        padding: 16px 16px 0;
    }

    .card-price h3 {
        font-size: 12px;
    }

    .card-price .valor {
        font-size: 22px;
    }

    .card-badge {
        font-size: 8px;
        padding: 3px 10px;
    }

    .card-body {
        padding: 12px 16px;
    }

    .beneficio {
        font-size: 12px;
        gap: 8px;
    }

    .beneficio::before {
        width: 16px;
        height: 16px;
        font-size: 9px;
    }

    .card-footer {
        padding: 0 16px 16px;
    }

    .card-footer a {
        height: 42px;
        font-size: 14px;
    }

    .card-footer span {
        font-size: 11px;
    }

    .footer {
        padding: 20px 16px;
    }

    .footer-grid {
        gap: 24px;
    }

    .footer-logo {
        font-size: 20px;
    }

    .footer-links h4 {
        font-size: 13px;
    }

    .footer-links a {
        font-size: 12px;
    }

    .footer-bottom p {
        font-size: 11px;
    }

    .footer-badges span {
        font-size: 10px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .card-plano:hover {
        transform: none;
        box-shadow: none;
        border-color: var(--border-subtle);
    }

    .card-plano:active {
        transform: scale(0.98);
    }

    .card-premium:hover {
        box-shadow: 0 0 40px rgba(255, 106, 33, .05);
        border-color: rgba(255, 106, 33, .2);
    }

    .card-footer a:hover {
        box-shadow: 0 4px 20px rgba(255, 106, 33, .25);
        transform: none;
    }

    .btn-primary:hover {
        background: #ff6a21;
    }
}

/* Product Page */
.product-page {
    padding: 60px 80px;
}

.product-page-container {
    max-width: 1400px;
    margin: 0 auto;
}

.badge-product {
    display: inline-block;
    padding: 10px 18px;
    background: rgba(255, 106, 33, .15);
    border: 1px solid rgba(255, 106, 33, .25);
    color: #ff6a21;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.product-page-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(36px, 3.5vw, 56px);
    font-weight: 800;
    margin-bottom: 12px;
}

.product-page-desc {
    font-size: clamp(16px, 1.3vw, 22px);
    color: var(--text-body);
    margin-bottom: 40px;
    max-width: 700px;
}

.product-page-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
}

.product-card-full {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 35px;
}

.card-title-lg {
    font-family: 'Sora', sans-serif;
    font-size: clamp(24px, 2vw, 34px);
    font-weight: 700;
    margin-bottom: 10px;
}

.card-subtitle {
    color: var(--text-secondary);
    margin-bottom: 35px;
    font-size: 14px;
}

.feature-item {
    display: flex;
    gap: 15px;
    margin-bottom: 24px;
}

.feature-icon {
    min-width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 106, 33, .1);
    border: 1px solid rgba(255, 106, 33, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6a21;
    font-weight: bold;
    font-size: 18px;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.plan-box-product {
    padding: 25px;
    border: 1px solid #ff6a21;
    border-radius: 16px;
    margin-top: 25px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.plan-box-product h3 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(20px, 1.8vw, 28px);
}

.plan-box-product p {
    color: var(--text-secondary);
    margin-top: 5px;
    font-size: 14px;
}

.price-product {
    font-size: clamp(28px, 2.2vw, 36px);
    font-weight: 800;
    color: #ff6a21;
    white-space: nowrap;
    font-family: 'Sora', sans-serif;
}

.summary-product {
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 20px;
}

.total-row {
    font-weight: 700;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
}

.total-product {
    font-size: clamp(26px, 2vw, 34px);
    font-weight: 800;
    color: #ff6a21;
    font-family: 'Sora', sans-serif;
}

.info-box {
    background: var(--bg-elevated-2);
    border: 1px solid var(--border-subtle);
    padding: 18px;
    border-radius: 14px;
    margin-bottom: 25px;
}

.info-box-title {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.info-box-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

.btn-cart-product {
    width: 100%;
    height: 60px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    background: #ff6a21;
    color: #fff;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-cart-product:hover {
    background: #e55a12;
    color: #fff;
}

.security-product {
    text-align: center;
    margin-top: 15px;
    color: var(--text-secondary);
    font-size: 14px;
}

.benefits-bar-product {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.benefit-card-product {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
}

.benefit-card-product i {
    font-size: 28px;
    color: #ff6a21;
    margin-bottom: 8px;
}

.benefit-card-product h4 {
    margin-top: 10px;
    margin-bottom: 8px;
    font-size: 16px;
}

.benefit-card-product p {
    color: var(--text-secondary);
    font-size: 14px;
}

@media (max-width: 1000px) {
    .product-page {
        padding: 24px;
    }

    .product-page-grid {
        grid-template-columns: 1fr;
    }

    .benefits-bar-product {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .benefits-bar-product {
        grid-template-columns: 1fr;
    }

    .plan-box-product {
        flex-direction: column;
        text-align: center;
    }
}

/* Register Page */
.register-section {
    padding: 60px 80px;
}

.register-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.register-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.register-card form {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.register-card .register-btn {
    margin-top: auto;
}

.register-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 106, 33, .15);
    border: 1px solid rgba(255, 106, 33, .25);
    color: #ff6a21;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.register-header h1 {
    font-family: 'Sora', sans-serif;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
}

.register-header p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 32px;
}

.register-field {
    margin-bottom: 20px;
}

.register-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-link);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.register-field label span {
    color: var(--text-muted);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.register-field input {
    width: 100%;
    background: var(--bg-input-2);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.register-field input:focus {
    border-color: #ff6a21;
}

.register-field input::placeholder {
    color: var(--text-muted);
}

.register-btn {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff6a21, #e55a12);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    box-shadow: 0 4px 20px rgba(255, 106, 33, .25);
    transition: box-shadow 0.2s, transform 0.2s;
}

.register-btn:hover {
    box-shadow: 0 6px 30px rgba(255, 106, 33, .4);
    transform: scale(1.02);
}

.register-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #888;
}

.register-footer a {
    color: #ff6a21;
    text-decoration: none;
    font-weight: 600;
}

.register-footer a:hover {
    text-decoration: underline;
}

.register-security {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .06);
    font-size: 12px;
    color: #666;
}

.register-security i {
    color: #4caf50;
    margin-right: 4px;
}

.register-info {
    background: #0b0b0b;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    position: sticky;
    top: 120px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.register-info-icon i {
    font-size: 36px;
    color: #ff6a21;
    margin-bottom: 12px;
}

.register-info h2 {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.register-info p {
    color: #999;
    font-size: 14px;
    line-height: 1.5;
}

.register-info-divider {
    height: 1px;
    background: rgba(255, 255, 255, .06);
    margin: 28px 0;
}

@media (max-width: 900px) {
    .register-section {
        padding: 24px;
    }

    .register-container {
        grid-template-columns: 1fr;
    }

    .register-info {
        position: static;
    }
}

/* Dashboard Aluno */
.dash-wrapper {
    display: flex;
    min-height: 100vh;
}

.dash-sidebar {
    width: 70px;
    background: var(--dash-sidebar-bg);
    border-right: 1px solid var(--border-subtle);
    padding: 24px 12px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow: hidden;
    transition: all 0.35s ease;
}

.dash-sidebar:hover {
    width: 260px;
}

.dash-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    padding: 0 6px;
    min-height: 60px;
    position: relative;
}

.dash-logo img {
    position: absolute;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.dash-logo-full {
    height: 55px;
    width: auto;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.8);
}

.dash-sidebar:hover .dash-logo-full {
    opacity: 1;
    transform: scale(1);
}

.dash-logo-icon {
    height: 79px;
    width: 79px;
    object-fit: contain;
    object-position: center;
    opacity: 1;
    transform: scale(1);
}

.dash-sidebar:hover .dash-logo-icon {
    opacity: 0;
    transform: scale(0.8);
}

.dash-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.dash-menu a {
    height: 46px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 12px;
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.2s;
}

.dash-menu a i {
    min-width: 18px;
    font-size: 16px;
    text-align: center;
}

.dash-menu a span,
.dash-theme-btn span {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.dash-sidebar:hover .dash-menu a span,
.dash-sidebar:hover .dash-theme-btn span {
    opacity: 1;
}

.dash-menu a:hover {
    background: var(--bg-elevated-2);
    color: var(--text-primary);
}

.dash-menu a.dash-active {
    background: var(--bg-elevated-2);
    border: 1px solid var(--border-accent);
    color: #ff6a21;
}

/* Theme Toggle */
.dash-theme-wrap {
    margin: 12px 0;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}

.dash-sidebar:hover .dash-theme-wrap {
    opacity: 1;
}

.dash-theme-btn {
    width: 100%;
    height: 46px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 12px;
    border-radius: 10px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.dash-theme-btn i {
    min-width: 18px;
    font-size: 16px;
    text-align: center;
    color: #ff6a21;
}

.dash-theme-btn:hover {
    background: var(--bg-elevated-2);
    color: var(--text-primary);
}

[data-theme="light"] .dash-theme-btn i {
    color: #ff6a21;
}

.dash-premium {
    margin-top: auto;
    padding: 16px;
    background: var(--dash-premium-bg);
    border: 1px solid var(--border-accent);
    border-radius: 14px;
    text-align: center;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}

.dash-sidebar:hover .dash-premium {
    opacity: 1;
}

.dash-premium h3 {
    font-family: 'Sora', sans-serif;
    color: #ff6a21;
    font-size: 15px;
    margin-bottom: 6px;
}

.dash-premium p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.4;
}

.dash-premium-btn {
    display: block;
    width: 100%;
    height: 44px;
    line-height: 44px;
    background: linear-gradient(135deg, #ff6a21, #e55a12);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 106, 33, .2);
    transition: box-shadow 0.2s;
}

.dash-premium-btn:hover {
    box-shadow: 0 6px 30px rgba(255, 106, 33, .35);
}

.dash-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dash-main {
    flex: 1;
    padding: 30px;
    min-width: 0;
    overflow-y: auto;
}

/* Stats Section */
.stats-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.stats-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-elevated-2);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 14px 16px;
}

.stats-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.stats-card-icon--days {
    background: rgba(255, 106, 33, 0.12);
    color: #ff6a21;
}

.stats-card-icon--avg {
    background: rgba(76, 175, 80, 0.12);
    color: #4caf50;
}

.stats-card-body {
    display: flex;
    flex-direction: column;
}

.stats-card-value {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
}

.stats-card-label {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.stats-card-variation {
    font-size: 10px;
    font-weight: 600;
    margin-top: 2px;
}

.stats-chart-wrapper {
    background: var(--bg-elevated-2);
    border-radius: 8px;
    padding: 14px;
    position: relative;
    flex: 1;
    min-height: 150px;
}

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

.stats-chart-wrapper canvas.hidden {
    display: none;
}

.stats-empty {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text-muted);
}

.stats-empty.hidden {
    display: none;
}

.stats-empty i {
    font-size: 34px;
    color: var(--text-muted);
    opacity: 0.4;
}

.stats-empty p {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.stats-empty span {
    font-size: 12px;
}

@media (max-width: 900px) {
    .stats-cards-row {
        grid-template-columns: 1fr;
    }

    .stats-header {
        flex-direction: column;
    }

    .stats-title-row {
        width: 100%;
    }

    .stats-filters {
        width: 100%;
    }

    .stats-filter {
        flex: 1;
        text-align: center;
    }
}

/* Topbar */
.dash-topbar {
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    background: var(--dash-card-bg);
    border-bottom: 1px solid var(--border-subtle);
    flex-shrink: 0;
    gap: 16px;
}

.dash-topbar-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.dash-topbar-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.dash-topbar-center {
    flex: 1;
}

.dash-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.dash-topbar-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.dash-topbar-icon:hover {
    background: var(--bg-elevated-2);
    color: var(--text-primary);
}

.dash-topbar-notif {
    position: relative;
}

.dash-topbar-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ff6a21;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    border: 2px solid var(--dash-card-bg);
}

.dash-topbar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 10px 4px 4px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.dash-topbar-user:hover {
    background: var(--bg-elevated-2);
}

.dash-topbar-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6a21, #e55a12);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dash-topbar-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.dash-topbar-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.dash-topbar-role {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
}

.dash-topbar-shield {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6a21;
    font-size: 20px;
    opacity: 0.6;
}

@media (max-width: 900px) {
    .dash-topbar {
        padding: 0 16px;
        height: 56px;
    }

    .dash-topbar-info {
        display: none;
    }

    .dash-topbar-shield {
        display: none;
    }

    .dash-main {
        padding: 20px;
    }
}

@media (max-width: 640px) {

    .dash-topbar-icon:nth-child(1),
    .dash-topbar-icon:nth-child(2) {
        display: none;
    }
}

.dash-topbar {
    height: 80px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 20px;
}

.dash-user {
    background: #0b0b0b;
    padding: 14px 22px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    font-size: 14px;
    font-weight: 600;
}

.dash-hero {
    background: var(--dash-hero-bg);
    border: 1px solid var(--border-accent);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.dash-hero span {
    color: #ff6a21;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.dash-hero h1 {
    margin-top: 8px;
    font-family: 'Sora', sans-serif;
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 800;
}

.dash-hero p {
    margin-top: 6px;
    color: var(--text-secondary);
    font-size: 14px;
}

.dash-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.dash-column-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 530px;
}

.dash-column-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 530px;
}

.dash-card {
    background: var(--dash-card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 22px;
    width: 100%;
    min-height: 530px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.dash-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.dash-card-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.dash-card-header .stats-filters {
    display: flex;
    gap: 3px;
    background: var(--bg-elevated-2);
    padding: 3px;
    border-radius: 6px;
    flex-shrink: 0;
}

.dash-card-header .stats-filter {
    padding: 4px 10px;
    border: none;
    border-radius: 5px;
    background: transparent;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.dash-card-header .stats-filter.active {
    background: var(--dash-card-bg);
    color: #ff6a21;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.dash-card-header .stats-filter:hover:not(.active) {
    color: var(--text-primary);
}

.dash-placeholder-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.dash-placeholder-item {
    padding: 10px 12px;
    background: var(--dash-placeholder-bg);
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
}

.dash-placeholder-large {
    height: 120px;
    background: var(--dash-placeholder-bg);
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
}

.dash-placeholder-medium {
    flex: 1;
    background: var(--dash-placeholder-bg);
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
}

/* ===== QUESTÕES FEITAS ===== */
.dash-questions-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.dash-questions-chart-wrap {
    position: relative;
    width: 200px;
    height: 200px;
}

.dash-questions-empty {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text-muted);
    text-align: center;
    font-size: 13px;
}

.dash-questions-empty i {
    font-size: 32px;
}

.dash-questions-legend {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
}

.dash-questions-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.dash-questions-legend-item strong {
    color: var(--text-primary);
}

.dash-questions-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dash-questions-dot-correct { background: #4caf50; }
.dash-questions-dot-wrong { background: #ff1744; }
.dash-questions-dot-total { background: var(--text-muted); }

/* ===== TAREFAS ===== */
.dash-tarefas-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    max-height: 380px;
}

.dash-tarefas-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text-muted);
    text-align: center;
    padding: 30px 0;
    font-size: 13px;
    flex: 1;
}

.dash-tarefas-empty i {
    font-size: 32px;
}

.dash-tarefa-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--bg-elevated-2);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    transition: all 0.2s;
}

.dash-tarefa-item:hover {
    border-color: rgba(255,106,33,0.2);
}

.dash-tarefa-color {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dash-tarefa-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dash-tarefa-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-tarefa-time {
    font-size: 11px;
    color: var(--text-muted);
}

.dash-tarefa-check {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: #4caf50;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
    font-size: 13px;
}

.dash-tarefa-check:hover {
    background: rgba(76, 175, 80, 0.1);
    border-color: #4caf50;
}

.dash-tarefa-edit,
.dash-tarefa-del {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
    font-size: 13px;
}

.dash-tarefa-edit:hover {
    background: rgba(33, 150, 243, 0.1);
    border-color: #2196f3;
    color: #2196f3;
}

.dash-tarefa-del:hover {
    background: rgba(255, 23, 68, 0.1);
    border-color: #ff1744;
    color: #ff1744;
}

/* ===== PLANEJAMENTO (Calendar) ===== */
.dash-calendar-mini {
    flex: 1;
}

.dash-mini-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.dash-mini-nav button {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.dash-mini-nav button:hover {
    background: var(--bg-elevated-2);
    color: var(--text-primary);
}

.dash-mini-nav span {
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.dash-mini-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.dash-mini-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.dash-mini-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 6px;
    cursor: default;
    position: relative;
}

.dash-mini-day--empty {
    visibility: hidden;
}

.dash-mini-day--today {
    background: rgba(255, 106, 33, 0.12);
    color: #ff6a21;
    font-weight: 700;
}

.dash-mini-day--has::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ff6a21;
}

.dash-calendar-expand {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 13px;
}

.dash-calendar-expand:hover {
    background: var(--bg-elevated-2);
    color: var(--text-primary);
}

/* ===== MODAL OVERLAY (dashboard) ===== */
.dash-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    padding: 20px;
}

.dash-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.dash-modal {
    background: var(--dash-card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.dash-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.dash-modal-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.dash-modal-close {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.dash-modal-close:hover {
    background: var(--bg-elevated-2);
    color: var(--text-primary);
}

.dash-modal-body {
    padding: 24px;
}

.dash-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px;
    border-top: 1px solid var(--border-subtle);
}

/* ===== SUBJECT MODAL ===== */
.dash-subject-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px 0;
}
.dash-subject-colors span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .15s, transform .15s;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
}
.dash-subject-colors span.active {
    border-color: #fff;
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(255,255,255,0.15);
}
[data-theme="light"] .dash-subject-colors span.active {
    border-color: #111;
}

.dash-subject-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px 0;
}
.dash-subject-icons span {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    border: 1.5px solid var(--border-subtle);
    background: var(--bg-input);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all .15s;
    flex-shrink: 0;
}
.dash-subject-icons span:hover {
    border-color: #ff6a21;
    color: #ff6a21;
    background: rgba(255,106,33,0.06);
}
.dash-subject-icons span.active {
    border-color: #ff6a21;
    background: rgba(255,106,33,0.12);
    color: #ff6a21;
    box-shadow: 0 0 10px rgba(255,106,33,0.15);
}

/* ===== MODAL LARGE (Planejamento) ===== */
.dash-modal--large {
    width: 900px;
    max-width: 90vw;
    max-height: 90vh;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dash-modal--large .dash-modal-header {
    padding: 20px 28px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dash-modal--large .dash-modal-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.dash-modal-body--row {
    display: flex;
    flex-direction: row;
    gap: 28px;
    padding: 28px;
    flex: 1;
    overflow: hidden;
}

.dash-modal-calendar {
    flex: 0 0 340px;
    min-width: 0;
}

.dash-calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.dash-calendar-nav button {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-elevated-2);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
}

.dash-calendar-nav button:hover {
    background: var(--bg-elevated-3);
    color: var(--text-primary);
}

.dash-calendar-nav span {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.dash-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-tertiary);
    margin-bottom: 8px;
}

.dash-cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.dash-cal-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--text-primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    font-weight: 500;
}

.dash-cal-day:hover {
    background: var(--bg-elevated-2);
}

.dash-cal-day--empty {
    visibility: hidden;
    pointer-events: none;
}

.dash-cal-day--today {
    font-weight: 700;
    color: #ff6a21;
}

.dash-cal-day--selected {
    background: #ff6a21;
    color: #fff;
    font-weight: 700;
}

.dash-cal-day--selected:hover {
    background: #e55a12;
}

.dash-cal-day--has .dash-cal-day-num::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ff6a21;
}

.dash-cal-day--selected .dash-cal-day-num::after {
    background: rgba(255, 255, 255, 0.6);
}

.dash-cal-day-num {
    position: relative;
}

.dash-cal-day-dots,
.dash-cal-day-dot {
    display: none;
}

.dash-modal-tasks {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.dash-cal-task-form h3 {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.dash-cal-task-form input,
.dash-cal-row input {
    width: 100%;
    padding: 11px 14px;
    background: var(--bg-elevated-2);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.dash-cal-task-form input:focus,
.dash-cal-row input:focus {
    border-color: #ff6a21;
}

.dash-cal-row {
    display: flex;
    gap: 10px;
}

.dash-cal-color-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.dash-cal-color-row label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.dash-cal-color-picker {
    position: relative;
}

.dash-cal-color-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: var(--bg-elevated-2);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 13px;
    transition: border-color 0.2s;
}

.dash-cal-color-preview {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.dash-cal-colors {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    padding: 6px;
    background: var(--bg-elevated-2);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    z-index: 10;
    flex-wrap: wrap;
    gap: 4px;
    width: 152px;
}

.dash-cal-colors.open {
    display: flex;
}

.dash-cal-colors span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.15s;
}

.dash-cal-colors span.active {
    border-color: #fff;
}

.dash-cal-colors span:hover {
    transform: scale(1.2);
}

.dash-cal-add-btn {
    width: 100%;
    height: 38px;
    border: none;
    border-radius: 10px;
    background: #ff6a21;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.dash-cal-add-btn:hover {
    background: #e55a12;
    box-shadow: 0 4px 24px rgba(255, 106, 33, 0.3);
}

.dash-cal-task-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.dash-cal-task-list h3 {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.dash-cal-task-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    font-size: 13px;
    color: var(--text-tertiary);
    text-align: center;
    padding: 20px;
    border: 1px dashed var(--border-subtle);
    border-radius: 12px;
}

.dash-cal-task-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bg-elevated-2);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    transition: all 0.2s;
    margin-bottom: 8px;
}

.dash-cal-task-item:hover {
    background: var(--bg-elevated-3);
}

.dash-cal-task-item--done {
    opacity: 0.45;
}

.dash-cal-task-color {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dash-cal-task-info {
    flex: 1;
    min-width: 0;
}

.dash-cal-task-name {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-cal-task-meta {
    display: block;
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 2px;
}

.dash-cal-task-check,
.dash-cal-task-edit,
.dash-cal-task-del {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-tertiary);
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s;
}

.dash-cal-task-check:hover { background: rgba(76, 175, 80, 0.15); color: #4caf50; }
.dash-cal-task-edit:hover { background: rgba(33, 150, 243, 0.15); color: #2196f3; }
.dash-cal-task-del:hover { background: rgba(244, 67, 54, 0.15); color: #f44336; }

/* ===== LIGHT THEME: calendar overrides ===== */
[data-theme="light"] .dash-cal-day {
    color: #222;
}

[data-theme="light"] .dash-cal-day:hover {
    background: #f0f0f2;
}

[data-theme="light"] .dash-cal-day--empty {
    background: transparent;
}

[data-theme="light"] .dash-cal-day--selected {
    color: #fff;
}

[data-theme="light"] .dash-cal-task-item {
    background: #f0f0f2;
    border-color: rgba(0,0,0,.08);
}

[data-theme="light"] .dash-cal-task-item:hover {
    background: #e8e8ec;
}

[data-theme="light"] .dash-cal-task-form input,
[data-theme="light"] .dash-cal-row input {
    background: #f0f0f2;
    border-color: rgba(0,0,0,.08);
}

[data-theme="light"] .dash-cal-colors {
    background: #f5f5f7;
    border-color: rgba(0,0,0,.12);
}

[data-theme="light"] .dash-cal-add-btn {
    box-shadow: none;
}

[data-theme="light"] .dash-cal-color-btn {
    background: #f0f0f2;
    border-color: rgba(0,0,0,.12);
}

/* ===== PAINEL DE DÚVIDAS ===== */
.dash-card-duvidas {
    padding: 32px;
    border-radius: 28px;
}

.dash-duvidas-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dash-duvidas-header-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 106, 33, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dash-duvidas-header-icon i {
    font-size: 32px;
    color: #ff6a21;
}

.dash-duvidas-header-text {
    flex: 1;
    min-width: 0;
}

.dash-duvidas-header-text h2 {
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.02em;
}

.dash-duvidas-header-text p {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 4px 0 0;
    line-height: 1.4;
}

.dash-duvidas-header-secondary {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ff6a21;
    font-size: 18px;
}

.dash-duvidas-divider {
    height: 1px;
    background: var(--border-subtle);
    margin: 20px 0;
}

.dash-duvidas-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dash-duvidas-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    max-height: 300px;
}

.dash-duvidas-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    text-align: center;
    padding: 24px 0;
    font-size: 13px;
    flex: 1;
}

.dash-duvidas-empty i {
    font-size: 32px;
}

.dash-duvida-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: opacity 0.15s;
}

.dash-duvida-item:hover {
    opacity: 0.8;
}

.dash-duvida-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.dash-duvida-item-content {
    flex: 1;
    min-width: 0;
}

.dash-duvida-item-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dash-duvida-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.dash-duvida-item-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.dash-duvida-meta-dot {
    color: var(--text-muted);
}

.dash-duvida-item-arrow {
    color: var(--text-muted);
    font-size: 14px;
    flex-shrink: 0;
}

.dash-duvidas-status {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.dash-duvidas-status--open {
    background: rgba(108, 99, 255, 0.12);
    color: #6c63ff;
}

.dash-duvidas-status--ok {
    background: rgba(76, 175, 80, 0.12);
    color: #4caf50;
}

.dash-duvidas-status--closed {
    background: rgba(255, 77, 109, 0.12);
    color: #ff4d6d;
}

.dash-duvidas-btn {
    width: 100%;
    height: 42px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff6a21, #e55a12);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: box-shadow 0.2s;
}

.dash-duvidas-btn:hover {
    box-shadow: 0 4px 24px rgba(255, 106, 33, .3);
}

.dash-duvidas-locked {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px 0;
    color: var(--text-muted);
    text-align: center;
    flex: 1;
}

.dash-duvidas-locked i {
    font-size: 36px;
    color: var(--text-muted);
}

.dash-duvidas-locked p {
    font-size: 13px;
}

/* DÚVIDA IMAGE UPLOAD */
.dash-duvida-type-row {
    display: flex;
    gap: 10px;
}

.dash-duvida-type-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-elevated-2);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
    justify-content: center;
}

.dash-duvida-type-option:hover {
    border-color: #ff6a21;
    background: rgba(255, 106, 33, 0.04);
}

.dash-duvida-type-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid var(--text-muted);
    border-radius: 50%;
    margin: 0;
    flex-shrink: 0;
    transition: all 0.2s;
    position: relative;
}

.dash-duvida-type-option input[type="radio"]:checked {
    border-color: #ff6a21;
    background: #ff6a21;
    box-shadow: inset 0 0 0 3px var(--dash-card-bg);
}

.dash-duvida-type-option span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

.dash-duvida-type-option:has(input:checked) {
    border-color: #ff6a21;
    background: rgba(255, 106, 33, 0.08);
}

.dash-duvida-upload {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dash-duvida-upload input[type="file"] {
    font-size: 12px;
    color: var(--text-muted);
}
.dash-duvida-upload input[type="file"]::file-selector-button {
    padding: 6px 14px;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    background: var(--dash-placeholder-bg);
    color: var(--text-primary);
    font-size: 12px;
    cursor: pointer;
    transition: border-color .15s;
}
.dash-duvida-upload input[type="file"]::file-selector-button:hover {
    border-color: #ff6a21;
}
.dash-duvida-upload-preview {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    position: relative;
}
.dash-duvida-upload-preview img {
    max-width: 180px;
    max-height: 120px;
    border-radius: 6px;
    border: 1px solid var(--border-subtle);
    object-fit: cover;
}
.dash-duvida-remove-img {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: #f44336;
    color: #fff;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* FULLSCREEN OVERLAY */
.dash-fullscreen-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    background: rgba(0,0,0,.85);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}
.dash-fullscreen-overlay.active {
    display: flex;
}
.dash-fullscreen-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    color: var(--text-secondary);
    cursor: pointer;
    opacity: .7;
    transition: opacity .15s;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated-2);
    border: 1px solid var(--border-subtle);
}
.dash-fullscreen-close:hover {
    opacity: 1;
    background: rgba(255,255,255,0.08);
    color: #fff;
}
.dash-fullscreen-content {
    max-width: 600px;
    width: 100%;
    background: var(--dash-card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 28px;
    padding: 32px;
    color: var(--text-primary);
    animation: dashFullFadeIn .25s ease;
    position: relative;
}
@keyframes dashFullFadeIn {
    from { opacity: 0; transform: scale(.95); }
    to { opacity: 1; transform: scale(1); }
}
.dash-fullscreen-head {
    display: flex;
    align-items: center;
    gap: 16px;
}
.dash-fullscreen-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
}
.dash-fullscreen-head-text {
    flex: 1;
    min-width: 0;
}
.dash-fullscreen-head-text h2 {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}
.dash-fullscreen-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-secondary);
}
.dash-fullscreen-subject {
    color: var(--text-secondary);
    font-weight: 500;
}
.dash-fullscreen-sep {
    color: var(--text-muted);
}
.dash-fullscreen-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}
.dash-fullscreen-divider {
    height: 1px;
    background: var(--border-subtle);
    margin: 20px 0;
}
.dash-fullscreen-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-body);
    white-space: pre-wrap;
}
.dash-fullscreen-img {
    margin-top: 16px;
}
.dash-fullscreen-img img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
}
.dash-fullscreen-resposta {
    background: rgba(76,175,80,.06);
    border: 1px solid rgba(76,175,80,.15);
    border-radius: 14px;
    padding: 20px;
}
.dash-fullscreen-resposta-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #4caf50;
    margin-bottom: 10px;
}
.dash-fullscreen-resposta-texto {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-body);
    white-space: pre-wrap;
}
.dash-fullscreen-aguardando {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    color: var(--text-muted);
    font-size: 14px;
    background: var(--bg-elevated-2);
    border-radius: 14px;
}
.dash-fullscreen-aguardando i {
    font-size: 20px;
}

.dash-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 16px;
}

.dash-field label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dash-field input,
.dash-field select,
.dash-field textarea {
    width: 100%;
    background: var(--bg-elevated-2);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 11px 14px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.dash-field textarea {
    resize: vertical;
    min-height: 100px;
}

.dash-field input:focus,
.dash-field select:focus,
.dash-field textarea:focus {
    border-color: #ff6a21;
}

/* ===== LIGHT THEME: new cards ===== */
[data-theme="light"] .dash-modal {
    border-color: rgba(0,0,0,.08);
}

[data-theme="light"] .dash-duvida-item {
    background: #f5f5f7;
    border-color: rgba(0,0,0,.08);
}

[data-theme="light"] .dash-duvida-type-option {
    background: #f5f5f7;
    border-color: rgba(0,0,0,.08);
}

[data-theme="light"] .dash-duvida-type-option:hover {
    background: rgba(255, 106, 33, 0.04);
}

[data-theme="light"] .dash-duvida-type-option:has(input:checked) {
    background: rgba(255, 106, 33, 0.08);
}

[data-theme="light"] .dash-tarefa-item {
    background: #f5f5f7;
    border-color: rgba(0,0,0,.08);
}

[data-theme="light"] .dash-field input,
[data-theme="light"] .dash-field select,
[data-theme="light"] .dash-field textarea {
    background: #f5f5f7;
    border-color: rgba(0,0,0,.08);
    color: #111;
}

[data-theme="light"] .dash-mini-day--today {
    background: rgba(255, 106, 33, 0.08);
}

/* CRIAR MATÉRIAS */
.dash-materias-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dash-materias-empty {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
}

.dash-materias-empty-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
    padding: 20px 0 10px;
}

.dash-materias-empty-visual {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dash-materias-empty-ring {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 1.5px dashed rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.dash-materias-empty-circle {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dash-materias-empty-circle i {
    font-size: 24px;
    color: #555;
}

.dash-materias-empty-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff6a21;
    top: 26%;
    right: 14%;
}

.dash-materias-empty-cross {
    position: absolute;
    width: 10px;
    height: 10px;
    bottom: 20%;
    left: 16%;
}

.dash-materias-empty-cross::before,
.dash-materias-empty-cross::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
}

.dash-materias-empty-cross::before {
    width: 2px;
    height: 10px;
    left: 4px;
}

.dash-materias-empty-cross::after {
    width: 10px;
    height: 2px;
    top: 4px;
}

.dash-materias-empty-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Sora', sans-serif;
    margin: 0;
}

.dash-materias-empty-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0 0 4px;
    max-width: 200px;
    line-height: 1.4;
}

.dash-materias-btn {
    width: 100%;
    height: 42px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff6a21, #e55a12);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.dash-materias-empty .dash-materias-btn,
.dash-subjects-section .dash-materias-btn {
    margin-top: auto;
}

.dash-materias-btn:hover {
    box-shadow: 0 4px 20px rgba(255, 106, 33, .3);
    transform: translateY(-1px);
}

[data-theme="light"] .dash-materias-empty-ring {
    border-color: rgba(0, 0, 0, 0.12);
}
[data-theme="light"] .dash-materias-empty-circle {
    background: rgba(0, 0, 0, 0.03);
}
[data-theme="light"] .dash-materias-empty-cross::before,
[data-theme="light"] .dash-materias-empty-cross::after {
    background: rgba(0, 0, 0, 0.12);
}

/* ===== SUBJECTS SECTION (with subjects) ===== */
.dash-subjects-section {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dash-subjects-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 10px;
}

.dash-subjects-header-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.dash-subjects-counter {
    font-size: 11px;
    font-weight: 700;
    color: #999;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 10px;
    border-radius: 20px;
}

.dash-subjects-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 280px;
    overflow-y: auto;
    flex: 1;
}

.dash-subject-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.dash-subject-icon-box {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
}

.dash-subject-name {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.dash-subject-actions {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.dash-subject-edit,
.dash-subject-del {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: all 0.2s;
}

.dash-subject-edit {
    background: rgba(255, 106, 33, 0.08);
    color: #ff6a21;
}

.dash-subject-edit:hover {
    background: rgba(255, 106, 33, 0.18);
    box-shadow: 0 0 12px rgba(255, 106, 33, 0.15);
}

.dash-subject-del {
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
}

.dash-subject-del:hover {
    background: rgba(239, 68, 68, 0.18);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.15);
}

[data-theme="light"] .dash-subjects-header {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .dash-subjects-counter {
    background: rgba(0, 0, 0, 0.04);
    color: #666;
}
[data-theme="light"] .dash-subject-item {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .dash-subject-edit {
    background: rgba(255, 106, 33, 0.08);
    color: #e55a12;
}
[data-theme="light"] .dash-subject-edit:hover {
    background: rgba(255, 106, 33, 0.15);
}
[data-theme="light"] .dash-subject-del {
    background: rgba(239, 68, 68, 0.08);
}
[data-theme="light"] .dash-subject-del:hover {
    background: rgba(239, 68, 68, 0.15);
}

/* REGISTROS TAB */
.dash-section {
    padding: 0;
    width: 100%;
}

.dash-section-header {
    margin-bottom: 20px;
}

.dash-section-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dash-section-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.dash-records-filters {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.dash-records-filter-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dash-section .estat-table-wrap {
    min-height: 300px;
}

.dash-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.dash-stat {
    height: 54px;
    background: var(--dash-placeholder-bg);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-subtle);
}

.dash-stat strong {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    color: #ff6a21;
}

.dash-stat span {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

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

@media (max-width: 900px) {
    .dash-sidebar {
        display: none;
    }

    .dash-main {
        padding: 20px;
    }


}

/* Dashboard / Cart */
.dashboard {
    max-width: 1500px;
    margin: 0 auto;
    padding: 60px 80px;
}

.header-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 24px;
    flex-wrap: wrap;
}

.header-area h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(32px, 3.5vw, 56px);
    font-weight: 800;
}

.header-area p {
    color: #999;
    margin-top: 10px;
    font-size: 15px;
}

.user-box {
    background: #0b0b0b;
    padding: 20px 28px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .08);
}

.user-box h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.user-box span {
    color: #888;
    font-size: 13px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.summary-card {
    background: #0b0b0b;
    padding: 25px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .08);
}

.summary-card strong {
    font-size: 36px;
    display: block;
    color: #ff6a21;
    font-family: 'Sora', sans-serif;
}

.summary-card span {
    color: #888;
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

.main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
}

.section {
    background: #0b0b0b;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 25px;
}

.section-title {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.product-card-cart {
    background: #101010;
    border-radius: 16px;
    overflow: hidden;
}

.product-card-body {
    padding: 32px 28px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.product-card-top h3 {
    font-size: 18px;
}

.status-cart {
    background: #0d6b32;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.product-card-price strong {
    font-size: 24px;
    color: #ff6a21;
    font-family: 'Sora', sans-serif;
}

.product-card-price span {
    font-size: 13px;
    color: #888;
    margin-left: 8px;
}

.product-card-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-sm {
    flex: 1;
    height: 44px;
    border: 1px solid rgba(255, 106, 33, .3);
    background: transparent;
    color: #ff6a21;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-sm:hover {
    background: rgba(255, 106, 33, .1);
}

.btn-sm-remove {
    flex: 1;
    height: 44px;
    border: 1px solid rgba(255, 23, 68, .3);
    background: transparent;
    color: #ff1744;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-sm-remove:hover {
    background: rgba(255, 23, 68, .1);
}

.recommend-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.recommend-card {
    background: #101010;
    padding: 20px;
    border-radius: 12px;
}

.recommend-card h4 {
    font-size: 16px;
    margin-bottom: 12px;
}

.recommend-card span {
    display: block;
    margin-bottom: 15px;
    color: #ff6a21;
    font-weight: 700;
    font-size: 18px;
    font-family: 'Sora', sans-serif;
}

.recommend-card button {
    width: 100%;
    height: 44px;
    border: none;
    background: #ff6a21;
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    transition: filter 0.2s;
}

.recommend-card button:hover {
    filter: brightness(1.1);
}

.benefits-horizontal {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.benefit-horizontal-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #101010;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
}

.benefit-horizontal-card i {
    color: #4caf50;
    font-size: 16px;
    min-width: 16px;
}

.benefit-horizontal-card span {
    color: #ccc;
}

.cart-summary {
    margin-bottom: 10px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 16px;
    color: #ccc;
}

.cart-summary-row.total-row {
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-weight: 700;
    font-size: 18px;
}

.cart-total {
    color: #ff6a21;
    font-family: 'Sora', sans-serif;
    font-size: 22px;
}

.tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.tool-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: #101010;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .06);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.tool-card:hover {
    background: #181818;
    border-color: rgba(255, 106, 33, .2);
}

.tool-card i {
    font-size: 20px;
    color: #ff6a21;
    min-width: 24px;
    text-align: center;
}

.tool-card h4 {
    font-size: 15px;
    color: #fff;
    margin-bottom: 2px;
}

.tool-card p {
    font-size: 12px;
    color: #888;
}

.support-btn {
    width: 100%;
    height: 50px;
    border: none;
    background: #ff6a21;
    color: #fff;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    margin-top: 20px;
    font-size: 15px;
    transition: filter 0.2s;
}

.support-btn:hover {
    filter: brightness(1.1);
}

.footer-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.footer-benefits div {
    background: #0b0b0b;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .08);
    text-align: center;
    font-size: 14px;
}

.footer-benefits div i {
    color: #ff6a21;
    margin-right: 6px;
}

@media (max-width: 1024px) {
    .dashboard {
        padding: 40px;
    }

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

    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .dashboard {
        padding: 24px;
    }

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

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

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

    .footer-benefits {
        grid-template-columns: 1fr 1fr;
    }

    .header-area {
        flex-direction: column;
        align-items: flex-start;
    }
}

[data-theme="light"] .dash-menu a {
    color: #555;
}

[data-theme="light"] .dash-menu a:hover {
    background: #f0f0f2;
    color: #222;
}

[data-theme="light"] .dash-menu a.dash-active {
    background: #fff;
    border-color: rgba(255, 106, 33, .3);
}

[data-theme="light"] .navbar {
    border-bottom-color: rgba(0, 0, 0, .08);
}

[data-theme="light"] .btn-secondary {
    border-color: rgba(0, 0, 0, .15);
    color: #333;
}

[data-theme="light"] .card-plano:hover {
    border-color: rgba(255, 106, 33, .25);
}

[data-theme="light"] .card-price h3 {
    color: #666;
}

[data-theme="light"] .beneficio {
    color: #555;
}

[data-theme="light"] .card-footer span {
    color: #999;
}

[data-theme="light"] .section-header p {
    color: #666;
}

[data-theme="light"] .register-footer {
    color: #666;
}

[data-theme="light"] .register-security {
    border-top-color: rgba(0, 0, 0, .08);
    color: #888;
}

[data-theme="light"] .register-info {
    background: #fff;
    border-color: rgba(0, 0, 0, .08);
}

[data-theme="light"] .register-info p {
    color: #555;
}

[data-theme="light"] .register-info-divider {
    background: rgba(0, 0, 0, .06);
}

[data-theme="light"] .product-page-desc {
    color: #666;
}

[data-theme="light"] .feature-item p {
    color: #555;
}

[data-theme="light"] .plan-box-product p {
    color: #555;
}

[data-theme="light"] .info-box-desc {
    color: #555;
}

[data-theme="light"] .security-product {
    color: #777;
}

[data-theme="light"] .benefit-card-product p {
    color: #555;
}

[data-theme="light"] .summary-card {
    background: #fff;
    border-color: rgba(0, 0, 0, .08);
}

[data-theme="light"] .summary-card span {
    color: #777;
}

[data-theme="light"] .section {
    background: #fff;
    border-color: rgba(0, 0, 0, .08);
}

[data-theme="light"] .product-card-cart {
    background: #f8f8fa;
}

[data-theme="light"] .product-card-price span {
    color: #777;
}

[data-theme="light"] .benefit-horizontal-card {
    background: #f8f8fa;
}

[data-theme="light"] .benefit-horizontal-card span {
    color: #555;
}

[data-theme="light"] .cart-summary-row {
    color: #555;
}

[data-theme="light"] .cart-summary-row.total-row {
    border-top-color: rgba(0, 0, 0, .08);
}

[data-theme="light"] .tool-card {
    background: #f8f8fa;
    border-color: rgba(0, 0, 0, .06);
}

[data-theme="light"] .tool-card:hover {
    background: #fff;
    border-color: rgba(255, 106, 33, .3);
}

[data-theme="light"] .tool-card h4 {
    color: #222;
}

[data-theme="light"] .tool-card p {
    color: #777;
}

[data-theme="light"] .footer-benefits div {
    background: #fff;
    border-color: rgba(0, 0, 0, .08);
}

[data-theme="light"] .recommend-card {
    background: #f8f8fa;
}

[data-theme="light"] .user-box {
    background: #fff;
    border-color: rgba(0, 0, 0, .08);
}

[data-theme="light"] .user-box span {
    color: #777;
}

[data-theme="light"] .header-area p {
    color: #555;
}

[data-theme="light"] .product-card-body .product-card-top h3 {
    color: #111;
}

[data-theme="light"] .dash-user {
    background: #fff;
    border-color: rgba(0, 0, 0, .08);
    color: #222;
}

[data-theme="light"] .stats-view-selector,
[data-theme="light"] .stats-filters {
    background: #e8e8ea;
}

[data-theme="light"] .stats-view-btn.active,
[data-theme="light"] .stats-filter.active {
    background: #fff;
}

[data-theme="light"] .stats-view-btn:hover:not(.active),
[data-theme="light"] .stats-filter:hover:not(.active) {
    color: #222;
}

[data-theme="light"] .estat-card {
    background: #fff;
}

[data-theme="light"] .estat-filter-input,
[data-theme="light"] .estat-field input,
[data-theme="light"] .estat-field select,
[data-theme="light"] .estat-field textarea {
    background: #f5f5f7;
    border-color: rgba(0, 0, 0, .08);
    color: #111;
}

[data-theme="light"] .estat-field select option {
    background: #fff;
    color: #111;
}

[data-theme="light"] .estat-table tbody tr:hover {
    background: #f5f5f7;
}

[data-theme="light"] .estat-filter-input::-webkit-calendar-picker-indicator {
    filter: invert(0.3);
}

[data-theme="light"] .estat-btn-secondary {
    background: #f5f5f7;
    color: #111;
}

[data-theme="light"] .estat-subject-tag {
    background: rgba(255, 106, 33, 0.08);
}

[data-theme="light"] .estat-action-btn:hover {
    background: #f0f0f0;
    color: #333;
}

[data-theme="light"] .estat-action-btn--danger:hover {
    background: rgba(255, 23, 68, 0.06);
}

/* =============================================
   ESTATÍSTICAS PAGE
   ============================================= */

.estat-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.estat-card {
    background: var(--dash-card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 24px;
}

.estat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.estat-card-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

/* Filters row inside card header */
.estat-filters-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.estat-filter-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.estat-filter-input {
    background: var(--bg-elevated-2);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 7px 12px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    outline: none;
    transition: border 0.2s;
}

.estat-filter-input:focus {
    border-color: #ff6a21;
}

.estat-filter-input::-webkit-calendar-picker-indicator {
    filter: invert(0.7);
    cursor: pointer;
}

/* Form */
.estat-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.estat-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
}

.estat-hours-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.estat-hours-group {
    display: flex;
    align-items: center;
    background: var(--bg-elevated-2);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
    transition: border 0.2s;
}

.estat-hours-group:focus-within {
    border-color: #ff6a21;
}

.estat-hours-group input {
    width: 50px;
    padding: 10px 6px 10px 10px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    outline: none;
    text-align: right;
    -moz-appearance: textfield;
}

.estat-hours-group input::-webkit-outer-spin-button,
.estat-hours-group input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.estat-hours-suffix {
    padding: 0 10px 0 4px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.estat-hours-sep {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
}

[data-theme="light"] .estat-hours-group {
    background: #f5f5f7;
    border-color: rgba(0, 0, 0, .08);
}

[data-theme="light"] .estat-hours-group input {
    color: #111;
}

.estat-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.estat-field label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.estat-field input,
.estat-field select,
.estat-field textarea {
    background: var(--bg-elevated-2);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    outline: none;
    transition: border 0.2s;
}

.estat-field input:focus,
.estat-field select:focus,
.estat-field textarea:focus {
    border-color: #ff6a21;
}

.estat-field textarea {
    resize: vertical;
    min-height: 60px;
}

.estat-field-full {
    grid-column: 1 / -1;
}

.estat-subject-wrap select {
    width: 100%;
}

.estat-subject-wrap input {
    width: 100%;
}

.estat-field select option {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

/* Form actions */
.estat-form-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.estat-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.estat-btn-primary {
    background: #ff6a21;
    color: #fff;
}

.estat-btn-primary:hover {
    background: #e55d1a;
}

.estat-btn-secondary {
    background: var(--bg-elevated-2);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.estat-btn-secondary:hover {
    border-color: #ff6a21;
    color: #ff6a21;
}

.estat-btn-cancel {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
}

.estat-btn-cancel:hover {
    color: var(--text-primary);
    border-color: var(--text-muted);
}

.estat-btn-ghost {
    background: transparent;
    color: var(--text-muted);
    padding: 10px 12px;
}

.estat-btn-ghost:hover {
    color: var(--text-primary);
}

/* Table */
.estat-table-wrap {
    overflow-x: auto;
}

.estat-table {
    width: 100%;
    border-collapse: collapse;
}

.estat-table thead th {
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    padding: 0 12px 12px 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.estat-table tbody td {
    padding: 12px;
    font-size: 13px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-subtle);
    vertical-align: middle;
}

.estat-table tbody tr:last-child td {
    border-bottom: none;
}

.estat-table tbody tr:hover {
    background: var(--bg-elevated-2);
}

.estat-cell-date {
    white-space: nowrap;
    font-weight: 600;
}

.estat-cell-hours {
    font-weight: 700;
    font-family: 'Sora', sans-serif;
}

.estat-cell-notes {
    color: var(--text-secondary);
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.estat-cell-actions {
    white-space: nowrap;
}

/* Subject tag */
.estat-subject-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    background: rgba(255, 106, 33, 0.1);
    color: #ff6a21;
}

.estat-type-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}
.estat-type--study {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}
.estat-type--question {
    background: rgba(33, 150, 243, 0.1);
    color: #2196f3;
}
.estat-type--nivelamento {
    background: rgba(255, 106, 33, 0.1);
    color: #ff6a21;
}

/* Action buttons in table */
.estat-action-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 14px;
}

.estat-action-btn:hover {
    color: var(--text-primary);
    background: var(--bg-elevated-2);
}

.estat-action-btn--danger:hover {
    color: #ff1744;
    background: rgba(255, 23, 68, 0.1);
}

/* Empty state */
.estat-summary-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
.estat-summary-card {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.estat-summary-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.estat-summary-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.estat-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 8px;
    color: var(--text-muted);
}

.estat-empty-state i {
    font-size: 44px;
    opacity: 0.4;
}

.estat-empty-state p {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
}

.estat-empty-state span {
    font-size: 13px;
}

/* Toast notification */
.estat-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 12px 24px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    opacity: 0;
    transition: all 0.3s;
    z-index: 9999;
    pointer-events: none;
}

.estat-toast--show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.estat-toast--success {
    background: #1b5e20;
}

.estat-toast--error {
    background: #b71c1c;
}

/* Study card */
.study-card {
    background: #070707;
    border: 1px solid rgba(255, 106, 33, .25);
    border-radius: 24px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 106, 33, .06);
    transition: border-color 0.3s;
}

.study-card:hover {
    border-color: rgba(255, 106, 33, .5);
}

.study-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 200px;
    height: 200px;
    background: rgba(255, 106, 33, .06);
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.study-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    flex: 1;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.study-icon {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF6A21;
    background: linear-gradient(180deg, rgba(255, 106, 33, .08), rgba(255, 106, 33, .03));
    border: 1px solid rgba(255, 106, 33, .12);
    flex-shrink: 0;
}

.study-icon svg {
    width: 48px;
    height: 48px;
}

.study-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: #FF6A21;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.study-info h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 10px 0;
    font-family: 'Sora', sans-serif;
}

.study-info p {
    color: #9a9a9a;
    font-size: 14px;
    line-height: 1.5;
    max-width: 600px;
    margin: 0;
}

.study-button {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 14px;
    background: #FF6A21;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: .3s;
    position: relative;
    z-index: 1;
    font-family: 'Sora', sans-serif;
}

.study-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 106, 33, .3);
}

.study-footer {
    text-align: center;
    margin-top: 18px;
    color: #707070;
    font-size: 13px;
    position: relative;
    z-index: 1;
}

[data-theme="light"] .study-card {
    background: #fff;
    box-shadow: 0 0 30px rgba(255, 106, 33, .04);
}

[data-theme="light"] .study-info h2 {
    color: #111;
}

[data-theme="light"] .study-info p {
    color: #666;
}

[data-theme="light"] .study-card::before {
    background: rgba(255, 106, 33, .04);
}

@media (max-width: 992px) {
    .study-card {
        padding: 20px;
        border-radius: 18px;
    }

    .study-card-content {
        flex-direction: column;
        text-align: center;
    }

    .study-icon {
        width: 72px;
        height: 72px;
        border-radius: 16px;
    }

    .study-icon svg {
        width: 36px;
        height: 36px;
    }

    .study-info h2 {
        font-size: 20px;
    }

    .study-info p {
        font-size: 13px;
    }

    .study-button {
        height: 46px;
        font-size: 14px;
        gap: 10px;
        border-radius: 12px;
    }

    .study-footer {
        font-size: 12px;
    }
}

/* Modal overlay */
.estat-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}

.estat-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.estat-modal {
    background: var(--dash-card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.estat-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 0;
}

.estat-modal-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.estat-modal-header-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff6a21, #e55d1a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
}

.estat-modal-header-left h2 {
    font-family: 'Sora', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
}

.estat-modal-header-right {
    display: flex;
    gap: 4px;
}

.estat-modal-header-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.estat-modal-header-btn:hover {
    background: var(--bg-elevated-2);
    color: var(--text-primary);
}

.estat-modal-body {
    padding: 20px 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.estat-modal-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.estat-modal-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.estat-modal-field label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.estat-modal-field input,
.estat-modal-field select {
    background: var(--bg-elevated-2);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    outline: none;
    transition: border 0.2s;
    width: 100%;
}

.estat-modal-field input:focus,
.estat-modal-field select:focus {
    border-color: #ff6a21;
}

.estat-modal-field select option {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

.estat-modal-hours-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.estat-modal-hours-group {
    display: flex;
    align-items: center;
    background: var(--bg-elevated-2);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
    transition: border 0.2s;
    flex: 1;
}

.estat-modal-hours-group:focus-within {
    border-color: #ff6a21;
}

.estat-modal-hours-group input {
    width: 100%;
    padding: 10px 4px 10px 10px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    outline: none;
    text-align: right;
    -moz-appearance: textfield;
}

.estat-modal-hours-group input::-webkit-outer-spin-button,
.estat-modal-hours-group input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.estat-modal-hours-suffix {
    padding: 0 10px 0 4px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.estat-modal-hours-sep {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.estat-modal-subject-wrap select {
    width: 100%;
}

.estat-modal-subject-wrap input {
    width: 100%;
}

.estat-modal-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: var(--bg-elevated-2);
    border-radius: 10px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

.estat-modal-notice i {
    font-size: 16px;
    color: #ff6a21;
    flex-shrink: 0;
    margin-top: 1px;
}

.estat-modal-recent {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.estat-modal-recent h3 {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.estat-modal-recent h3 i {
    color: #ff6a21;
}

.estat-modal-recent-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: var(--bg-elevated-2);
    border-radius: 10px;
    gap: 10px;
}

.estat-modal-recent-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0;
}

.estat-modal-recent-date {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.estat-modal-recent-dot {
    font-size: 11px;
    color: var(--text-muted);
}

.estat-modal-recent-subject {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.estat-modal-recent-topic {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.estat-modal-recent-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.estat-modal-recent-time {
    font-size: 13px;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
    color: var(--text-primary);
    white-space: nowrap;
}

.estat-modal-recent-empty {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-size: 13px;
}

.estat-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 24px 20px;
}

.estat-modal-footer .estat-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.estat-modal-footer .estat-btn:first-child {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
}

.estat-modal-footer .estat-btn:first-child:hover {
    color: var(--text-primary);
    border-color: var(--text-muted);
}

.estat-modal-footer .estat-btn:last-child {
    background: #ff6a21;
    color: #fff;
}

.estat-modal-footer .estat-btn:last-child:hover {
    background: #e55d1a;
}

.estat-modal-footer .estat-btn:last-child:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

[data-theme="light"] .estat-modal {
    background: #fff;
}

[data-theme="light"] .estat-modal-field input,
[data-theme="light"] .estat-modal-field select,
[data-theme="light"] .estat-modal-hours-group {
    background: #f5f5f7;
    border-color: rgba(0, 0, 0, .08);
    color: #111;
}

[data-theme="light"] .estat-modal-field select option {
    background: #fff;
    color: #111;
}

[data-theme="light"] .estat-modal-notice,
[data-theme="light"] .estat-modal-recent-item {
    background: #f5f5f7;
}

[data-theme="light"] .estat-modal-recent-date,
[data-theme="light"] .estat-modal-recent-time {
    color: #111;
}

[data-theme="light"] .estat-modal-header-btn:hover {
    background: #f0f0f0;
    color: #333;
}

[data-theme="light"] .estat-modal-footer .estat-btn:first-child {
    color: #888;
    border-color: rgba(0, 0, 0, .1);
}

[data-theme="light"] .estat-modal-footer .estat-btn:first-child:hover {
    color: #333;
    border-color: #888;
}

.estat-modal::-webkit-scrollbar {
    width: 6px;
}

.estat-modal::-webkit-scrollbar-track {
    background: transparent;
}

.estat-modal::-webkit-scrollbar-thumb {
    background: var(--border-subtle);
    border-radius: 3px;
}

/* ===== Checkout ===== */
.checkout-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
}

.checkout-title {
    font-family: 'Sora', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 68% 32%;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 20px;
}

.checkout-card {
    background: var(--bg-elevated-2);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 28px;
}

.checkout-card-title {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 20px;
}

.checkout-card-title i {
    color: #FF6A21;
    font-size: 15px;
    width: 20px;
    text-align: center;
}

.card-comprador {
    min-height: 340px;
}

.card-pagamento {
    min-height: 250px;
    display: flex;
    flex-direction: column;
}

.card-pagamento .checkout-payment-grid {
    flex: 1;
    display: grid;
    align-content: center;
}

.card-resumo {
    min-height: 340px;
}

.checkout-field {
    margin-bottom: 16px;
}

.checkout-field.half {
    display: inline-block;
    width: 50%;
    vertical-align: top;
}

.checkout-field.half:nth-child(odd) {
    padding-right: 8px;
}

.checkout-field.half:nth-child(even) {
    padding-left: 8px;
}

.checkout-field.full {
    width: 100%;
}

.checkout-field label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.checkout-field input,
.checkout-field select {
    width: 100%;
    background: var(--bg-body);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.checkout-field input:focus,
.checkout-field select:focus {
    border-color: #FF6A21;
    box-shadow: 0 0 0 3px rgba(255, 106, 33, 0.1);
}

.checkout-field input::placeholder {
    color: var(--text-muted);
}

.checkout-field select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.checkout-field select option {
    background: var(--bg-elevated-2);
    color: var(--text-primary);
}

/* Payment options */
.checkout-payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.checkout-payment-option {
    position: relative;
}

.checkout-payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkout-payment-option label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 16px;
    border: 1.5px solid var(--border-subtle);
    background: var(--bg-body);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    min-height: 100%;
}

.checkout-payment-option input[type="radio"]:checked+label {
    border-color: #FF6A21;
    background: rgba(255, 106, 33, 0.05);
}

.checkout-payment-option label .radio-dot {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    border: 2px solid var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    transition: border-color 0.2s;
}

.checkout-payment-option input[type="radio"]:checked+label .radio-dot {
    border-color: #FF6A21;
}

.checkout-payment-option input[type="radio"]:checked+label .radio-dot::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #FF6A21;
}

.checkout-payment-option label .pay-info {
    flex: 1;
}

.checkout-payment-option label .pay-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.checkout-payment-option label .pay-name i {
    font-size: 16px;
}

.checkout-payment-option label .pay-name .fa-pix {
    color: #33cc66;
}

.checkout-payment-option label .pay-name .fa-credit-card {
    color: #818cf8;
}

.checkout-payment-option label .pay-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
    line-height: 1.4;
}

/* Primary button */
.checkout-btn {
    height: 70px;
    background: #FF6A21;
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 16px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 28px auto 20px;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(255, 106, 33, 0.25);
}

.checkout-btn:hover {
    background: #e55a12;
    box-shadow: 0 6px 28px rgba(255, 106, 33, 0.35);
}

.checkout-btn:active {
    transform: scale(0.98);
}

/* Security message */
.checkout-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.checkout-security i {
    color: #4caf50;
    font-size: 13px;
}

/* Right column summary */
.checkout-summary {
    background: var(--bg-elevated-2);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 28px;
}

.checkout-summary-title {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 16px;
}

.checkout-summary-title i {
    color: #FF6A21;
    font-size: 15px;
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.checkout-summary-item:last-of-type {
    border-bottom: none;
}

.checkout-summary-item .item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.checkout-summary-item .item-qty {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.checkout-summary-item .item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.checkout-summary-lines {
    padding: 12px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    margin: 4px 0 16px;
}

.checkout-summary-line {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.checkout-summary-line .line-value {
    color: var(--text-primary);
    font-weight: 600;
}

.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 4px;
}

.checkout-summary-total .total-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.checkout-summary-total .total-value {
    font-size: 22px;
    font-weight: 800;
    color: #FF6A21;
}

/* Form row helper */
.checkout-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px;
}

.checkout-row .checkout-field {
    padding: 0 8px;
}

/* Responsive checkout */
@media (max-width: 1024px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }

    .checkout-wrapper {
        padding: 32px 24px;
    }

    .checkout-title {
        font-size: 22px;
    }
}

@media (max-width: 640px) {
    .checkout-payment-grid {
        grid-template-columns: 1fr;
    }

    .checkout-field.half {
        width: 100%;
    }

    .checkout-field.half:nth-child(odd),
    .checkout-field.half:nth-child(even) {
        padding: 0;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .estat-form-grid {
        grid-template-columns: 1fr;
    }

    .estat-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .estat-filters-row {
        width: 100%;
    }

    .estat-modal {
        max-width: 100%;
        border-radius: 16px;
        margin: 10px;
        max-height: 85vh;
    }

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

    .estat-modal-body {
        padding: 16px;
    }

    .estat-modal-header {
        padding: 16px 16px 0;
    }

    .estat-modal-footer {
        padding: 12px 16px 16px;
    }
}

/* ===== Nivelamento ===== */
.nivelamento-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 860px;
    margin: 0 auto;
}

.nivelamento-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nvl-card {
    background: var(--dash-card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 28px;
}

.nvl-section-title {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.hidden {
    display: none !important;
}

/* ===== PHASE INDICATOR ===== */
.nvl-phases {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 24px;
}

.nvl-phase {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 30px;
    transition: all 0.3s;
    opacity: 0.4;
}

.nvl-phase.active {
    opacity: 1;
    background: rgba(255, 106, 33, 0.1);
}

.nvl-phase.done {
    opacity: 0.8;
}

.nvl-phase-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--border-subtle);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    font-family: 'Sora', sans-serif;
    flex-shrink: 0;
    transition: all 0.3s;
}

.nvl-phase.active .nvl-phase-num {
    background: #ff6a21;
    color: #fff;
}

.nvl-phase.done .nvl-phase-num {
    background: #4caf50;
    color: #fff;
}

.nvl-phase-label {
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.nvl-phase-line {
    width: 32px;
    height: 2px;
    background: var(--border-subtle);
    margin: 0 4px;
}

/* ===== SETUP LAYOUT ===== */
.nvl-setup-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.nvl-setup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nvl-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nvl-field label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nvl-field label span {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-muted);
}

.nvl-field input,
.nvl-field select {
    width: 100%;
    background: var(--bg-elevated-2);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 11px 14px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.nvl-field input:focus,
.nvl-field select:focus {
    border-color: #ff6a21;
}

.nvl-field select option {
    background: var(--bg-elevated-2);
    color: var(--text-primary);
}

.nvl-custom-fields {
    padding: 14px;
    background: var(--bg-elevated-2);
    border-radius: 12px;
}

.nvl-custom-row {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.nvl-field-sm {
    flex: 0 0 auto;
}

.nvl-field-sm input {
    width: 80px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
}

.nvl-sep {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-secondary);
    padding-bottom: 10px;
}

.nvl-sep-label {
    font-size: 14px;
    color: var(--text-secondary);
    padding-bottom: 10px;
    white-space: nowrap;
}

/* ===== HISTORY PANEL ===== */
.nvl-history-panel {
    max-height: 380px;
    overflow-y: auto;
    padding-right: 4px;
}

.nvl-history-panel::-webkit-scrollbar {
    width: 4px;
}

.nvl-history-panel::-webkit-scrollbar-thumb {
    background: var(--border-subtle);
    border-radius: 2px;
}

.nvl-history-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nvl-h-item {
    background: var(--bg-elevated-2);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nvl-h-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.nvl-h-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nvl-h-status {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.nvl-h-done {
    background: rgba(76, 175, 80, 0.12);
    color: #4caf50;
}

.nvl-h-reforco {
    background: rgba(255, 106, 33, 0.12);
    color: #ff6a21;
}

.nvl-h-cancelled {
    background: rgba(255, 23, 68, 0.1);
    color: #ff1744;
}

.nvl-h-active {
    background: rgba(99, 102, 241, 0.12);
    color: #6366f1;
}

.nvl-h-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 11px;
    color: var(--text-muted);
    align-items: center;
}

.nvl-h-meta span {
    white-space: nowrap;
}

.nvl-h-item {
    position: relative;
}

.nvl-h-del {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.2s;
}

.nvl-h-del:hover {
    background: rgba(255, 23, 68, 0.12);
    color: #ff1744;
}

[data-theme="light"] .nvl-h-del:hover {
    background: rgba(255, 23, 68, 0.08);
}

/* ===== BUTTONS ===== */
.nvl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border: none;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.nvl-btn-primary {
    background: linear-gradient(135deg, #ff6a21, #e55a12);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 106, 33, .25);
}

.nvl-btn-primary:hover {
    box-shadow: 0 6px 30px rgba(255, 106, 33, .4);
    transform: translateY(-1px);
}

.nvl-btn-undo,
.nvl-btn-finish {
    padding: 9px 18px;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.nvl-btn-undo:hover:not(:disabled) {
    background: var(--bg-elevated-2);
    color: var(--text-primary);
}

.nvl-btn-undo:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.nvl-btn-finish:hover {
    color: #ff1744;
    background: rgba(255, 23, 68, 0.1);
    border-color: rgba(255, 23, 68, 0.3);
}

/* ===== ACTIVE HEADER ===== */
.nvl-active-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 16px;
}

.nvl-active-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.nvl-session-name {
    font-family: 'Sora', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
}

.nvl-timer {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #ff6a21;
}

.nvl-timer i {
    font-size: 18px;
}

.nvl-active-header-right {
    display: flex;
    gap: 6px;
}

/* ===== STATS ROW ===== */
.nvl-active-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.nvl-stat-card {
    background: var(--bg-elevated-2);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 14px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.nvl-stat-card-value {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #ff6a21;
    line-height: 1.1;
}

.nvl-stat-card-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== DOTS ===== */
.nvl-dots-section {
    margin-bottom: 16px;
}

.nvl-dots-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.nvl-active-dots {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    min-height: 20px;
    align-items: center;
}

.nvl-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.nvl-dot-correct {
    background: #4caf50;
    box-shadow: 0 0 6px rgba(76, 175, 80, 0.4);
}

.nvl-dot-wrong {
    background: #ff1744;
    box-shadow: 0 0 6px rgba(255, 23, 68, 0.4);
}

.nvl-dot-empty {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== PROGRESS ===== */
.nvl-active-progress {
    margin-bottom: 20px;
}

.nvl-progress-bar {
    height: 10px;
    background: var(--bg-elevated-2);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 6px;
}

.nvl-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff6a21, #e55a12);
    border-radius: 5px;
    transition: width 0.35s ease;
}

.nvl-progress-label {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
}

.nvl-progress-label strong {
    color: #ff6a21;
}

/* ===== ANSWER BUTTONS ===== */
.nvl-active-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.nvl-btn-errei,
.nvl-btn-acertei {
    flex: 1;
    max-width: 300px;
    padding: 22px 32px;
    border-radius: 16px;
    font-size: 20px;
}

.nvl-btn-errei {
    background: rgba(255, 23, 68, 0.1);
    color: #ff1744;
    border: 2px solid rgba(255, 23, 68, 0.2);
}

.nvl-btn-errei:hover {
    background: rgba(255, 23, 68, 0.2);
    transform: scale(1.03);
}

.nvl-btn-acertei {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border: 2px solid rgba(76, 175, 80, 0.2);
}

.nvl-btn-acertei:hover {
    background: rgba(76, 175, 80, 0.2);
    transform: scale(1.03);
}

/* ===== RESULT ===== */
.nvl-result-content {
    text-align: center;
    padding: 10px 0;
}

.nvl-result-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 106, 33, 0.1);
    border: 4px solid rgba(255, 106, 33, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.nvl-result-icon i {
    font-size: 36px;
    color: #ff6a21;
}

.nvl-result-content h3 {
    font-family: 'Sora', sans-serif;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
}

.nvl-result-sub {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
}

.nvl-result-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.nvl-result-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 90px;
}

.nvl-result-stat-value {
    font-family: 'Sora', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #ff6a21;
}

.nvl-result-stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nvl-setup-content {
        grid-template-columns: 1fr;
    }
    .nvl-phase-line {
        width: 16px;
    }
    .nvl-phase-label {
        font-size: 11px;
    }
    .nvl-phases {
        gap: 4px;
    }
    .nvl-active-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .nvl-active-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .nvl-active-actions {
        flex-direction: column;
        align-items: center;
    }
    .nvl-btn-errei,
    .nvl-btn-acertei {
        max-width: 100%;
    }
    .nvl-result-stats {
        gap: 14px;
    }
    .nvl-result-stat {
        min-width: 70px;
    }
}

@media (max-width: 480px) {
    .nvl-active-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .nvl-stat-card-value {
        font-size: 18px;
    }
}

/* ===== LIGHT THEME ===== */
[data-theme="light"] .nvl-card {
    border-color: rgba(0, 0, 0, .08);
}

[data-theme="light"] .nvl-field input,
[data-theme="light"] .nvl-field select,
[data-theme="light"] .nvl-custom-fields,
[data-theme="light"] .nvl-stat-card,
[data-theme="light"] .nvl-h-item {
    background: #f5f5f7;
    border-color: rgba(0, 0, 0, .08);
    color: #111;
}

[data-theme="light"] .nvl-field select option {
    background: #fff;
}

[data-theme="light"] .nvl-progress-bar {
    background: #e8e8ea;
}

[data-theme="light"] .nvl-btn-errei {
    background: rgba(255, 23, 68, 0.06);
}

[data-theme="light"] .nvl-btn-acertei {
    background: rgba(76, 175, 80, 0.06);
}

[data-theme="light"] .nvl-result-icon {
    background: rgba(255, 106, 33, 0.06);
}

[data-theme="light"] .nvl-phase.active {
    background: rgba(255, 106, 33, 0.06);
}

[data-theme="light"] .nvl-phase-num {
    background: #ddd;
}

[data-theme="light"] .nvl-btn-undo,
[data-theme="light"] .nvl-btn-finish {
    background: #f5f5f7;
    border-color: rgba(0, 0, 0, .08);
}

[data-theme="light"] .nvl-btn-undo:hover:not(:disabled) {
    background: #e8e8ea;
}

/* ===== RANKING PAGE ===== */
.ranking-page {
    width: 100%;
}

/* Cards */
.ranking-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.ranking-card {
    background: var(--dash-card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: border-color 0.2s;
}

.ranking-card:hover {
    border-color: var(--border-hover);
}

.ranking-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 106, 33, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ff6a21;
    flex-shrink: 0;
}

.ranking-card-body {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.ranking-card-value {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.ranking-card-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.ranking-card-desc {
    font-size: 11px;
    color: var(--text-muted);
}

/* Two column layout */
.ranking-columns {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 20px;
    align-items: start;
}

.ranking-column-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ranking-column-right {
    position: sticky;
    top: 20px;
}

/* Filters */
.ranking-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ranking-filters-periods {
    display: flex;
    gap: 4px;
    background: var(--bg-elevated-2);
    padding: 3px;
    border-radius: 8px;
}

.ranking-filter-btn {
    padding: 6px 16px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.ranking-filter-btn.active {
    background: var(--dash-card-bg);
    color: #ff6a21;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.ranking-filter-btn:hover:not(.active) {
    color: var(--text-primary);
}

.ranking-filter-select {
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-elevated-2);
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    min-width: 140px;
}

.ranking-filter-select:focus {
    border-color: #ff6a21;
}

/* Table */
.ranking-table-wrap {
    background: var(--dash-card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    overflow: hidden;
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
}

.ranking-table thead th {
    padding: 14px 18px;
    text-align: left;
    font-family: 'Sora', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-elevated-2);
}

.ranking-table tbody td {
    padding: 14px 18px;
    font-size: 13px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-subtle);
    vertical-align: middle;
}

.ranking-table tbody tr:last-child td {
    border-bottom: none;
}

.ranking-table tbody tr:hover {
    background: var(--bg-elevated-2);
}

.ranking-row-current {
    background: rgba(255, 106, 33, 0.06) !important;
}

.ranking-row-current td {
    border-bottom-color: rgba(255, 106, 33, 0.12);
}

.ranking-row-spacer td {
    padding: 4px 18px !important;
    border-bottom: 1px dashed var(--border-subtle);
}

/* Position cell */
.ranking-cell-pos {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.ranking-pos-num {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
}

.ranking-medal {
    display: inline-flex;
    font-size: 16px;
}

.ranking-medal-gold i { color: #ffd700; }
.ranking-medal-silver i { color: #c0c0c0; }
.ranking-medal-bronze i { color: #cd7f32; }

/* Student cell */
.ranking-student {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ranking-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.ranking-student-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.ranking-student-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.ranking-student-level {
    font-size: 11px;
    color: var(--text-muted);
}

/* Points cell */
.ranking-cell-points {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #ff6a21;
}

/* Level tag */
.ranking-level-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.ranking-level-iniciante { background: rgba(158, 158, 158, 0.15); color: #9e9e9e; }
.ranking-level-básico { background: rgba(33, 150, 243, 0.15); color: #64b5f6; }
.ranking-level-intermediário { background: rgba(76, 175, 80, 0.15); color: #81c784; }
.ranking-level-avançado { background: rgba(255, 152, 0, 0.15); color: #ffb74d; }
.ranking-level-elite { background: rgba(156, 39, 176, 0.15); color: #ce93d8; }

/* Streak cell */
.ranking-cell-streak {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Update text */
.ranking-update {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.ranking-update i {
    font-size: 10px;
}

/* Performance Panel */
.ranking-panel {
    background: var(--dash-card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 24px;
}

.ranking-panel-title {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

/* Score Circle */
.ranking-score-circle {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

.ranking-score-svg {
    width: 160px;
    height: 160px;
}

.ranking-score-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ranking-score-value {
    font-family: 'Sora', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.ranking-score-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.ranking-score-top {
    font-size: 11px;
    font-weight: 600;
    color: #ff6a21;
    background: rgba(255, 106, 33, 0.1);
    padding: 4px 12px;
    border-radius: 10px;
    text-align: center;
    margin: -8px auto 16px;
    width: fit-content;
}

/* Metrics */
.ranking-metrics {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ranking-metric {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ranking-metric-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ranking-metric-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ranking-metric-left i {
    font-size: 14px;
    color: #ff6a21;
    width: 16px;
    text-align: center;
}

.ranking-metric-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.ranking-metric-value {
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.ranking-progress-bar {
    height: 6px;
    background: var(--bg-elevated-2);
    border-radius: 3px;
    overflow: hidden;
}

.ranking-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6a21, #e55a12);
    border-radius: 3px;
    transition: width 0.6s ease;
}

.ranking-metric-desc {
    font-size: 11px;
    color: var(--text-muted);
}

/* Panel Button */
.ranking-panel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 44px;
    margin-top: 20px;
    background: linear-gradient(135deg, #ff6a21, #e55a12);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(255, 106, 33, 0.2);
}

.ranking-panel-btn:hover {
    box-shadow: 0 6px 30px rgba(255, 106, 33, 0.35);
}

/* Light theme adjustments */
[data-theme="light"] .ranking-card {
    background: var(--dash-card-bg);
}

[data-theme="light"] .ranking-table-wrap,
[data-theme="light"] .ranking-panel {
    background: var(--dash-card-bg);
}

[data-theme="light"] .ranking-table thead th {
    background: var(--bg-elevated-2);
}

[data-theme="light"] .ranking-row-current {
    background: rgba(255, 106, 33, 0.05) !important;
}

[data-theme="light"] .ranking-filter-select {
    background: var(--bg-elevated-2);
}

/* Responsive */
@media (max-width: 1200px) {
    .ranking-columns {
        grid-template-columns: 1fr;
    }

    .ranking-column-right {
        position: static;
    }
}

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

    .ranking-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .ranking-filters-periods {
        justify-content: center;
    }

    .ranking-table thead th:nth-child(4),
    .ranking-table tbody td:nth-child(4) {
        display: none;
    }
}

@media (max-width: 480px) {
    .ranking-cards {
        grid-template-columns: 1fr;
    }

    .ranking-table thead th:nth-child(5),
    .ranking-table tbody td:nth-child(5) {
        display: none;
    }

    .ranking-panel {
        padding: 16px;
    }
}

/* ===== MATERIAIS DIDÁTICOS ===== */
.materiais-page {
    width: 100%;
}

.materiais-header {
    margin-bottom: 32px;
}

.materiais-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.materiais-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.material-card {
    position: relative;
    width: 420px;
    max-width: 100%;
    height: 640px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.material-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.material-card-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.material-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.90) 0%,
        rgba(0, 0, 0, 0.70) 30%,
        rgba(0, 0, 0, 0.20) 60%,
        rgba(0, 0, 0, 0) 100%
    );
}

.material-card-title {
    color: #fff;
    font-family: 'Sora', sans-serif;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 12px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
    line-height: 1.1;
}

.material-card-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    line-height: 1.5;
    margin: 0 0 16px;
}

.material-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 240px;
    max-width: 100%;
    height: 54px;
    background: #ff6a1a;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(255, 106, 26, 0.25);
}

.material-card-btn:hover {
    background: #e55a0e;
    box-shadow: 0 6px 30px rgba(255, 106, 26, 0.35);
}

.material-card-btn i {
    font-size: 14px;
    transition: transform 0.2s;
}

.material-card-btn:hover i {
    transform: translateX(3px);
}

.materiais-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    background: var(--bg-elevated-2);
    transition: all 0.2s;
    width: fit-content;
}

.materiais-back-btn:hover {
    color: var(--text-primary);
    background: var(--bg-elevated-3);
}

.materiais-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    background: var(--dash-card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    margin-top: 20px;
}

.materiais-empty i {
    font-size: 56px;
    color: var(--text-muted);
    margin-bottom: 16px;
    opacity: 0.4;
}

.materiais-empty p {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.materiais-empty span {
    font-size: 14px;
    color: var(--text-muted);
}

/* Light theme overrides */
[data-theme="light"] .material-card {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .material-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .material-card-img {
    /* keep original image regardless of theme */
}

[data-theme="light"] .material-card-overlay {
    background: linear-gradient(
        to top,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.80) 30%,
        rgba(255, 255, 255, 0.20) 60%,
        rgba(255, 255, 255, 0) 100%
    );
}

[data-theme="light"] .material-card-title {
    color: #111;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .material-card-subtitle {
    color: #444;
}

/* Responsive */
@media (max-width: 960px) {
    .materiais-grid {
        gap: 28px;
    }

    .material-card {
        width: 360px;
        height: 560px;
    }

    .material-card-overlay {
        padding: 30px;
    }

    .material-card-title {
        font-size: 34px;
    }

    .material-card-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .material-card {
        width: 100%;
        height: 520px;
    }

    .material-card-overlay {
        padding: 24px;
    }

    .material-card-title {
        font-size: 28px;
    }

    .material-card-subtitle {
        font-size: 15px;
    }

    .material-card-btn {
        width: 100%;
    }
}

/* ===== VIDEO INSTRUCTION CARD ===== */
.cm-video-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 24px 0 0;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.08), rgba(255, 107, 0, 0.02));
    border: 1px solid rgba(255, 107, 0, 0.15);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s;
    overflow: hidden;
    margin-bottom: 24px;
}

.cm-video-card:hover {
    border-color: rgba(255, 107, 0, 0.3);
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.08);
    transform: translateY(-2px);
}

.cm-video-card[data-video-completed="1"] {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(34, 197, 94, 0.02));
    border-color: rgba(34, 197, 94, 0.15);
}

.cm-video-card[data-video-completed="1"]:hover {
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.08);
}

.cm-video-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 16px;
    background: rgba(255, 107, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ff6b00;
    margin-left: 20px;
}

.cm-video-card[data-video-completed="1"] .cm-video-icon {
    background: rgba(34, 197, 94, 0.1);
    color: #22C55E;
}

.cm-video-info {
    flex: 1;
    min-width: 0;
}

.cm-video-info h4 {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 2px;
}

.cm-video-info p {
    font-size: 12px;
    color: #a0a0a0;
    margin: 0;
    line-height: 1.4;
}

.cm-video-status {
    white-space: nowrap;
}

.cm-video-pending {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #ff6b00;
    padding: 8px 20px;
    border-radius: 12px;
    background: rgba(255, 107, 0, 0.1);
    transition: all 0.25s;
}

.cm-video-card:hover .cm-video-pending {
    background: rgba(255, 107, 0, 0.18);
}

.cm-video-done {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #22C55E;
    padding: 8px 20px;
    border-radius: 12px;
    background: rgba(34, 197, 94, 0.1);
}

.cm-lock-msg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px;
    text-align: center;
    color: var(--text-muted);
}

.cm-lock-msg i {
    font-size: 32px;
    color: #555;
}

.cm-lock-msg p {
    font-size: 14px;
    margin: 0;
    color: #888;
}

@media (max-width: 768px) {
    .cm-video-card {
        height: auto;
        min-height: 72px;
        padding: 14px 16px 14px 0;
    }

    .cm-video-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 18px;
        margin-left: 14px;
    }

    .cm-video-pending,
    .cm-video-done {
        font-size: 12px;
        padding: 6px 14px;
    }
}

@media (max-width: 480px) {
    .cm-video-card {
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px 12px 12px 0;
    }

    .cm-video-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 16px;
        margin-left: 12px;
    }

    .cm-video-info h4 {
        font-size: 13px;
    }

    .cm-video-info p {
        font-size: 11px;
    }
}

/* ===== APOSTILAS CARD (grid) ===== */
.cm-subject-card--apostilas {
    opacity: 0.65;
    cursor: default;
    pointer-events: none;
}

.cm-subject-card--apostilas:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: #222222 !important;
}

/* ===== COURSE SUBJECT PAGE ===== */
.cm-container {
    max-width: 1200px;
}

.cm-course-header {
    margin-bottom: 28px;
}

.cm-course-title {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.cm-course-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    max-width: 600px;
    line-height: 1.5;
}

.cm-subject-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.cm-subject-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 20px 0 0;
    height: 155px;
    border-radius: 20px;
    background: #111111;
    border: 1px solid #222222;
    text-decoration: none;
    transition: all 0.25s;
    overflow: hidden;
}

.cm-subject-card:hover {
    border-color: rgba(255, 107, 0, 0.3);
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.08);
    transform: translateY(-2px);
}

.cm-subject-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 16px;
    background: rgba(255, 107, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ff6b00;
    margin-left: 20px;
}

.cm-subject-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cm-subject-info h4 {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.cm-subject-info p {
    font-size: 12px;
    color: #a0a0a0;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cm-aprofundamento-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    color: #F59E0B;
    background: rgba(245, 158, 11, 0.1);
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid rgba(245, 158, 11, 0.15);
    width: fit-content;
}

.cm-aprofundamento-badge i {
    font-size: 9px;
}

.cm-subject-action {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #888;
    transition: all 0.25s;
}

.cm-subject-card:hover .cm-subject-action {
    background: #ff6b00;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
}

.cm-community-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 24px 0 0;
    height: 80px;
    border-radius: 20px;
    background: #071a24;
    border: 1px solid #0f3040;
    text-decoration: none;
    transition: all 0.25s;
    overflow: hidden;
}

.cm-community-card:hover {
    border-color: rgba(0, 191, 243, 0.2);
    box-shadow: 0 0 30px rgba(0, 191, 243, 0.06);
    transform: translateY(-2px);
}

.cm-community-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 16px;
    background: rgba(0, 191, 243, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #00BFF3;
    margin-left: 20px;
}

.cm-community-info {
    flex: 1;
    min-width: 0;
}

.cm-community-info h4 {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 2px;
}

.cm-community-info p {
    font-size: 12px;
    color: #a0a0a0;
    margin: 0;
    line-height: 1.4;
}

.cm-community-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #00BFF3;
    padding: 8px 18px;
    border-radius: 12px;
    background: rgba(0, 191, 243, 0.08);
    transition: all 0.25s;
    white-space: nowrap;
}

.cm-community-card:hover .cm-community-action {
    background: rgba(0, 191, 243, 0.15);
    color: #00D4FF;
}

.cm-community-action i {
    font-size: 13px;
}

@media (max-width: 768px) {
    .cm-subject-grid {
        grid-template-columns: 1fr;
    }

    .cm-course-title {
        font-size: 26px;
    }

    .cm-subject-card {
        height: auto;
        min-height: 130px;
        padding: 16px 16px 16px 0;
    }

    .cm-community-card {
        height: auto;
        min-height: 72px;
        padding: 14px 16px 14px 0;
    }

    .cm-subject-icon,
    .cm-community-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 18px;
        margin-left: 14px;
    }
}

@media (max-width: 480px) {
    .cm-subject-card {
        flex-direction: row;
        padding: 12px 12px 12px 0;
    }

    .cm-subject-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 16px;
        margin-left: 12px;
    }

    .cm-subject-info h4 {
        font-size: 13px;
    }

    .cm-subject-info p {
        font-size: 11px;
    }

    .cm-community-action {
        font-size: 12px;
        padding: 6px 14px;
    }
}

/* ===== CARREIRAS MILITARES SUBPAGE ===== */
.cm-page {
    width: 100%;
}

.cm-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px 40px;
}

.cm-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #888;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    transition: all 0.2s;
    width: fit-content;
    margin-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cm-back-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.12);
}

.cm-title-section {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 40px;
}

.cm-title-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 107, 26, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #FF6B1A;
    flex-shrink: 0;
}

.cm-title {
    font-family: 'Sora', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.cm-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== Carousel ===== */
.cm-carousel {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.cm-carousel-viewport {
    flex: 1;
    overflow: hidden;
}

.cm-carousel-track {
    display: flex;
    transition: transform 0.45s ease;
}

.cm-carousel-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    min-width: 100%;
    flex-shrink: 0;
}

.cm-carousel-arrow {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #ccc;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.cm-carousel-arrow:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

.cm-carousel-arrow:disabled {
    opacity: 0.25;
    cursor: default;
}

.cm-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.cm-carousel-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.25s;
}

.cm-carousel-dots span.active {
    background: #FF6B1A;
    width: 28px;
    border-radius: 5px;
}

.cm-carousel-dots span:hover {
    background: rgba(255, 255, 255, 0.3);
}

.cm-carousel-dots span.active:hover {
    background: #FF6B1A;
}

.cm-card {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cm-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.cm-card-img {
    position: relative;
    width: 100%;
    height: 680px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cm-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 42px;
    background: linear-gradient(
        to top,
        #000000 0%,
        rgba(0, 0, 0, 0.85) 30%,
        rgba(0, 0, 0, 0.20) 60%,
        transparent 100%
    );
}

.cm-card-category {
    font-size: 13px;
    font-weight: 700;
    color: #FF6B1A;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.cm-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 72px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.cm-card-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 20px;
    line-height: 1.4;
}

.cm-card-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.cm-card-features span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cm-card-features i {
    font-size: 14px;
    color: #FF6B1A;
    width: 18px;
    text-align: center;
}

.cm-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    padding: 16px 32px;
    background: #FF6B1A;
    color: #fff;
    border: none;
    border-radius: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(255, 107, 26, 0.25);
}

.cm-card-btn:hover {
    background: #e55a0e;
    box-shadow: 0 6px 30px rgba(255, 107, 26, 0.35);
}

.cm-card-btn i {
    font-size: 15px;
    transition: transform 0.2s;
}

.cm-card-btn:hover i {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1100px) {
    .cm-carousel-page {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .cm-carousel-arrow {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .cm-card-img {
        height: 560px;
    }

    .cm-card-overlay {
        padding: 32px;
    }

    .cm-card-title {
        font-size: 52px;
    }
}

@media (max-width: 768px) {
    .cm-carousel-page {
        grid-template-columns: 1fr;
    }

    .cm-carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .cm-card-img {
        height: 500px;
    }
}

@media (max-width: 480px) {
    .cm-container {
        padding: 20px;
    }

    .cm-card-img {
        height: 440px;
    }

    .cm-card-overlay {
        padding: 24px;
    }

    .cm-card-title {
        font-size: 40px;
    }

    .cm-title {
        font-size: 24px;
    }

    .cm-card-btn {
        width: 100%;
        justify-content: center;
    }

    .cm-carousel-arrow {
        display: none;
    }
}