/**
 * Tema Oscuro Profesional - Monza Motors
 * Sistema de Gestión de Clientes y Cuentas Corrientes
 * Compatible con Bootstrap 5.3
 */

/* ============================================
   VARIABLES CSS
   ============================================ */
:root {
    --color-fondo: #012A55;
    --color-header: #0A1E38;
    --color-sidebar: #0A1E38;
    --color-card: #0D2137;
    --color-card-hover: #11355A;
    --color-boton: #E0B21A;
    --color-boton-hover: #B89317;
    --color-texto: #F5F7FA;
    --color-texto-sec: #9FB3C8;
    --color-link: #005DAA;
    --color-border: rgba(255,255,255,0.1);
    --color-success: #28a745;
    --color-danger: #dc3545;
    --color-warning: #ffc107;
    --color-info: #17a2b8;
    --shadow-card: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.4);
    --gradient-primary: linear-gradient(135deg, #E0B21A 0%, #B89317 100%);
    --gradient-header: linear-gradient(180deg, #0A1E38 0%, #0d2440 100%);
}

/* ============================================
   RESET Y BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--color-fondo);
    color: var(--color-texto);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   SCROLLBAR PERSONALIZADA
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-header);
}

::-webkit-scrollbar-thumb {
    background: var(--color-boton);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-boton-hover);
}

/* ============================================
   TIPOGRAFÍA
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-texto);
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    color: var(--color-texto-sec);
    margin-bottom: 1rem;
}

a {
    color: var(--color-link);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-boton);
}

.text-primary { color: var(--color-boton) !important; }
.text-secondary { color: var(--color-texto-sec) !important; }
.text-success { color: var(--color-success) !important; }
.text-danger { color: var(--color-danger) !important; }
.text-warning { color: var(--color-warning) !important; }
.text-info { color: var(--color-info) !important; }
.text-light { color: var(--color-texto) !important; }

/* ============================================
   NAVBAR / HEADER
   ============================================ */
.navbar {
    background: var(--gradient-header) !important;
    border-bottom: 2px solid var(--color-boton);
    box-shadow: 0 2px 15px rgba(0,0,0,0.3);
    padding: 0.75rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-brand {
    color: var(--color-boton) !important;
    font-weight: 700;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--color-texto-sec) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--color-boton) !important;
    background: rgba(224, 178, 26, 0.1);
}

.navbar-toggler {
    border-color: var(--color-boton);
    color: var(--color-boton);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28224, 178, 26, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
    background: var(--color-sidebar);
    height: calc(100vh - 70px);
    max-height: calc(100vh - 70px);
    border-right: 1px solid var(--color-border);
    padding: 1.5rem 0;
    position: fixed;
    top: 70px;
    left: 0;
    width: 260px;
    z-index: 1020;
    overflow-y: auto;
    overflow-x: hidden;
    transition: transform 0.3s ease;
}

/* Scrollbar estilizada del sidebar */
.sidebar::-webkit-scrollbar {
    width: 6px;
}
.sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}
.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.sidebar .nav-item {
    margin: 0.25rem 1rem;
}

.sidebar .nav-link {
    color: var(--color-texto-sec);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.sidebar .nav-link i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: rgba(224, 178, 26, 0.15);
    color: var(--color-boton);
}

.sidebar .nav-link.active {
    border-left: 3px solid var(--color-boton);
}

.sidebar-section-title {
    color: var(--color-texto-sec);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 1.5rem 0.5rem;
    opacity: 0.7;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    margin-left: 260px;
    padding: 2rem;
    min-height: calc(100vh - 70px);
    background: var(--color-fondo);
}

.main-content-full {
    margin-left: 0;
    padding: 2rem;
    min-height: calc(100vh - 70px);
    background: var(--color-fondo);
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.card-header {
    background: rgba(10, 30, 56, 0.8);
    border-bottom: 1px solid var(--color-border);
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--color-texto);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header h5,
.card-header h6 {
    margin: 0;
}

.card-body {
    padding: 1.5rem;
    color: var(--color-texto-sec);
}

.card-footer {
    background: rgba(10, 30, 56, 0.6);
    border-top: 1px solid var(--color-border);
    padding: 1rem 1.5rem;
}

/* Card de estadísticas */
.stat-card {
    background: var(--color-card);
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid var(--color-boton);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(224, 178, 26, 0.05));
    pointer-events: none;
}

.stat-card .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: rgba(224, 178, 26, 0.15);
    color: var(--color-boton);
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-texto);
    margin-bottom: 0.25rem;
}

.stat-card .stat-label {
    color: var(--color-texto-sec);
    font-size: 0.9rem;
}

.stat-card.success { border-left-color: var(--color-success); }
.stat-card.success .stat-icon { background: rgba(40, 167, 69, 0.15); color: var(--color-success); }

.stat-card.danger { border-left-color: var(--color-danger); }
.stat-card.danger .stat-icon { background: rgba(220, 53, 69, 0.15); color: var(--color-danger); }

.stat-card.warning { border-left-color: var(--color-warning); }
.stat-card.warning .stat-icon { background: rgba(255, 193, 7, 0.15); color: var(--color-warning); }

.stat-card.info { border-left-color: var(--color-info); }
.stat-card.info .stat-icon { background: rgba(23, 162, 184, 0.15); color: var(--color-info); }

/* ============================================
   BOTONES
   ============================================ */
.btn {
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-header);
    box-shadow: 0 4px 15px rgba(224, 178, 26, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #B89317 0%, #E0B21A 100%);
    color: var(--color-header);
    box-shadow: 0 6px 20px rgba(224, 178, 26, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--color-header);
    color: var(--color-texto);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-card-hover);
    color: var(--color-texto);
}

.btn-success {
    background: var(--color-success);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    background: #218838;
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--color-danger);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--color-boton);
    color: var(--color-boton);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--color-boton);
    color: var(--color-header);
}

.btn-outline-light {
    border: 2px solid var(--color-texto);
    color: var(--color-texto);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--color-texto);
    color: var(--color-header);
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1.1rem;
}

/* ============================================
   FORMULARIOS
   ============================================ */
.form-label {
    color: var(--color-texto-sec);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    background: var(--color-header);
    border: 1px solid var(--color-border);
    color: var(--color-texto);
    border-radius: 8px;
    padding: 0.625rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background: var(--color-header);
    border-color: var(--color-boton);
    color: var(--color-texto);
    box-shadow: 0 0 0 0.2rem rgba(224, 178, 26, 0.25);
}

.form-control::placeholder {
    color: rgba(159, 179, 200, 0.5);
}

.form-control:disabled,
.form-select:disabled {
    background: rgba(10, 30, 56, 0.5);
    opacity: 0.6;
}

.form-control-plaintext {
    color: var(--color-texto);
}

.input-group-text {
    background: var(--color-header);
    border: 1px solid var(--color-border);
    color: var(--color-boton);
}

/* ============================================
   TABLAS
   ============================================ */
.table {
    color: var(--color-texto-sec);
    margin-bottom: 0;
}

.table thead th {
    background: var(--color-header);
    color: var(--color-boton);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--color-boton);
    padding: 1rem;
    white-space: nowrap;
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--color-border);
}

.table tbody tr:hover {
    background: rgba(224, 178, 26, 0.05);
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background: rgba(10, 30, 56, 0.3);
}

.table-striped > tbody > tr:nth-of-type(odd):hover {
    background: rgba(224, 178, 26, 0.05);
}

/* ============================================
   BADGES Y ESTADOS
   ============================================ */
.badge {
    padding: 0.5em 0.75em;
    font-weight: 600;
    font-size: 0.75rem;
    border-radius: 6px;
}

.badge.bg-success { background: rgba(40, 167, 69, 0.2) !important; color: #28a745; }
.badge.bg-danger { background: rgba(220, 53, 69, 0.2) !important; color: #dc3545; }
.badge.bg-warning { background: rgba(255, 193, 7, 0.2) !important; color: #ffc107; }
.badge.bg-info { background: rgba(23, 162, 184, 0.2) !important; color: #17a2b8; }
.badge.bg-primary { background: rgba(224, 178, 26, 0.2) !important; color: #E0B21A; }
.badge.bg-secondary { background: rgba(159, 179, 200, 0.2) !important; color: #9FB3C8; }

/* ============================================
   ALERTAS
   ============================================ */
.alert {
    border: none;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    position: relative;
    overflow: hidden;
}

.alert::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.alert-success { background: rgba(40, 167, 69, 0.15); color: #28a745; }
.alert-success::before { background: var(--color-success); }

.alert-danger { background: rgba(220, 53, 69, 0.15); color: #dc3545; }
.alert-danger::before { background: var(--color-danger); }

.alert-warning { background: rgba(255, 193, 7, 0.15); color: #ffc107; }
.alert-warning::before { background: var(--color-warning); }

.alert-info { background: rgba(23, 162, 184, 0.15); color: #17a2b8; }
.alert-info::before { background: var(--color-info); }

.alert-primary { background: rgba(224, 178, 26, 0.15); color: #E0B21A; }
.alert-primary::before { background: var(--color-boton); }

/* ============================================
   MODALES
   ============================================ */
.modal-content {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
}

.modal-header {
    background: var(--color-header);
    border-bottom: 1px solid var(--color-border);
    border-radius: 12px 12px 0 0;
}

.modal-footer {
    background: var(--color-header);
    border-top: 1px solid var(--color-border);
    border-radius: 0 0 12px 12px;
}

.modal-title {
    color: var(--color-texto);
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.7;
}

.btn-close:hover {
    opacity: 1;
}

/* ============================================
   DROPDOWNS
   ============================================ */
.dropdown-menu {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
    padding: 0.5rem;
}

.dropdown-item {
    color: var(--color-texto-sec);
    border-radius: 6px;
    padding: 0.625rem 1rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(224, 178, 26, 0.1);
    color: var(--color-boton);
}

.dropdown-item.active {
    background: var(--color-boton);
    color: var(--color-header);
}

.dropdown-divider {
    border-color: var(--color-border);
    margin: 0.5rem;
}

/* ============================================
   PAGINACIÓN
   ============================================ */
.pagination .page-link {
    background: var(--color-header);
    border: 1px solid var(--color-border);
    color: var(--color-texto-sec);
    border-radius: 6px;
    margin: 0 0.15rem;
}

.pagination .page-link:hover {
    background: rgba(224, 178, 26, 0.15);
    border-color: var(--color-boton);
    color: var(--color-boton);
}

.pagination .page-item.active .page-link {
    background: var(--color-boton);
    border-color: var(--color-boton);
    color: var(--color-header);
}

.pagination .page-item.disabled .page-link {
    background: var(--color-header);
    opacity: 0.5;
}

/* ============================================
   LOGIN PAGE
   ============================================ */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-fondo);
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(224, 178, 26, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.login-page::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 93, 170, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.login-card {
    background: var(--color-card);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-hover);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
}

.login-card .logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.login-card .logo-container img {
    max-width: 180px;
    height: auto;
    margin-bottom: 1rem;
}

.login-card h3 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.login-card p.subtitle {
    text-align: center;
    color: var(--color-texto-sec);
    margin-bottom: 2rem;
}

.login-card .form-control {
    background: var(--color-header);
    border: 1px solid var(--color-border);
    padding: 0.875rem 1rem;
    font-size: 1rem;
}

.login-card .form-control:focus {
    border-color: var(--color-boton);
    box-shadow: 0 0 0 0.2rem rgba(224, 178, 26, 0.25);
}

.login-card .btn-primary {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
    margin-top: 1rem;
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.login-footer a {
    color: var(--color-texto-sec);
    font-size: 0.9rem;
}

.login-footer a:hover {
    color: var(--color-boton);
}

/* ============================================
   NOTIFICACIONES
   ============================================ */
.notification-item {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.notification-item:hover {
    border-color: var(--color-boton);
    transform: translateX(5px);
}

.notification-item.unread {
    border-left: 3px solid var(--color-boton);
    background: rgba(224, 178, 26, 0.05);
}

.notification-item .notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.notification-item .notification-content {
    flex: 1;
    min-width: 0;
}

.notification-item .notification-content h6 {
    margin: 0 0 0.25rem 0;
    font-size: 0.95rem;
}

.notification-item .notification-content p {
    margin: 0;
    font-size: 0.85rem;
}

.notification-item .notification-time {
    font-size: 0.75rem;
    color: var(--color-texto-sec);
    white-space: nowrap;
}

/* ============================================
   PROGRESS BARS
   ============================================ */
.progress {
    background: var(--color-header);
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
}

.progress-bar {
    background: var(--gradient-primary);
    border-radius: 10px;
}

/* ============================================
   LIST GROUP
   ============================================ */
.list-group-item {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    color: var(--color-texto-sec);
}

.list-group-item:hover {
    background: rgba(224, 178, 26, 0.05);
}

.list-group-item.active {
    background: var(--color-boton);
    border-color: var(--color-boton);
    color: var(--color-header);
}

/* ============================================
   TABS
   ============================================ */
.nav-tabs {
    border-bottom: 1px solid var(--color-border);
    gap: 0.25rem;
}

.nav-tabs .nav-link {
    color: var(--color-texto-sec);
    border: none;
    border-radius: 8px 8px 0 0;
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    background: transparent;
}

.nav-tabs .nav-link:hover {
    color: var(--color-boton);
    background: rgba(224, 178, 26, 0.05);
    border: none;
}

.nav-tabs .nav-link.active {
    color: var(--color-boton);
    background: var(--color-card);
    border: none;
    border-bottom: 2px solid var(--color-boton);
}

.tab-content {
    background: var(--color-card);
    border-radius: 0 0 12px 12px;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    border-top: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
        z-index: 1040;
        top: 0;
        height: 100vh;
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        padding: 1rem;
    }
    
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1035;
    }
    
    .sidebar-overlay.show {
        display: block;
    }
    
    .stat-card .stat-value {
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .login-card {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-brand img {
        height: 32px;
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.35rem; }
    h3 { font-size: 1.2rem; }
    
    .card-body {
        padding: 1rem;
    }
    
    .table-responsive {
        border-radius: 8px;
        border: 1px solid var(--color-border);
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .main-content {
        padding: 0.75rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .notification-item {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .notification-item .notification-time {
        align-self: flex-start;
    }
}

/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* ============================================
   UTILIDADES
   ============================================ */
.border-custom {
    border-color: var(--color-border) !important;
}

.bg-custom-header {
    background: var(--color-header) !important;
}

.bg-custom-card {
    background: var(--color-card) !important;
}

.text-gold {
    color: var(--color-boton) !important;
}

.shadow-custom {
    box-shadow: var(--shadow-card) !important;
}

.cursor-pointer {
    cursor: pointer;
}

/* Loading spinner */
.spinner-border-custom {
    color: var(--color-boton);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--color-texto-sec);
}

.empty-state i {
    font-size: 4rem;
    color: var(--color-texto-sec);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.empty-state h5 {
    color: var(--color-texto-sec);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-boton);
    border: 2px solid var(--color-fondo);
    transform: translateX(-5px);
}

.timeline-item.success::before { background: var(--color-success); }
.timeline-item.danger::before { background: var(--color-danger); }
.timeline-item.warning::before { background: var(--color-warning); }
.timeline-item.info::before { background: var(--color-info); }

/* File upload */
.file-upload-wrapper {
    border: 2px dashed var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-wrapper:hover {
    border-color: var(--color-boton);
    background: rgba(224, 178, 26, 0.05);
}

.file-upload-wrapper i {
    font-size: 2.5rem;
    color: var(--color-texto-sec);
    margin-bottom: 1rem;
}

/* Print styles */
@media print {
    .navbar, .sidebar, .btn, .no-print {
        display: none !important;
    }
    
    .main-content {
        margin-left: 0;
        padding: 0;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .card {
        border: 1px solid #ccc;
        box-shadow: none;
    }
}
