/* ========================================
   SISTEMA DE DESIGN MODERNO - EADPLAY
   Variáveis CSS com Suporte Light/Dark
   ======================================== */

/* ========================================
   SKELETON LOADING - MÓDULOS
   ======================================== */

.skeleton-card {
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.skeleton-img {
    width: 180px;
    height: 240px;
    background: linear-gradient(90deg, #e2e8f0 25%, #f8fafc 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Skeleton no Dark Mode */
[data-bs-theme="dark"] .skeleton-card {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
}

[data-bs-theme="dark"] .skeleton-img {
    background: linear-gradient(90deg, #374151 25%, #4b5563 50%, #374151 75%);
    background-size: 200% 100%;
}

/* Container AJAX dos módulos */
.modulos-ajax-container {
    min-height: 260px;
}

/* Skeleton loading horizontal */
.modulos-ajax-container .owl-loading {
    display: flex;
    flex-direction: row;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.modulos-ajax-container .owl-loading .item {
    flex-shrink: 0;
}

/* Módulos carregados via AJAX - dimensões fixas */
.modulos-ajax-container .owl-carousel .item {
    width: 180px !important;
}

.modulos-ajax-container .owl-carousel .img-container {
    width: 180px;
    height: 240px;
    overflow: hidden;
    border-radius: 8px;
}

.modulos-ajax-container .owl-carousel .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== VARIÁVEIS LIGHT MODE ========== */
:root,
[data-bs-theme="light"] {
    /* Gradientes */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --warning-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --danger-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --info-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --dark-gradient: linear-gradient(135deg, #1e293b 0%, #334155 100%);

    /* Cores de Fundo */
    --eadplay-bg-primary: #ffffff;
    --eadplay-bg-secondary: #f8fafc;
    --eadplay-bg-tertiary: #f1f5f9;
    --eadplay-bg-hover: #f0f4ff;
    --eadplay-bg-card: #ffffff;
    --eadplay-bg-input: #ffffff;

    /* Cores de Texto */
    --eadplay-text-primary: #1e293b;
    --eadplay-text-secondary: #64748b;
    --eadplay-text-muted: #94a3b8;
    --eadplay-text-inverse: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;

    /* Bordas */
    --eadplay-border-color: #e2e8f0;
    --eadplay-border-light: #f1f5f9;

    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 8px 25px rgba(102, 126, 234, 0.25);
    --shadow-success: 0 8px 25px rgba(16, 185, 129, 0.25);

    /* Progress Bar */
    --eadplay-progress-bg: #e2e8f0;

    /* Sidebar */
    --eadplay-sidebar-bg: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);

    /* Constantes */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 50px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== VARIÁVEIS DARK MODE ========== */
[data-bs-theme="dark"] {
    /* Gradientes - mantidos */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --warning-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --danger-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --info-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --dark-gradient: linear-gradient(135deg, #374151 0%, #4b5563 100%);

    /* Cores de Fundo - Dark */
    --eadplay-bg-primary: #1a1a2e;
    --eadplay-bg-secondary: #16213e;
    --eadplay-bg-tertiary: #1f2937;
    --eadplay-bg-hover: rgba(102, 126, 234, 0.15);
    --eadplay-bg-card: #1e1e32;
    --eadplay-bg-input: #252540;

    /* Cores de Texto - Dark (CONTRASTE ALTO) */
    --eadplay-text-primary: #f1f5f9;
    --eadplay-text-secondary: #e2e8f0;
    --eadplay-text-muted: #cbd5e1;
    --eadplay-text-inverse: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #e2e8f0;

    /* Bordas - Dark */
    --eadplay-border-color: #374155;
    --eadplay-border-light: #1f2937;

    /* Sombras - Dark */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.7);
    --shadow-primary: 0 8px 25px rgba(102, 126, 234, 0.4);
    --shadow-success: 0 8px 25px rgba(16, 185, 129, 0.4);

    /* Progress Bar - Dark */
    --eadplay-progress-bg: #374155;

    /* Sidebar - Dark */
    --eadplay-sidebar-bg: linear-gradient(180deg, #0f0f1a 0%, #0a0a12 100%);
}

/* ========================================
   DARK MODE - ESTILOS ESPECÍFICOS
   ======================================== */

/* Cards no Dark Mode */
[data-bs-theme="dark"] .card {
    background-color: var(--eadplay-bg-card) !important;
    border: 1px solid var(--eadplay-border-color) !important;
}

[data-bs-theme="dark"] .card-body {
    color: var(--eadplay-text-primary) !important;
}

[data-bs-theme="dark"] .card.card-default .card-header {
    background: var(--eadplay-bg-tertiary) !important;
    color: var(--eadplay-text-primary) !important;
}

/* Alerts no Dark Mode */
[data-bs-theme="dark"] .alert-primary {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.25) 100%) !important;
    color: #93c5fd !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
}

[data-bs-theme="dark"] .alert-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.25) 100%) !important;
    color: #6ee7b7 !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

[data-bs-theme="dark"] .alert-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.25) 100%) !important;
    color: #fcd34d !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
}

[data-bs-theme="dark"] .alert-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.25) 100%) !important;
    color: #fca5a5 !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

[data-bs-theme="dark"] .alert-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.25) 100%) !important;
    color: #7dd3fc !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
}

/* Formulários no Dark Mode */
[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
    background-color: var(--eadplay-bg-input) !important;
    border-color: var(--eadplay-border-color) !important;
    color: var(--eadplay-text-primary) !important;
}

[data-bs-theme="dark"] .form-control::placeholder {
    color: var(--eadplay-text-muted) !important;
}

[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
    border-color: #667eea !important;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2) !important;
}

[data-bs-theme="dark"] .input-group .input-group-text {
    background: var(--eadplay-bg-tertiary) !important;
    border-color: var(--eadplay-border-color) !important;
    color: var(--eadplay-text-secondary) !important;
}

/* Tabelas no Dark Mode */
[data-bs-theme="dark"] .table {
    color: var(--eadplay-text-primary) !important;
}

[data-bs-theme="dark"] .table thead th {
    background: var(--eadplay-bg-tertiary) !important;
    color: var(--eadplay-text-secondary) !important;
    border-color: var(--eadplay-border-color) !important;
}

[data-bs-theme="dark"] .table tbody td {
    border-color: var(--eadplay-border-light) !important;
}

[data-bs-theme="dark"] .table tbody tr:hover {
    background: var(--eadplay-bg-hover) !important;
}

/* List Groups no Dark Mode */
[data-bs-theme="dark"] .list-group-item {
    background-color: var(--eadplay-bg-card) !important;
    border-color: var(--eadplay-border-light) !important;
    color: var(--eadplay-text-primary) !important;
}

[data-bs-theme="dark"] .list-group-item:hover {
    background-color: var(--eadplay-bg-hover) !important;
}

/* Progress Bars no Dark Mode */
[data-bs-theme="dark"] .progress {
    background-color: var(--eadplay-progress-bg) !important;
}

[data-bs-theme="dark"] .progress-modern {
    background: var(--eadplay-progress-bg) !important;
}

/* Breadcrumbs no Dark Mode */
[data-bs-theme="dark"] .breadcrumb-item a {
    color: var(--eadplay-text-secondary) !important;
}

[data-bs-theme="dark"] .breadcrumb-item.active {
    color: var(--eadplay-text-primary) !important;
}

[data-bs-theme="dark"] .breadcrumb-item+.breadcrumb-item::before {
    color: var(--eadplay-text-muted) !important;
}

/* Page Header no Dark Mode */
[data-bs-theme="dark"] .page-header-title h2 {
    color: var(--eadplay-text-primary) !important;
}

/* Modulo Card no Dark Mode */
[data-bs-theme="dark"] .modulo-card {
    background: var(--eadplay-bg-card) !important;
    border: 1px solid var(--eadplay-border-color) !important;
}

[data-bs-theme="dark"] .modulo-list-item {
    background: var(--eadplay-bg-tertiary) !important;
    border: 1px solid var(--eadplay-border-light) !important;
}

[data-bs-theme="dark"] .modulo-list-item:hover {
    background: var(--eadplay-bg-hover) !important;
}

[data-bs-theme="dark"] .modulo-title {
    color: var(--eadplay-text-primary) !important;
}

[data-bs-theme="dark"] .modulo-list-item:hover .modulo-title {
    color: #a5b4fc !important;
}

[data-bs-theme="dark"] .progress-text {
    color: var(--eadplay-text-secondary) !important;
}

[data-bs-theme="dark"] .progress-text.completed {
    color: #6ee7b7 !important;
}

/* Subsection Card já é escuro, ajuste para dark mode */
[data-bs-theme="dark"] .subsection-card {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%) !important;
    border: 1px solid var(--eadplay-border-color) !important;
}

/* Status Icons no Dark Mode */
[data-bs-theme="dark"] .status-icon.not-started {
    background: linear-gradient(135deg, #374151 0%, #4b5563 100%) !important;
    color: #9ca3af !important;
}

[data-bs-theme="dark"] .status-icon.locked {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%) !important;
}

/* Dropdown no Dark Mode */
[data-bs-theme="dark"] .dropdown-menu {
    background-color: var(--eadplay-bg-card) !important;
    border: 1px solid var(--eadplay-border-color) !important;
}

[data-bs-theme="dark"] .dropdown-item {
    color: var(--eadplay-text-primary) !important;
}

[data-bs-theme="dark"] .dropdown-item:hover {
    background: var(--eadplay-bg-hover) !important;
}

/* Modal no Dark Mode */
[data-bs-theme="dark"] .wc_ead_modal_box {
    background: var(--eadplay-bg-card) !important;
    border: 1px solid var(--eadplay-border-color) !important;
}

[data-bs-theme="dark"] .wc_ead_modal_title {
    background: var(--eadplay-bg-tertiary) !important;
    color: var(--eadplay-text-primary) !important;
}

[data-bs-theme="dark"] .wc_ead_modal_content p {
    color: var(--eadplay-text-secondary) !important;
}

[data-bs-theme="dark"] .wc_ead_modal_help {
    background: var(--eadplay-bg-secondary) !important;
    border-color: var(--eadplay-border-light) !important;
    color: var(--eadplay-text-muted) !important;
}

/* Buttons no Dark Mode - ajustes de contraste */
[data-bs-theme="dark"] .btn-outline-secondary {
    border-color: var(--eadplay-border-color) !important;
    color: var(--eadplay-text-secondary) !important;
}

[data-bs-theme="dark"] .btn-outline-secondary:hover {
    background: var(--eadplay-bg-hover) !important;
    border-color: #667eea !important;
    color: var(--eadplay-text-primary) !important;
}

[data-bs-theme="dark"] .btn-light-primary {
    background: rgba(102, 126, 234, 0.2) !important;
    border-color: rgba(102, 126, 234, 0.3) !important;
}

/* Select2 no Dark Mode */
[data-bs-theme="dark"] .select2-container--bootstrap-5 .select2-selection {
    background-color: var(--eadplay-bg-input) !important;
    border-color: var(--eadplay-border-color) !important;
    color: var(--eadplay-text-primary) !important;
}

[data-bs-theme="dark"] .select2-dropdown {
    background-color: var(--eadplay-bg-card) !important;
    border-color: var(--eadplay-border-color) !important;
}

[data-bs-theme="dark"] .select2-results__option {
    color: var(--eadplay-text-primary) !important;
}

[data-bs-theme="dark"] .select2-results__option--highlighted {
    background: var(--eadplay-bg-hover) !important;
}

/* Header no Dark Mode */
[data-bs-theme="dark"] .pc-header {
    background: rgba(26, 26, 46, 0.95) !important;
    border-bottom-color: var(--eadplay-border-color) !important;
}

[data-bs-theme="dark"] .pc-header .pc-head-link {
    color: var(--eadplay-text-secondary) !important;
}

[data-bs-theme="dark"] .pc-header .pc-head-link:hover {
    background: var(--eadplay-bg-hover) !important;
    color: var(--eadplay-text-primary) !important;
}

/* Textos gerais no Dark Mode */
[data-bs-theme="dark"] h1,
[data-bs-theme="dark"] h2,
[data-bs-theme="dark"] h3,
[data-bs-theme="dark"] h4,
[data-bs-theme="dark"] h5,
[data-bs-theme="dark"] h6 {
    color: var(--eadplay-text-primary) !important;
}

[data-bs-theme="dark"] p,
[data-bs-theme="dark"] span,
[data-bs-theme="dark"] label {
    color: var(--eadplay-text-secondary);
}

[data-bs-theme="dark"] .text-muted {
    color: var(--eadplay-text-muted) !important;
}

/* Links no Dark Mode */
[data-bs-theme="dark"] a:not(.btn):not(.nav-link):not(.pc-link):not(.dropdown-item) {
    color: #a5b4fc !important;
}

[data-bs-theme="dark"] a:not(.btn):not(.nav-link):not(.pc-link):not(.dropdown-item):hover {
    color: #c7d2fe !important;
}

/* ========================================
   SIDEBAR USER CARD - ESTILOS ESPECIAIS
   ======================================== */

/* Card de Usuário na Sidebar */
.pc-sidebar .pc-user-card {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    margin: 0 0.5rem 1.5rem 0.5rem;
}

.pc-sidebar .pc-user-card .card-body {
    padding: 1rem !important;
}

/* Texto do nome do usuário */
.pc-sidebar .pc-user-card h6 {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem !important;
}

/* Texto secundário (apelido/cargo) */
.pc-sidebar .pc-user-card small {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.8rem;
}

/* Botão de expandir */
.pc-sidebar .pc-user-card .btn-link-secondary {
    color: rgba(255, 255, 255, 0.6) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: var(--radius-md) !important;
    transition: all var(--transition-fast) !important;
}

.pc-sidebar .pc-user-card .btn-link-secondary:hover {
    color: #ffffff !important;
    background: rgba(102, 126, 234, 0.3) !important;
}

/* Links expandidos */
.pc-sidebar .pc-user-card .pc-user-links {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0.75rem;
    padding-top: 0.75rem !important;
}

.pc-sidebar .pc-user-card .pc-user-links a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    margin: 0.25rem 0;
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    transition: all var(--transition-fast) !important;
    font-size: 0.875rem;
}

.pc-sidebar .pc-user-card .pc-user-links a:hover {
    background: rgba(102, 126, 234, 0.25) !important;
    color: #ffffff !important;
    transform: translateX(4px);
}

.pc-sidebar .pc-user-card .pc-user-links a i {
    font-size: 1.1rem;
    opacity: 0.8;
}

.pc-sidebar .pc-user-card .pc-user-links a:hover i {
    opacity: 1;
}

/* Avatar do usuário */
.pc-sidebar .pc-user-card .user-avtar {
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Ícone SVG do botão de expandir - FORÇAR VISIBILIDADE */
.pc-sidebar .pc-user-card .btn-link-secondary.avtar {
    color: rgba(255, 255, 255, 0.8) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

.pc-sidebar .pc-user-card .btn-link-secondary.avtar:hover {
    color: #ffffff !important;
    background: rgba(102, 126, 234, 0.3) !important;
    border-color: rgba(102, 126, 234, 0.5) !important;
}

/* O SVG pc-icon deve herdar a cor */
.pc-sidebar .pc-user-card .btn-link-secondary .pc-icon {
    width: 18px !important;
    height: 18px !important;
    fill: currentColor !important;
    stroke: currentColor !important;
    color: inherit !important;
}

/* Força o SVG interno e o use a herdar a cor */
.pc-sidebar .pc-user-card .btn-link-secondary svg,
.pc-sidebar .pc-user-card .btn-link-secondary svg use {
    fill: currentColor !important;
    stroke: currentColor !important;
    color: inherit !important;
}

/* ========================================
   SIDEBAR HEADER - LOGO CENTRALIZADA
   ======================================== */

.pc-sidebar .m-header {
    text-align: center !important;
    padding: 1.5rem 1rem !important;
    display: flex !important;
    justify-content: center !important;
}

.pc-sidebar .m-header .b-brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem;
    text-decoration: none !important;
}

.pc-sidebar .m-header .logo-lg {
    max-width: 140px;
    height: auto;
    display: block;
}

.pc-sidebar .m-header .theme-version {
    margin-left: 0 !important;
    margin-top: 0 !important;
    display: inline-block;
}

/* ========================================
   ESTILOS GERAIS (AMBOS OS MODOS)
   ======================================== */

.card {
    border: none !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-md) !important;
    transition: all var(--transition-normal) !important;
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-lg) !important;
}

.card-header {
    background: var(--primary-gradient) !important;
    border: none !important;
    padding: 1.25rem 1.5rem !important;
    color: #fff !important;
}

.card-header h5,
.card-header h4,
.card-header h3 {
    color: #fff !important;
    margin: 0;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem !important;
}

/* Card com header padrão (sem gradiente) */
.card.card-default .card-header {
    background: #f8fafc !important;
    color: var(--text-primary) !important;
}

.card.card-default .card-header h5,
.card.card-default .card-header h4 {
    color: var(--text-primary) !important;
}

/* ========================================
   BOTÕES MODERNOS
   ======================================== */

.btn {
    border-radius: var(--radius-md) !important;
    font-weight: 600 !important;
    padding: 0.625rem 1.25rem !important;
    transition: all var(--transition-fast) !important;
    border: none !important;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-gradient) !important;
    box-shadow: var(--shadow-primary) !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.35) !important;
}

.btn-success {
    background: var(--success-gradient) !important;
    box-shadow: var(--shadow-success) !important;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.35) !important;
}

.btn-warning {
    background: var(--warning-gradient) !important;
    color: #fff !important;
}

.btn-danger {
    background: var(--danger-gradient) !important;
}

.btn-light-primary {
    background: rgba(102, 126, 234, 0.1) !important;
    color: #667eea !important;
    border: 1px solid rgba(102, 126, 234, 0.2) !important;
}

.btn-light-primary:hover {
    background: var(--primary-gradient) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

.btn-outline-secondary {
    border: 2px solid #e2e8f0 !important;
    color: var(--text-secondary) !important;
}

.btn-outline-secondary:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

/* ========================================
   ALERTS MODERNOS
   ======================================== */

.alert {
    border: none !important;
    border-radius: var(--radius-lg) !important;
    padding: 1.25rem 1.5rem !important;
    box-shadow: var(--shadow-sm) !important;
}

.alert-primary {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
    color: #1e40af !important;
}

.alert-success {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
    color: #065f46 !important;
}

.alert-warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
    color: #92400e !important;
}

.alert-danger {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%) !important;
    color: #991b1b !important;
}

.alert-info {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important;
    color: #075985 !important;
}

.alert i,
.alert svg {
    font-size: 1.5rem;
}

/* ========================================
   BADGES MODERNOS
   ======================================== */

.badge {
    border-radius: var(--radius-full) !important;
    padding: 0.4rem 0.9rem !important;
    font-weight: 600 !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.02em;
}

.badge.bg-primary,
.bg-primary {
    background: var(--primary-gradient) !important;
}

.badge.bg-success,
.bg-success {
    background: var(--success-gradient) !important;
}

.badge.bg-warning,
.bg-warning {
    background: var(--warning-gradient) !important;
    color: #fff !important;
}

.badge.bg-danger,
.bg-danger {
    background: var(--danger-gradient) !important;
}

.badge.bg-light-primary,
.bg-light-primary {
    background: rgba(102, 126, 234, 0.12) !important;
    color: #667eea !important;
}

.badge.bg-light-success,
.bg-light-success {
    background: rgba(16, 185, 129, 0.12) !important;
    color: #059669 !important;
}

.badge.bg-light-warning,
.bg-light-warning {
    background: rgba(245, 158, 11, 0.12) !important;
    color: #d97706 !important;
}

.badge.bg-light-danger,
.bg-light-danger {
    background: rgba(239, 68, 68, 0.12) !important;
    color: #dc2626 !important;
}

/* ========================================
   FORMULÁRIOS MODERNOS
   ======================================== */

.form-control,
.form-select {
    border-radius: var(--radius-md) !important;
    border: 2px solid #e2e8f0 !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem !important;
    transition: all var(--transition-fast) !important;
    background-color: #fff !important;
}

.form-control:focus,
.form-select:focus {
    border-color: #667eea !important;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1) !important;
    outline: none !important;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.input-group {
    border-radius: var(--radius-md) !important;
    overflow: hidden;
}

.input-group .input-group-text {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border: 2px solid #e2e8f0 !important;
    border-right: none !important;
    color: var(--text-secondary);
}

.input-group .form-control {
    border-left: none !important;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Select2 Modern */
.select2-container--bootstrap-5 .select2-selection {
    border-radius: var(--radius-md) !important;
    border: 2px solid #e2e8f0 !important;
    min-height: 48px !important;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    padding: 0.5rem 1rem !important;
}

/* ========================================
   SIDEBAR MODERNA
   ======================================== */

.pc-sidebar {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
    box-shadow: var(--shadow-lg) !important;
}

.pc-sidebar .navbar-content {
    padding: 1rem !important;
}

.pc-sidebar .pc-user-card {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: var(--radius-lg) !important;
    margin-bottom: 1.5rem;
}

.pc-sidebar .pc-user-card .card-body {
    padding: 1rem !important;
}

.pc-sidebar .pc-navbar .pc-item {
    margin: 0.25rem 0;
}

.pc-sidebar .pc-navbar .pc-link {
    border-radius: var(--radius-md) !important;
    padding: 0.75rem 1rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    transition: all var(--transition-fast) !important;
}

.pc-sidebar .pc-navbar .pc-link:hover,
.pc-sidebar .pc-navbar .pc-item.active .pc-link {
    background: rgba(102, 126, 234, 0.2) !important;
    color: #fff !important;
}

.pc-sidebar .pc-navbar .pc-item.active .pc-link {
    background: var(--primary-gradient) !important;
    box-shadow: var(--shadow-primary) !important;
}

.pc-sidebar .pc-caption label {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    padding: 1rem 1rem 0.5rem !important;
}

/* ========================================
   HEADER MODERNO
   ======================================== */

.pc-header {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: var(--shadow-sm) !important;
}

.pc-header .pc-head-link {
    border-radius: var(--radius-md) !important;
    transition: all var(--transition-fast) !important;
}

.pc-header .pc-head-link:hover {
    background: rgba(102, 126, 234, 0.08) !important;
}

.pc-header .dropdown-menu {
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-xl) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 0.5rem !important;
}

.pc-header .dropdown-item {
    border-radius: var(--radius-sm) !important;
    padding: 0.625rem 1rem !important;
    transition: all var(--transition-fast) !important;
}

.pc-header .dropdown-item:hover {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%) !important;
}

/* ========================================
   BREADCRUMBS MODERNOS
   ======================================== */

.breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

.breadcrumb-item {
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    transition: color var(--transition-fast) !important;
}

.breadcrumb-item a:hover {
    color: #667eea !important;
}

.breadcrumb-item.active {
    color: var(--text-primary) !important;
    font-weight: 600;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '›' !important;
    color: var(--text-muted) !important;
    font-weight: bold;
}

/* ========================================
   PAGE HEADER MODERNO
   ======================================== */

.page-header-title h2 {
    font-weight: 700 !important;
    color: var(--text-primary);
    font-size: 1.75rem;
}

/* ========================================
   TABELAS MODERNAS
   ======================================== */

.table {
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
}

.table thead th {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border: none !important;
    padding: 1rem !important;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.table tbody td {
    padding: 1rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
    vertical-align: middle;
}

.table tbody tr {
    transition: background var(--transition-fast) !important;
}

.table tbody tr:hover {
    background: #f8fafc !important;
}

/* ========================================
   LIST GROUPS MODERNOS
   ======================================== */

.list-group {
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
}

.list-group-item {
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 1rem 1.25rem !important;
    transition: all var(--transition-fast) !important;
}

.list-group-item:last-child {
    border-bottom: none !important;
}

.list-group-item:hover {
    background: #f8fafc !important;
}

/* ========================================
   PROGRESS BARS GLOBAIS
   ======================================== */

.progress {
    height: 10px !important;
    border-radius: var(--radius-full) !important;
    background: #e2e8f0 !important;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    border-radius: var(--radius-full) !important;
    background: var(--primary-gradient) !important;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progress-shine 2s infinite;
}

.progress-bar.bg-success {
    background: var(--success-gradient) !important;
}

/* ========================================
   LOGIN PAGE MODERNA
   ======================================== */

.auth-main {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    min-height: 100vh;
}

.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.auth-form .card {
    border-radius: var(--radius-xl) !important;
    box-shadow: var(--shadow-xl) !important;
    backdrop-filter: blur(20px);
    max-width: 420px;
    width: 100%;
}

.auth-form .card-body {
    padding: 2.5rem !important;
}

.auth-form .saprator {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.auth-form h4 {
    font-weight: 700 !important;
    color: var(--text-primary);
}

/* ========================================
   ANIMAÇÕES GLOBAIS
   ======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

.slide-in {
    animation: slideIn 0.5s ease-out;
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */

@media (max-width: 768px) {
    .card-header {
        padding: 1rem 1.25rem !important;
    }

    .card-body {
        padding: 1.25rem !important;
    }

    .btn {
        padding: 0.5rem 1rem !important;
    }

    .page-header-title h2 {
        font-size: 1.5rem;
    }
}

/* ========================================
   ESTILOS ORIGINAIS (MANTIDOS)
   ======================================== */

.loadings {
    position: fixed;
    display: none;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
    color: #fff;
    z-index: 99999;
}

.loader_content {
    display: inline-block;
    margin: auto;
}

.loader_content_msg {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    text-shadow: 1px 1px #000;
    margin-top: 15px;
}

.wc_ead_modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.wc_ead_modal_box {
    display: block;
    /*width: 680px;*/
    min-width: 50%;
    max-width: 70%;
    margin: auto;
    background: #fff;
    position: relative;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    box-shadow: 0 0 5px 0 #000;
}

.wc_ead_modal_box b {
    font-weight: bold;
    color: #000;
}

.wc_ead_modal_content>a {
    text-decoration: none !important;
}

.wc_ead_modal_content>a:hover {
    text-decoration: underline;
}

.wc_ead_modal_close {
    position: absolute;
    right: 15px;
    top: 8px;
    color: #fff;
    padding: 7px 7px;
    font-weight: 500;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border: 2px solid #fff;
    text-shadow: 1px 1px 1px darkred;
    cursor: pointer;
}

.btn-close {
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3E%3C/svg%3E") center / 1em auto no-repeat !important;
}

.btn-close.btn-close-white {
    filter: none !important;
}

.wc_ead_modal_title {
    padding: 15px;
    background: #eee;
    color: #333;
    line-height: 1;
    border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
}

.wc_ead_modal_title.black {
    background: #132440;
    color: #FFFFFF;
}

.wc_ead_modal_content {
    padding: 20px;
}

.wc_ead_modal_content p {
    font-size: 1em;
    font-weight: 500;
    color: #333;
    margin-top: 10px;
    margin-bottom: 10px;
}

.wc_ead_modal_content p:first-child {
    margin-top: 0;
}

.wc_ead_modal_help {
    padding: 15px;
    background: #fbfbfb;
    border-top: 1px solid #f5f5f5;
    text-align: center;
    font-size: 0.75em;
    color: #ccc;
    border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
}

.wc_ead_alert {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 9999;
}

.wc_ead_alert_box {
    display: block;
    width: 600px;
    max-width: 90%;
    margin: auto;
    background: #555;
    color: #fff;
    padding: 20px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    box-shadow: 0 0 4px 0 #000;
}

.wc_ead_alert_box.green {
    background: #008068;
}

.wc_ead_alert_box.red {
    background: #C54550;
}

.wc_ead_alert_close,
.wc_ead_alert_text,
.wc_ead_alert_icon {
    display: inline-block;
    vertical-align: middle;
}

.wc_ead_alert_icon {
    width: 8%;
    font-size: 2em;
    line-height: 1;
    color: #000;
    opacity: 0.5;
    text-align: center;
}

.wc_ead_alert_text {
    width: 84%;
    padding: 0 20px;
}

.wc_ead_alert_title {
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 5px;
    line-height: 1;
}

.wc_ead_alert_content {
    font-size: 14px;
    font-weight: 300;
}

.wc_ead_alert_close {
    cursor: pointer;
}

.bg-flix-dark {
    position: relative;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.65) 20%, transparent 60%), var(--dynamic-bg-image);
    background-size: cover;
    /* Cobre toda a área do container */
    background-position: center;
    /* Centraliza os fundos */
    width: 100%;
    /* Ocupa toda a largura */
    height: auto;
    /* Ajusta a altura dinamicamente */
    z-index: 1;
    /* Define o nível de profundidade */
}

@media (max-width: 700px) {
    .bg-flix-dark {
        position: relative;
        background-image: linear-gradient(to right, rgba(0, 0, 0, 0.65) 20%, transparent 60%), var(--dynamic-bg-image);
        background-size: cover;
        /* Ajusta a imagem para cobrir o container */
        background-position: center;
        /* Centraliza a imagem */
        width: 100%;
        /* Cobre toda a largura da tela */
        height: auto;
        /* Altura automática baseada no conteúdo interno */
        z-index: 1;
    }
}

.bg-flix {
    position: relative;
    background-image: var(--dynamic-bg-image);
    background-size: cover;
    /* Ajusta a imagem para cobrir o container */
    background-position: center;
    /* Centraliza a imagem */
    width: 100%;
    /* Cobre toda a largura da tela */
    height: auto;
    /* Altura automática baseada no conteúdo interno */
    z-index: 1;
}

@media (max-width: 700px) {
    .bg-flix {
        position: relative;
        background-image: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(255, 255, 254, 0.5), rgba(255, 255, 255, 0.3)),
            var(--dynamic-bg-image);
        background-size: cover;
        /* Ajusta a imagem para cobrir o container */
        background-position: center;
        /* Centraliza a imagem */
        width: 100%;
        /* Cobre toda a largura da tela */
        height: auto;
        /* Altura automática baseada no conteúdo interno */
        z-index: 1;
    }
}

.item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
    /* Transição para o efeito de contraste */
    border-radius: 8px;
    filter: contrast(100%);
    /* Contraste normal */
}



/* Garante que o contêiner do carrossel e cada item não causem overflow */
.owl-carousel,
.owl-stage-outer,
.owl-item,
.img-container {
    overflow: hidden;
}

/* Estilo do contêiner da imagem */
.img-container {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    /* Arredondamento do contêiner da imagem */
}

/* Estilo da imagem */
.img-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efeito de elevação e contraste no hover */
.img-container:hover img {
    transform: translateY(-15px);
    /* Move a imagem levemente para cima */
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Adiciona uma sombra para destacar */
    filter: contrast(1.1) saturate(1.1) brightness(1.2);
}

@media (min-width: 1025px) {
    .owl-carousel {
        display: block !important;
        /* Garante que o carousel apareça */
        z-index: 1;
        -webkit-mask: linear-gradient(0deg, rgba(0, 0, 0, 0) 8%, rgba(0, 0, 0, 1) 89%);
        mask: linear-gradient(-90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 10%);
    }

    /* Garante que o owl-stage fique horizontal */
    .owl-carousel .owl-stage {
        display: flex !important;
        flex-direction: row !important;
    }

    .owl-carousel .owl-item {
        flex-shrink: 0;
    }
}

.owl-prev,
.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    padding: 10px;
    font-size: 18px;
    z-index: 1000;
    cursor: pointer;
    width: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

.owl-prev:hover,
.owl-next:hover {
    transform: translateY(-50%) scale(1.05);
    background: #739fff;
    color: black;
    box-shadow: 0 0 10px #739fff, 0 0 60px #739fff;
}

.owl-prev {
    left: -15px;
}

.owl-next {
    right: 0;
}

.owl-prev,
.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    padding: 10px;
    font-size: 18px;
    z-index: 1000;
    cursor: pointer;
    width: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
    user-select: none;
    backdrop-filter: blur(20px);
}

.capas {
    position: relative;
}

.logo-lg {
    max-width: 160px;
    /* Limita a largura máxima a 150 pixels */
    height: auto;
    /* Mantém a proporção da altura automaticamente */
}

.curso-desabilitado {
    filter: grayscale(100%) contrast(1.2) !important;
    /* Preto e branco com contraste */
    opacity: 0.8 !important;
    /* Um leve efeito desabilitado */
    transition: all 0.3s ease !important;
}

/* ========================================
   CURSO-MODULO - DESIGN MODERNO
   ======================================== */

/* Card Principal do Módulo */
.modulo-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modulo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.modulo-card .card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.modulo-card .card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(5deg);
    }
}

.modulo-card .card-header h4 {
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.modulo-card .card-header .subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
}

/* Lista de Submódulos */
.modulo-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.modulo-list-item {
    border: none !important;
    padding: 1rem 1.5rem !important;
    margin: 0.5rem 1rem;
    border-radius: 16px !important;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.modulo-list-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modulo-list-item:hover {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.modulo-list-item:hover::before {
    opacity: 1;
}

.modulo-list-item a {
    text-decoration: none !important;
    color: inherit;
}

/* Ícone de Status */
.status-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.status-icon.completed {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.status-icon.in-progress {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.status-icon.not-started {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    color: #6b7280;
}

.status-icon.locked {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    color: #fff;
}

/* Títulos dos Módulos */
.modulo-title {
    font-weight: 600;
    font-size: 1.05rem;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
    transition: color 0.3s ease;
}

.modulo-list-item:hover .modulo-title {
    color: #667eea;
}

/* Badges de Importância Modernos */
.importance-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.importance-badge.very-low {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    color: #4338ca;
}

.importance-badge.low {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1d4ed8;
}

.importance-badge.medium {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #b45309;
}

.importance-badge.high {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
}

.importance-badge.very-high {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(220, 38, 38, 0);
    }
}

/* Badge Liberação */
.release-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    color: #475569;
}

/* Barra de Progresso Moderna */
.progress-modern {
    height: 10px;
    background: #e2e8f0;
    border-radius: 50px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-modern .progress-bar-modern {
    height: 100%;
    border-radius: 50px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-modern .progress-bar-modern.completed {
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
}

.progress-modern .progress-bar-modern.in-progress {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.progress-modern .progress-bar-modern.not-started {
    background: linear-gradient(90deg, #94a3b8 0%, #64748b 100%);
}

.progress-modern .progress-bar-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progress-shine 2s infinite;
}

@keyframes progress-shine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Texto do Progresso */
.progress-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.progress-text.completed {
    color: #10b981;
}

.progress-text .percentage {
    font-size: 1.1rem;
    font-weight: 800;
}

/* Card de Subseção */
.subsection-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 16px;
    margin: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.subsection-card .card-header {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 1.5rem;
}

.subsection-card .card-header h5 {
    color: #fff;
    font-weight: 600;
    margin: 0;
    font-size: 1.1rem;
}

.subsection-card .card-body {
    padding: 0.5rem;
}

.subsection-card .modulo-list-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin: 0.5rem;
}

.subsection-card .modulo-list-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.subsection-card .modulo-title {
    color: #f1f5f9;
}

.subsection-card .modulo-list-item:hover .modulo-title {
    color: #a5b4fc;
}

.subsection-card .progress-modern {
    background: rgba(255, 255, 255, 0.1);
}

.subsection-card .progress-text {
    color: #94a3b8;
}

/* Contador de Itens */
.items-counter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.25rem 0.75rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50px;
    font-size: 0.75rem;
    color: #667eea;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Link Indicator */
.link-indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.modulo-list-item:hover .link-indicator {
    opacity: 1;
    transform: translateX(0);
}

/* Responsivo */
@media (max-width: 768px) {
    .modulo-card .card-header {
        padding: 1.25rem 1.5rem;
    }

    .modulo-card .card-header h4 {
        font-size: 1.25rem;
    }

    .modulo-list-item {
        padding: 1rem !important;
        margin: 0.5rem 0.75rem;
    }

    .status-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .modulo-title {
        font-size: 0.95rem;
    }

    .progress-modern {
        height: 8px;
    }
}