/* Estilos personalizados para IntraNET — Paleta Más Gestión */

:root {
    /* Misma pila tipográfica que la web pública (core/static/css/styles.css) */
    --font-intranet: Inter, system-ui, "Segoe UI", Arial, sans-serif;
    --font-body: var(--font-intranet);
    --font-heading: var(--font-intranet);

    /* Paleta Más Gestión (variables.css del proyecto principal) */
    --primary-color:   #8B1E2D;
    --primary-hover:   #711825;
    --primary-light:   #c97986;
    --primary-dark:    #5c131f;
    --secondary-color: #2c3e50;
    --accent-color:    #eeeeee;
    --success-color:   #198754;
    --info-color:      #0dcaf0;
    --warning-color:   #c97986;
    --danger-color:    #5c131f;
    --light-color:     #f8f9fa;
    --dark-color:      #2c3e50;
}

body {
    font-family: var(--font-intranet);
    background-color: #f8f9fa;
}

/* Margen superior del contenido debajo de la barra fija (sb-nav-fixed) */
.main-content-top {
    padding-top: 2rem;
}

/* Panel de administración integrado en el layout */
.admin-inner {
    padding-bottom: 2rem;
}
.admin-inner .breadcrumbs {
    margin-bottom: 1rem;
}

/* Navbar personalizada */
.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
}

.navbar-brand-logo {
    height: 34px;
    width: auto;
    max-width: 168px;
    object-fit: contain;
    display: block;
}

.navbar-brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 4px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.sb-topnav .navbar-brand:hover .navbar-brand-logo-wrap {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
}

.sb-topnav .navbar-brand-logo-wrap .navbar-brand-logo {
    height: 26px;
    width: auto;
    max-width: 120px;
}

.sb-topnav .navbar-brand-logo-wrap .admin-logo-img {
    height: 28px;
}

.navbar-brand-text {
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.2;
    white-space: nowrap;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Cards personalizadas */
.card {
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.card-header {
    border-radius: 0.5rem 0.5rem 0 0 !important;
    font-weight: 600;
}

/* Botones personalizados */
.btn {
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

/* Reporte cards — hereda estilos de .dc-card */
.reporte-card {
    transition: all 0.28s ease;
}

/* Dashboard específico */
.dashboard-header {
    background: linear-gradient(135deg, #8B1E2D 0%, #5c131f 100%);
    color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    border-bottom: 4px solid #c97986;
}

/* Áreas de trabajo */
.area-header {
    border-radius: 0.5rem 0.5rem 0 0;
    padding: 1.5rem;
    margin-bottom: 0;
}

.area-content {
    padding: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .dashboard-header {
        padding: 1.5rem;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Loading spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #8B1E2D;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #711825;
}

/* Embed iframe — pantalla completa */
.embed-fullscreen-host {
    position: relative;
}

.embed-fullscreen-viewport {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.embed-fullscreen-viewport--fill {
    min-height: 320px;
}

.embed-fullscreen-viewport #powerbi-container {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.embed-powerbi-loading {
    flex: 1;
    min-height: 100%;
    background: #242424;
    border-radius: 10px;
}

html[data-theme="light"] .embed-powerbi-loading {
    background: rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .embed-powerbi-loading p {
    color: #374151 !important;
}

html[data-theme="light"] .embed-powerbi-loading p.small {
    color: #6b7280 !important;
}

.embed-fullscreen-host:fullscreen,
.embed-fullscreen-host:-webkit-full-screen {
    width: 100%;
    height: 100%;
    background: #1e1e1e;
    display: flex;
    flex-direction: column;
    border-radius: 0;
}

.embed-fullscreen-host:fullscreen .embed-fullscreen-viewport,
.embed-fullscreen-host:-webkit-full-screen .embed-fullscreen-viewport {
    flex: 1;
    height: auto !important;
    min-height: 0;
    border-radius: 0;
    border: none;
}

.embed-fullscreen-viewport #powerbi-container,
.embed-fullscreen-viewport #powerbi-container iframe {
    width: 100%;
    height: 100%;
}

/* Power BI (token seguro): viewport 16:9 centrado en pantalla completa */
.embed-fullscreen-host--powerbi:fullscreen,
.embed-fullscreen-host--powerbi:-webkit-full-screen {
    align-items: center;
    justify-content: center;
}

.embed-fullscreen-host--powerbi:fullscreen .embed-fullscreen-viewport,
.embed-fullscreen-host--powerbi:-webkit-full-screen .embed-fullscreen-viewport {
    flex: 0 0 auto;
    width: min(100%, calc(100vh * 16 / 9));
    height: min(100vh, calc(100vw * 9 / 16));
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 16 / 9;
    margin: auto;
    overflow: hidden;
}

.embed-fullscreen-host--powerbi:fullscreen .embed-fullscreen-viewport #powerbi-container,
.embed-fullscreen-host--powerbi:-webkit-full-screen .embed-fullscreen-viewport #powerbi-container,
.embed-fullscreen-host--powerbi:fullscreen .embed-fullscreen-viewport #powerbi-container iframe,
.embed-fullscreen-host--powerbi:-webkit-full-screen .embed-fullscreen-viewport #powerbi-container iframe {
    width: 100%;
    height: 100%;
}

.embed-fullscreen-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(30, 30, 30, 0.88);
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.embed-fullscreen-btn:hover {
    background: rgba(139, 30, 45, 0.92);
    border-color: rgba(139, 30, 45, 0.6);
    color: #fff;
}

.embed-fullscreen-btn:focus-visible {
    outline: 2px solid #8b1e2d;
    outline-offset: 2px;
}

/* PowerBI iframe styling */
.embed-responsive-16by9 {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

/* Breadcrumb styling */
.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
}

/* Alert styling */
.alert {
    border-radius: 0.5rem;
    border: none;
}

/* Badge styling */
.badge {
    font-weight: 500;
    padding: 0.5em 0.75em;
}

/* Footer */
footer {
    margin-top: auto;
}

/* Login page specific */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #8B1E2D 0%, #5c131f 100%);
}

/* Profile page */
.profile-card {
    border-left: 4px solid var(--primary-color);
}

.info-card {
    border-left: 4px solid var(--info-color);
}

.success-card {
    border-left: 4px solid var(--success-color);
}

/* ========================================
   BOOTSTRAP 5 — OVERRIDES PALETA CLIENTE
   ======================================== */

/* Tokens de color primario — Más Gestión */
:root {
    --bs-primary:              #8B1E2D;
    --bs-primary-rgb:          139, 30, 45;
    --bs-link-color:           #8B1E2D;
    --bs-link-hover-color:     #711825;
    --bs-link-color-rgb:       139, 30, 45;
    --bs-link-hover-color-rgb: 90, 138, 111;
    --bs-warning:              #c97986;
    --bs-warning-rgb:          139, 184, 160;
}

/* btn-primary */
.btn-primary {
    --bs-btn-bg:                    #8B1E2D;
    --bs-btn-border-color:          #8B1E2D;
    --bs-btn-hover-bg:              #711825;
    --bs-btn-hover-border-color:    #711825;
    --bs-btn-active-bg:             #5c131f;
    --bs-btn-active-border-color:   #5c131f;
    --bs-btn-disabled-bg:           #8B1E2D;
    --bs-btn-disabled-border-color: #8B1E2D;
}

/* btn-outline-primary */
.btn-outline-primary {
    --bs-btn-color:              #8B1E2D;
    --bs-btn-border-color:       #8B1E2D;
    --bs-btn-hover-bg:           #8B1E2D;
    --bs-btn-hover-border-color: #8B1E2D;
    --bs-btn-active-bg:          #8B1E2D;
    --bs-btn-active-border-color:#8B1E2D;
}

/* Utilidades de color */
.bg-primary    { background-color: #8B1E2D !important; }
.text-primary  { color: #8B1E2D !important; }
.border-primary{ border-color: #8B1E2D !important; }
.link-primary  { color: #8B1E2D !important; }

/* Login portal — gradiente Más Gestión */
body.bg-primary {
    background: linear-gradient(135deg, #8B1E2D 0%, #5c131f 100%) !important;
}

/* ========================================
   HOME AUTH — Login /intranet/ (claro y oscuro)
   ======================================== */

body.home-auth {
    min-height: 100vh;
    font-family: var(--font-body);
}

body.home-auth h1,
body.home-auth h2,
body.home-auth h3,
body.home-auth h4,
body.home-auth h5,
body.home-auth h6 {
    font-family: var(--font-heading);
}

body.home-auth #layoutAuthentication {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.home-auth #layoutAuthentication_content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

body.home-auth #layoutAuthentication_content main {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

body.home-auth #layoutAuthentication_footer footer {
    background: transparent !important;
    border: none !important;
}

/* Modo oscuro */
html[data-theme="dark"] body.home-auth {
    background: #2c3e50 !important;
}

html[data-theme="dark"] body.home-auth #layoutAuthentication {
    background: #2c3e50;
}

html[data-theme="dark"] .home-tagline {
    color: rgba(255, 255, 255, 0.4);
}

html[data-theme="dark"] .home-login-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid rgba(201, 121, 134, 0.42);
}

html[data-theme="dark"] .home-login-title {
    color: #fff;
}

html[data-theme="dark"] .home-login-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .home-auth-input {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #fff !important;
}

html[data-theme="dark"] .home-auth-input:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: #c97986 !important;
    box-shadow: 0 0 0 3px rgba(139, 184, 160, 0.25) !important;
    color: #fff !important;
}

html[data-theme="dark"] body.home-auth .form-floating > label {
    color: rgba(255, 255, 255, 0.45);
}

html[data-theme="dark"] body.home-auth .form-floating > .form-control:focus ~ label,
html[data-theme="dark"] body.home-auth .form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: rgba(139, 184, 160, 0.9);
}

html[data-theme="dark"] .home-secure-text {
    color: rgba(255, 255, 255, 0.3);
}

html[data-theme="dark"] .home-footer-text {
    color: rgba(255, 255, 255, 0.2);
}

html[data-theme="dark"] .home-auth-footer {
    color: rgba(255, 255, 255, 0.25);
}

/* Modo claro (predeterminado) */
html[data-theme="light"] body.home-auth {
    background: #faf4f5 !important;
    background-image: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 248, 250, 0.88) 45%,
        rgba(248, 238, 241, 0.9) 100%
    ) !important;
}

html[data-theme="light"] body.home-auth #layoutAuthentication {
    background: transparent;
}

html[data-theme="light"] .home-tagline {
    color: #6b7280;
}

html[data-theme="light"] .home-login-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1.5px solid rgba(139, 30, 45, 0.32);
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .home-login-title {
    color: #111827;
}

html[data-theme="light"] .home-login-divider {
    border-color: rgba(139, 30, 45, 0.12);
}

html[data-theme="light"] .home-auth-input {
    background: #fff !important;
    border: 1px solid #d1d5db !important;
    color: #111827 !important;
}

html[data-theme="light"] .home-auth-input:focus {
    background: #fff !important;
    border-color: #8B1E2D !important;
    box-shadow: 0 0 0 3px rgba(139, 30, 45, 0.15) !important;
    color: #111827 !important;
}

html[data-theme="light"] body.home-auth .form-floating > label {
    color: #6b7280;
}

html[data-theme="light"] body.home-auth .form-floating > .form-control:focus ~ label,
html[data-theme="light"] body.home-auth .form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #8B1E2D;
}

html[data-theme="light"] .home-secure-text {
    color: #9ca3af;
}

html[data-theme="light"] .home-footer-text {
    color: #9ca3af;
}

html[data-theme="light"] .home-auth-footer {
    color: #9ca3af;
}

/* Contenedor centrado */
.home-auth-container,
.home-dark-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 1rem;
}

/* Logo */
.home-logo {
    max-width: 200px;
    max-height: 72px;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

.home-logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #c97986;
    margin-bottom: 0.75rem;
}

/* Línea decorativa */
.home-divider {
    border: none;
    border-top: 2px solid #c97986;
    width: 56px;
    margin: 0.5rem auto 0.75rem;
    opacity: 1;
}

/* Tagline */
.home-tagline {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0;
}

/* Card de login */
.home-login-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    width: 100%;
    margin-top: 2rem;
}

.home-login-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.home-login-accent {
    display: inline-block;
    width: 4px;
    height: 22px;
    background: #8B1E2D;
    border-radius: 2px;
    flex-shrink: 0;
}

.home-login-divider {
    margin: 0.75rem 0 1.5rem;
    opacity: 1;
}

/* Inputs del login */
.home-auth-input,
.home-dark-input {
    border-radius: 8px !important;
}

/* Botón de login */
.btn-login {
    background: #8B1E2D !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em;
    padding: 0.75rem 1rem !important;
    border-radius: 8px !important;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease !important;
}

.btn-login:hover {
    background: #711825 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 30, 45, 0.4) !important;
}

.btn-login:active {
    transform: translateY(0) !important;
}

/* Texto acceso seguro y footer del login */
.home-secure-text {
    font-size: 0.78rem;
}

.home-footer-text {
    font-size: 0.78rem;
}

.home-auth-footer {
    font-size: 0.78rem;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.55s ease forwards;
}

/* Animación escalonada para los form-floating dentro de la card */
.home-login-card .form-floating:nth-child(1) {
    opacity: 0;
    animation: fadeInUp 0.5s ease 0.3s forwards;
}

.home-login-card .form-floating:nth-child(2) {
    opacity: 0;
    animation: fadeInUp 0.5s ease 0.42s forwards;
}

/* Formularios — focus ring Más Gestión */
.form-control:focus,
.form-select:focus {
    border-color: #8B1E2D;
    box-shadow: 0 0 0 0.25rem rgba(139, 30, 45, 0.25);
}

/* Checkboxes / radio marcados */
.form-check-input:checked {
    background-color: #8B1E2D;
    border-color:     #8B1E2D;
}

/* Pagination activa */
.page-item.active .page-link {
    background-color: #8B1E2D;
    border-color:     #8B1E2D;
}
.page-link {
    color: #8B1E2D;
}
.page-link:hover {
    color: #711825;
}

/* Nav pills/tabs activos */
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: #8B1E2D;
}
.nav-tabs .nav-link.active {
    color: #8B1E2D;
    border-bottom-color: #8B1E2D;
}

/* ========================================
   TOPNAV — Paleta Más Gestión
   ======================================== */
.sb-topnav {
    background-color: #2c3e50 !important;
    border-bottom: 3px solid #c97986 !important;
}

/* Botón del sidebar: mismo tono que botones de perfil (dc-btn-back) */
.sb-topnav #sidebarToggle {
    color: rgba(255, 255, 255, 0.65) !important;
}

.sb-topnav #sidebarToggle:hover {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Dropdown del usuario en la navbar — tema oscuro corporativo */
.sb-topnav .dropdown-menu {
    background: #242424;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0.35rem 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.sb-topnav .dropdown-item {
    color: rgba(255, 255, 255, 0.85);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.sb-topnav .dropdown-item:hover,
.sb-topnav .dropdown-item:focus {
    background: rgba(139, 184, 160, 0.15);
    color: #c97986;
}

.sb-topnav .dropdown-item i {
    opacity: 0.8;
}

.sb-topnav .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 0.35rem 0;
}

.sb-topnav .dropdown-menu button.dropdown-item {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.sb-topnav .dropdown-menu form {
    margin: 0;
}

/* ========================================
   SIDEBAR — Overrides paleta corporativa
   ======================================== */

/* Fondo unificado con el contenido */
.sb-sidenav-dark {
    background-color: #2c3e50 !important;
    /* Misma talla que .sb-sidenav-menu-heading en sb-admin (0.75rem); Clientes/Reportes usan esta var */
    --sb-sidenav-heading-font-size: 0.75rem;
}

/* Separador sutil entre sidebar y contenido */
#layoutSidenav_nav {
    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

/* Headings del sidebar — misma especificidad que sb-admin para no quedar en 0.75rem solo “Principal” */
.sb-sidenav-dark.sb-sidenav .sb-sidenav-menu .nav .sb-sidenav-menu-heading {
    color: #c97986 !important;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--sb-sidenav-heading-font-size);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    line-height: 1.25;
}

/* Links del sidebar con fuente corporativa */
.sb-sidenav-dark .sb-sidenav-menu .nav-link {
    font-family: var(--font-body);
    font-size: 0.875rem;
}

/* Link hover */
.sb-sidenav-dark .nav-link:hover {
    background-color: rgba(139, 184, 160, 0.12) !important;
}
.sb-sidenav-dark .nav-link:hover .sb-nav-link-icon {
    color: #c97986 !important;
}

/* Link activo */
.sb-sidenav-dark .nav-link.active {
    background-color: rgba(139, 184, 160, 0.15) !important;
    border-left: 3px solid #c97986 !important;
    color: #fff !important;
}
.sb-sidenav-dark .nav-link.active .sb-nav-link-icon {
    color: #c97986 !important;
}

/* Sidebar footer */
.sb-sidenav-dark .sb-sidenav-footer {
    background-color: #1a252f !important;
    border-top: 1px solid rgba(139, 30, 45, 0.3) !important;
    font-family: var(--font-body);
    font-size: 0.8rem;
}

/* Clientes / Reportes: mismos estilos tipográficos que .sb-sidenav-menu-heading (Principal) */
.sb-sidenav-dark .sb-sidenav-menu .nav .nav-link.sidebar-menu-collapse-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--sb-sidenav-heading-font-size) !important;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    line-height: 1.25;
    color: #c97986 !important;
    padding: 1.75rem 1rem 0.75rem;
    border-radius: 0;
}
.sb-sidenav-dark .sb-sidenav-menu .nav .nav-link.sidebar-menu-collapse-toggle:hover {
    color: #e8b4bd !important;
    background-color: rgba(139, 184, 160, 0.06) !important;
}
.sb-sidenav-dark .nav-link.sidebar-menu-collapse-toggle .sidebar-collapse-heading-text {
    flex: 1;
    min-width: 0;
    font-family: inherit;
    font-weight: 700;
    font-size: var(--sb-sidenav-heading-font-size) !important;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    line-height: 1.25;
}
.sb-sidenav-dark .nav-link.sidebar-menu-collapse-toggle:not(.collapsed) .sb-sidenav-collapse-arrow {
    color: rgba(201, 121, 134, 0.8) !important;
}

/* Botones de cliente: filtran la lista en Reportes */
.sb-sidenav-dark button.sidebar-client-filter {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    padding: 0.5rem 1rem 0.5rem 1.25rem;
    cursor: pointer;
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    transition: color 0.15s ease, background-color 0.15s ease;
}
.sb-sidenav-dark button.sidebar-client-filter:hover {
    color: #fff;
    background-color: rgba(139, 184, 160, 0.12) !important;
}
.sb-sidenav-dark button.sidebar-client-filter.active {
    color: #fff !important;
    background-color: rgba(139, 184, 160, 0.15) !important;
    border-left: 3px solid #c97986 !important;
    padding-left: calc(1.25rem - 3px);
}

.sb-sidenav-dark .sb-sidenav-menu-nested .nav-link.sidebar-report-link {
    font-size: 0.82rem;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

/* ========================================
   FOOTER — Solo aplica al footer del login (no autenticado)
   ======================================== */
#layoutAuthentication_footer footer {
    background: transparent !important;
    border: none !important;
}

/* === BREADCRUMB — Paleta Más Gestión === */
.breadcrumb-item a {
    color: #8B1E2D;
    text-decoration: none;
    font-weight: 500;
}
.breadcrumb-item a:hover {
    color: #711825;
    text-decoration: underline;
}
.breadcrumb-item.active {
    color: #6c757d;
}


/* ========================================
   TIPOGRAFÍA — Inter (igual que la web pública en /)
   ======================================== */

/* Aplicar tipografía y fondo a toda la UI autenticada */
body.sb-nav-fixed,
body.home-auth {
    --bs-font-sans-serif: var(--font-intranet);
}

body.sb-nav-fixed {
    font-family: var(--font-body);
    background-color: #2c3e50;
}

/* Headings: misma familia que el cuerpo (solo cambia peso/tamaño en reglas existentes) */
body.sb-nav-fixed h1,
body.sb-nav-fixed h2,
body.sb-nav-fixed h3,
body.sb-nav-fixed h4,
body.sb-nav-fixed h5,
body.sb-nav-fixed h6,
body.sb-nav-fixed .h1,
body.sb-nav-fixed .h2,
body.sb-nav-fixed .h3,
body.sb-nav-fixed .h4,
body.sb-nav-fixed .h5,
body.sb-nav-fixed .h6 {
    font-family: var(--font-heading);
}

.navbar-brand {
    font-family: var(--font-heading);
}

/* ========================================
   DARK CONTENT AREA — Opción A (Unificado)
   ======================================== */

#layoutSidenav_content {
    background-color: #2c3e50;
}

#layoutSidenav_content > main {
    background-color: #2c3e50;
    color: rgba(255, 255, 255, 0.87);
}

/* ========================================
   DC-CARD — Dark card corporativa
   ======================================== */

.dc-card {
    background: #242424 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    color: rgba(255, 255, 255, 0.87) !important;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease !important;
}

.dc-card .card-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92) !important;
}

.dc-card .text-muted {
    color: rgba(255, 255, 255, 0.4) !important;
}

.dc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.5),
                0 0 0 1px color-mix(in srgb, var(--card-color, #c97986) 40%, transparent) !important;
    border-color: color-mix(in srgb, var(--card-color, #c97986) 30%, transparent) !important;
}

/* ========================================
   DC-ICON-CIRCLE — Icono con glow en hover
   ======================================== */

.dc-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: box-shadow 0.28s ease;
}

.dc-card:hover .dc-icon-circle {
    box-shadow: 0 0 18px color-mix(in srgb, var(--card-color, #c97986) 55%, transparent);
}

/* ========================================
   DC-PAGE-HEADER — Header del dashboard
   ======================================== */

.dc-page-header {
    background: rgba(139, 30, 45, 0.08);
    border: 1px solid rgba(139, 30, 45, 0.2);
    border-left: 4px solid #8B1E2D;
    border-radius: 10px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.dc-page-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 220px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 184, 160, 0.05));
    pointer-events: none;
}

.dc-page-header-greeting {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0.2rem;
}

.dc-page-header-sub {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.38);
    letter-spacing: 0.02em;
}

.dc-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.32rem 0.75rem;
    border-radius: 20px;
    background: rgba(139, 184, 160, 0.15);
    border: 1px solid rgba(139, 184, 160, 0.35);
    color: #c97986;
}

.dc-role-badge.admin {
    background: rgba(139, 30, 45, 0.2);
    border-color: rgba(139, 30, 45, 0.4);
    color: #c97986;
}

/* ========================================
   DC-SECTION-TITLE — Título de sección
   ======================================== */

.dc-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
    margin-bottom: 1.25rem;
}

.dc-section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: #8B1E2D;
    border-radius: 2px;
    flex-shrink: 0;
}

.dc-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
}

/* ========================================
   DC-AREA-HEADER — Header de área de trabajo
   ======================================== */

.dc-area-header {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--area-color, #8B1E2D);
    border-radius: 10px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 2rem;
}

.dc-area-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.45rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0.15rem;
}

.dc-area-desc {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.38);
}

/* Botón volver dark */
.dc-btn-back {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.65) !important;
    border-radius: 8px !important;
    font-size: 0.85rem !important;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease !important;
}

.dc-btn-back:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-1px);
}

/* Botón de reporte en cards (paleta Más Gestión) */
.dc-btn-report {
    background: #8B1E2D !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
}

.dc-btn-report:hover {
    background: #711825 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

/* ========================================
   DC-BREADCRUMB — Breadcrumb oscuro
   ======================================== */

.dc-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.25);
}

.dc-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.4);
}

.dc-breadcrumb .dc-link-accent {
    color: #8B1E2D !important;
    text-decoration: none;
}

.dc-breadcrumb .dc-link-accent:hover {
    color: #c97986 !important;
}

/* Iconos de acento (paleta Más Gestión) */
.dc-icon-accent,
.dc-page-header-sub .dc-icon-accent,
.dc-area-header .dc-icon-accent {
    color: #8B1E2D !important;
}

/* ========================================
   DC-EMPTY-STATE — Estado vacío (paleta Más Gestión)
   ======================================== */

.dc-empty-state {
    background: #242424 !important;
    border: 1px solid rgba(139, 30, 45, 0.2) !important;
    border-radius: 10px !important;
    color: rgba(255, 255, 255, 0.4) !important;
}

.dc-empty-state .dc-empty-state-icon {
    font-size: 3.5rem;
    color: rgba(139, 30, 45, 0.35);
}

.dc-empty-state .dc-empty-state-title {
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.6) !important;
}

.dc-empty-state .dc-empty-state-text {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* ========================================
   STAGGER ANIMATION — Entrada escalonada
   ======================================== */

@keyframes dcCardIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dc-card-animated {
    opacity: 0;
    animation: dcCardIn 0.4s ease forwards;
}

.dc-card-animated:nth-child(1)  { animation-delay: 0.05s; }
.dc-card-animated:nth-child(2)  { animation-delay: 0.10s; }
.dc-card-animated:nth-child(3)  { animation-delay: 0.15s; }
.dc-card-animated:nth-child(4)  { animation-delay: 0.20s; }
.dc-card-animated:nth-child(5)  { animation-delay: 0.25s; }
.dc-card-animated:nth-child(6)  { animation-delay: 0.30s; }
.dc-card-animated:nth-child(7)  { animation-delay: 0.35s; }
.dc-card-animated:nth-child(8)  { animation-delay: 0.40s; }
.dc-card-animated:nth-child(9)  { animation-delay: 0.45s; }
.dc-card-animated:nth-child(n+10) { animation-delay: 0.50s; }

/* Animación de entrada del header */
.dc-page-header,
.dc-area-header {
    opacity: 0;
    animation: dcCardIn 0.4s ease 0.02s forwards;
}

.dc-section-title {
    opacity: 0;
    animation: dcCardIn 0.35s ease 0.06s forwards;
}

/* ========================================
   DC-DETAIL — Panel de detalles del reporte
   ======================================== */

/* dc-card estática (sin hover) en el panel de detalles */
.dc-card[style*="pointer-events: none"] {
    transition: none !important;
}

.dc-card[style*="pointer-events: none"]:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.dc-detail-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.28);
}

.dc-detail-badge {
    font-size: 0.8rem;
    padding: 0.4em 0.75em;
}

.dc-detail-badge--client {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.dc-detail-badge--secure {
    background: rgba(139, 30, 45, 0.15);
    border: 1px solid rgba(139, 30, 45, 0.35);
    color: #c97986;
}

.dc-detail-badge--public,
.dc-detail-badge--date {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.55);
}

.dc-detail-hint {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.22);
}

/* ========================================
   DC-CARD-HEADER — Cabecera de card con acento
   ======================================== */

.dc-card-header {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border-left: 4px solid var(--dc-header-accent, #8B1E2D);
    border-radius: 10px 10px 0 0;
}

.dc-card-header .card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92) !important;
}

.dc-card-header--accent {
    --dc-header-accent: #c97986;
}

/* ========================================
   DC-CARD-STATIC — Card sin hover (perfil, etc.)
   ======================================== */

.dc-card-static {
    transition: none !important;
}

.dc-card-static:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* ========================================
   DC-CARD — Inputs y labels en contexto oscuro
   ======================================== */

.dc-card .form-label {
    color: rgba(255, 255, 255, 0.65);
}

.dc-card .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
}

.dc-card .form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: #8B1E2D;
    box-shadow: 0 0 0 0.25rem rgba(139, 30, 45, 0.25);
    color: #fff;
}

.dc-card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

/* ========================================
   DC-BADGE — Badges corporativos (perfil)
   ======================================== */

.dc-badge-active {
    background: rgba(139, 184, 160, 0.2);
    border: 1px solid rgba(139, 184, 160, 0.4);
    color: #c97986;
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
}

.dc-badge-inactive {
    background: rgba(74, 122, 95, 0.2);
    border: 1px solid rgba(74, 122, 95, 0.4);
    color: #c97986;
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
}

.dc-icon-accent {
    color: #c97986;
}

/* ========================================
   THEME SWITCH — Navbar
   ======================================== */

.intranet-theme-switch__label {
    display: inline-flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
}

.intranet-theme-switch__input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.intranet-theme-switch__track {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 3.25rem;
    height: 1.65rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.intranet-theme-switch__track::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(50% - 4px);
    height: calc(100% - 4px);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    transition: transform 0.22s ease;
}

.intranet-theme-switch__input:checked + .intranet-theme-switch__track::before {
    transform: translateX(calc(100% + 4px));
}

.intranet-theme-switch__icon {
    position: relative;
    z-index: 1;
    font-size: 0.72rem;
    line-height: 1;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.intranet-theme-switch__icon--dark {
    color: rgba(255, 255, 255, 0.95);
    opacity: 1;
}

.intranet-theme-switch__icon--light {
    color: rgba(255, 255, 255, 0.45);
    opacity: 0.65;
}

.intranet-theme-switch__input:checked + .intranet-theme-switch__track .intranet-theme-switch__icon--dark {
    color: rgba(255, 255, 255, 0.45);
    opacity: 0.65;
}

.intranet-theme-switch__input:checked + .intranet-theme-switch__track .intranet-theme-switch__icon--light {
    color: #711825;
    opacity: 1;
}

.intranet-theme-switch__label:hover .intranet-theme-switch__track {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
}

.intranet-theme-switch__input:focus-visible + .intranet-theme-switch__track {
    outline: 2px solid rgba(201, 121, 134, 0.85);
    outline-offset: 2px;
}

.intranet-theme-switch--auth {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1050;
}

html[data-theme="light"] .intranet-theme-switch--auth .intranet-theme-switch__track {
    background: rgba(255, 255, 255, 0.85);
    border: 1.5px solid rgba(139, 30, 45, 0.34);
}

html[data-theme="light"] .intranet-theme-switch--auth .intranet-theme-switch__label:hover .intranet-theme-switch__track {
    border-color: rgba(139, 30, 45, 0.48);
}

html[data-theme="dark"] .intranet-theme-switch--auth .intranet-theme-switch__track {
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

html[data-theme="dark"] .intranet-theme-switch--auth .intranet-theme-switch__label:hover .intranet-theme-switch__track {
    border-color: rgba(201, 121, 134, 0.55);
}

html[data-theme="light"] .intranet-theme-switch--auth .intranet-theme-switch__icon--dark {
    color: #6b7280;
}

html[data-theme="light"] .intranet-theme-switch--auth .intranet-theme-switch__icon--light {
    color: rgba(113, 24, 37, 0.45);
}

html[data-theme="light"] .intranet-theme-switch--auth .intranet-theme-switch__input:checked + .intranet-theme-switch__track .intranet-theme-switch__icon--light {
    color: #711825;
}

/* ========================================
   LIGHT THEME — Contenido claro + nav estilo footer
   ======================================== */

html[data-theme="light"] body.sb-nav-fixed {
    background-color: #faf4f5;
}

html[data-theme="light"] #layoutSidenav_content,
html[data-theme="light"] #layoutSidenav_content > main,
html[data-theme="light"] #layoutSidenav_content .main-content-top {
    background-color: #faf4f5;
    background-image: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 248, 250, 0.88) 45%,
        rgba(248, 238, 241, 0.9) 100%
    );
    color: #111827;
}

html[data-theme="light"] .sb-topnav {
    background: linear-gradient(135deg, #1f1418 0%, #2d1218 50%, #711825 100%) !important;
    border-bottom: 3px solid #c97986 !important;
}

html[data-theme="light"] .sb-sidenav-dark {
    background: linear-gradient(180deg, #1f1418 0%, #2d1218 42%, #711825 100%) !important;
}

html[data-theme="light"] #layoutSidenav_nav {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .sb-sidenav-dark .sb-sidenav-footer {
    background: rgba(15, 10, 12, 0.45) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #f9fafb;
}

html[data-theme="light"] .sb-sidenav-dark .sb-sidenav-menu .nav .sb-sidenav-menu-heading,
html[data-theme="light"] .sb-sidenav-dark .sb-sidenav-menu .nav .nav-link.sidebar-menu-collapse-toggle {
    color: rgba(249, 250, 251, 0.72) !important;
}

html[data-theme="light"] .sb-sidenav-dark .sb-sidenav-menu .nav .nav-link.sidebar-menu-collapse-toggle:hover {
    color: #fff !important;
}

html[data-theme="light"] .sb-sidenav-dark .sb-sidenav-menu .nav-link {
    color: rgba(249, 250, 251, 0.82);
}

html[data-theme="light"] .sb-sidenav-dark button.sidebar-client-filter {
    color: rgba(249, 250, 251, 0.62);
}

html[data-theme="light"] .dc-card {
    background: rgba(255, 255, 255, 0.72) !important;
    border: 1px solid rgba(139, 30, 45, 0.12) !important;
    color: #111827 !important;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .dc-card .card-title {
    color: #111827 !important;
}

html[data-theme="light"] .dc-card .text-muted {
    color: #6b7280 !important;
}

html[data-theme="light"] .dc-card:hover {
    box-shadow: 0 10px 36px rgba(139, 30, 45, 0.12),
                0 0 0 1px color-mix(in srgb, var(--card-color, #c97986) 25%, transparent) !important;
    border-color: color-mix(in srgb, var(--card-color, #c97986) 22%, transparent) !important;
}

html[data-theme="light"] .dc-page-header {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(139, 30, 45, 0.14);
    border-left: 4px solid #8B1E2D;
}

html[data-theme="light"] .dc-page-header-greeting {
    color: #111827;
}

html[data-theme="light"] .dc-page-header-sub {
    color: #6b7280;
}

html[data-theme="light"] .dc-section-title {
    color: #374151;
}

html[data-theme="light"] .dc-section-title::after {
    background: rgba(139, 30, 45, 0.12);
}

html[data-theme="light"] .dc-area-header {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(139, 30, 45, 0.12);
}

html[data-theme="light"] .dc-area-title {
    color: #111827;
}

html[data-theme="light"] .dc-area-desc {
    color: #6b7280;
}

html[data-theme="light"] .dc-btn-back {
    background: rgba(255, 255, 255, 0.75) !important;
    border: 1px solid rgba(139, 30, 45, 0.18) !important;
    color: #374151 !important;
}

html[data-theme="light"] .dc-btn-back:hover {
    background: #fff !important;
    color: #111827 !important;
}

html[data-theme="light"] .dc-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(17, 24, 39, 0.35);
}

html[data-theme="light"] .dc-breadcrumb .breadcrumb-item.active {
    color: #6b7280;
}

html[data-theme="light"] .dc-empty-state {
    background: rgba(255, 255, 255, 0.72) !important;
    border: 1px solid rgba(139, 30, 45, 0.14) !important;
    color: #6b7280 !important;
}

html[data-theme="light"] .dc-empty-state .dc-empty-state-title {
    color: #374151 !important;
}

html[data-theme="light"] .dc-empty-state .dc-empty-state-text {
    color: #6b7280 !important;
}

html[data-theme="light"] .dc-detail-label {
    color: #6b7280;
}

html[data-theme="light"] .dc-detail-badge--client {
    background-color: rgba(139, 30, 45, 0.08);
    border: 1px solid rgba(139, 30, 45, 0.18);
    color: #374151;
}

html[data-theme="light"] .dc-detail-badge--secure {
    background: rgba(139, 30, 45, 0.1);
    border-color: rgba(139, 30, 45, 0.28);
    color: #711825;
}

html[data-theme="light"] .dc-detail-badge--public,
html[data-theme="light"] .dc-detail-badge--date {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(139, 30, 45, 0.14);
    color: #374151;
}

html[data-theme="light"] .dc-detail-hint {
    color: #9ca3af;
}

html[data-theme="light"] .dc-card-header {
    background: rgba(255, 255, 255, 0.45);
}

html[data-theme="light"] .dc-card-header .card-title {
    color: #111827 !important;
}

html[data-theme="light"] .dc-card .form-label {
    color: #374151;
}

html[data-theme="light"] .dc-card .form-control {
    background: #fff;
    border: 1px solid #d1d5db;
    color: #111827;
}

html[data-theme="light"] .dc-card .form-control:focus {
    background: #fff;
    border-color: #8B1E2D;
    box-shadow: 0 0 0 0.25rem rgba(139, 30, 45, 0.15);
    color: #111827;
}

html[data-theme="light"] .dc-card .form-control::placeholder {
    color: #9ca3af;
}

html[data-theme="light"] .dc-card-static:hover,
html[data-theme="light"] .dc-card[style*="pointer-events: none"]:hover {
    border-color: rgba(139, 30, 45, 0.12) !important;
}

html[data-theme="light"] .breadcrumb-item a {
    color: #8B1E2D;
}

html[data-theme="light"] .breadcrumb-item.active {
    color: #6b7280;
}

html[data-theme="light"] #layoutSidenav_content h1,
html[data-theme="light"] #layoutSidenav_content h2,
html[data-theme="light"] #layoutSidenav_content h3,
html[data-theme="light"] #layoutSidenav_content h4,
html[data-theme="light"] #layoutSidenav_content h5,
html[data-theme="light"] #layoutSidenav_content h6 {
    color: #111827;
}

html[data-theme="light"] .dc-card .card-text,
html[data-theme="light"] .dc-card small {
    color: #6b7280 !important;
}

html[data-theme="light"] .main-content-top .border-bottom {
    border-color: rgba(139, 30, 45, 0.2) !important;
}

html[data-theme="light"] .main-content-top .mb-4[style*="border-left"] {
    background: rgba(255, 255, 255, 0.55) !important;
    border-color: rgba(139, 30, 45, 0.12) !important;
    color: #374151 !important;
}

html[data-theme="light"] .main-content-top .badge[style*="rgba(255,255,255,0.12)"] {
    background-color: rgba(139, 30, 45, 0.08) !important;
    color: #374151 !important;
}
