/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

:root {
    --bg-main: #0a0a0a;
    --bg-card: #141414;
    --text-main: #ffffff;
    --text-muted: #888888;
    --primary: #e60000;
    --primary-glow: rgba(230, 0, 0, 0.4);
    --border-color: #222222;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-main);
}

/* Efecto NeÃ³n Futurista para Botones */
.btn-xeclin {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--primary-glow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-xeclin:hover {
    background-color: #ff1a1a;
    box-shadow: 0 0 20px var(--primary);
    transform: translateY(-2px);
}

/* Tarjetas de login y dashboard */
.card-glass {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.input-xeclin {
    width: 100%;
    padding: 12px;
    margin: 10px 0 20px;
    background-color: #000;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-family: 'Roboto', sans-serif;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.input-xeclin:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 5px var(--primary-glow);
}
/* --- AGREGAR AL FINAL DE assets/css/style.css --- */

/* Estructura del Layout (Sidebar + Contenido) */
.app-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background-color: var(--bg-card);
    border-right: 1px solid var(--border-color);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

.sidebar-logo {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.sidebar-logo span { color: var(--text-main); }

.nav-link {
    display: block;
    padding: 15px 20px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-link:hover, .nav-link.active {
    background-color: rgba(230, 0, 0, 0.1);
    color: var(--text-main);
    border-left: 3px solid var(--primary);
}

.main-content {
    flex: 1;
    padding: 30px;
    background-color: var(--bg-main);
    overflow-y: auto;
}

/* Header Superior (Usuario y Fecha) */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

/* Tarjetas Estad¨ªsticas del Dashboard (Futuristas) */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(145deg, #141414, #0f0f0f);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s;
}

.stat-card:hover { transform: translateY(-5px); }

/* Brillo rojo en el borde superior de la tarjeta */
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.stat-title {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 10px;
}
/* --- AGREGAR AL FINAL DE assets/css/style.css --- */
.table-xeclin {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

.table-xeclin th, .table-xeclin td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table-xeclin th {
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.9rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

.table-xeclin tr:hover td {
    background-color: rgba(255, 255, 255, 0.05);
}