/* assets/css/style.css */

:root {
    --nc-black: #000000;
    --nc-orange: #ff4409;
    --nc-dark-blue: #00204A; /* Azul corporativo secundario */
    --nc-gray: #f4f6f9;
    --nc-text-muted: #6c757d;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--nc-gray);
    color: #333;
}

/* --- CLASES DE UTILIDAD --- */
.bg-nc-black { background-color: var(--nc-black) !important; }
.bg-nc-orange { background-color: var(--nc-orange) !important; }
.text-nc-orange { color: var(--nc-orange) !important; }

/* Botón Principal (Naranja) */
.btn-primary-nc {
    background-color: var(--nc-orange);
    border-color: var(--nc-orange);
    color: #fff;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.btn-primary-nc:hover {
    background-color: #e04b15; /* Un poco más oscuro */
    border-color: #e04b15;
    color: #fff;
    box-shadow: 0 4px 10px rgba(255, 92, 33, 0.3);
}

/* --- ESTILOS LOGIN (index.php) --- */
.login-page {
    background: var(--nc-text-muted); /* Fondo negro elegante */
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); /* Sombra fuerte */
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    border: none;
}

.login-header {
    background: var(--nc-black);
    padding: 30px 20px;
    text-align: center;
    border-bottom: 3px solid var(--nc-orange);
}

.login-header img {
    max-height: 60px; /* Ajuste para tu logo */
    width: auto;
}

.login-body {
    padding: 40px 30px;
}

.form-control-lg {
    font-size: 1rem;
    padding: 12px;
    background-color: #f8f9fa;
    border: 1px solid #e1e4e8;
}

.form-control-lg:focus {
    border-color: var(--nc-orange);
    box-shadow: 0 0 0 0.2rem rgba(255, 92, 33, 0.25);
}

.credits {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #666;
}
/* --- AGREGAR AL FINAL DE assets/css/style.css --- */

/* LAYOUT PRINCIPAL */
#wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* SIDEBAR (Menú Lateral) */
.sidebar {
    width: 260px;
    background-color: var(--nc-black); /* NEGRO PURO #000000 */
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.sidebar-brand {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-brand img {
    max-width: 160px; /* Ajuste para tu logo */
}

.sidebar-menu {
    padding: 20px 0;
    list-style: none;
    margin: 0;
}

.menu-header {
    color: #6c757d;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 25px;
    margin-top: 10px;
    font-weight: 700;
}

.nav-link {
    color: #fff; /* Texto blanco por defecto */
    padding: 12px 25px;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    border-left: 4px solid transparent;
}

.nav-link i {
    width: 25px;
    text-align: center;
    margin-right: 10px;
}

/* EFECTO HOVER Y ACTIVO (Naranja) */
.nav-link:hover, .nav-link.active {
    background-color: var(--nc-orange); /* #FF5C21 */
    color: #fff;
    border-left-color: #fff;
}

/* CONTENIDO CENTRAL */
.content-wrapper {
    width: 100%;
    margin-left: 260px; /* Mismo ancho que sidebar */
    background-color: var(--nc-gray);
    min-height: 100vh;
    padding-bottom: 40px;
}

.topbar {
    background-color: #fff;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

/* Tarjetas Dashboard */
.stat-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    display: flex;
    align-items: center;
    border: none;
    height: 100%;
    transition: transform 0.2s;
}
.stat-card:hover { transform: translateY(-3px); }

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 15px;
}
.bg-light-orange { background: rgba(255, 92, 33, 0.1); color: var(--nc-orange); }
.bg-light-blue { background: rgba(0, 32, 74, 0.1); color: var(--nc-dark-blue); }