/* ============================================================
   DISEÑO CORPORATIVO INAN NETWORKS - VERSION DIRECTA
   ============================================================ */

/* --- 1. HEADER Y TOP BAR --- */
.top-nav {
    background-color: #2c3e50 !important;
    padding: 8px 0 !important;
}
.top-nav ul li a { color: #dfe6e9 !important; }
.top-nav ul li a:hover { color: #ff6600 !important; }

/* Header Principal */
section#header {
    background-color: #fff !important;
    border-bottom: 1px solid #f0f0f0 !important;
    padding: 20px 0 !important;
    margin-bottom: 0 !important;
}

/* Buscador */
section#header .input-group .form-control {
    border-radius: 50px !important;
    border: 1px solid #e0e0e0 !important;
    background-color: #f9f9f9 !important;
    box-shadow: none !important;
}
section#header .input-group .form-control:focus {
    background-color: #fff !important;
    border-color: #ff6600 !important;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1) !important;
}

/* --- 2. MENÚ DE NAVEGACIÓN --- */
.navbar-main {
    background-color: #fff !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    border: none !important;
    margin-bottom: 0 !important;
}
.navbar-main .navbar-nav > li > a {
    color: #555 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.9rem !important;
    padding: 20px 15px !important;
    border-bottom: 3px solid transparent !important;
}
.navbar-main .navbar-nav > li > a:hover,
.navbar-main .navbar-nav > li.active > a,
.navbar-main .navbar-nav > li.open > a {
    color: #ff6600 !important;
    background-color: transparent !important;
    border-bottom-color: #ff6600 !important;
}

/* Dropdowns */
.navbar-main .dropdown-menu {
    border-top: 3px solid #ff6600 !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    margin-top: 0 !important;
}
.navbar-main .dropdown-menu > li > a:hover {
    background-color: #fff5ed !important;
    color: #ff6600 !important;
    padding-left: 25px !important;
}

/* --- 3. SIDEBAR (MENÚ IZQUIERDO) --- */
.sidebar .card, .sidebar .panel {
    border: none !important;
    background-color: #fff !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08) !important;
    border-radius: 10px !important;
    margin-bottom: 20px !important;
}
.sidebar .card-header, .sidebar .panel-heading {
    background-color: #fff !important;
    background-image: none !important;
    color: #2c3e50 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    font-weight: 700 !important;
}
.sidebar .card-header::after, .sidebar .panel-heading::after {
    content: ''; display: block; width: 35px; height: 4px;
    background-color: #ff6600 !important; margin-top: 8px;
    border-radius: 10px;
}
.sidebar .list-group-item {
    border: none !important;
    border-bottom: 1px solid #fcfcfc !important;
    color: #666 !important;
    background: transparent !important;
    transition: all 0.2s ease !important;
}
/* Activo */
.sidebar .list-group-item.active {
    background-color: #ff6600 !important;
    border-color: #ff6600 !important;
    color: #fff !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.25) !important;
    border-radius: 6px !important;
    margin: 0 10px !important;
    width: auto !important;
}
.sidebar .list-group-item.active .badge {
    background-color: #fff !important; color: #ff6600 !important;
}
/* Hover */
.sidebar .list-group-item:not(.active):hover {
    background-color: #fff5ed !important;
    color: #ff6600 !important;
    padding-left: 25px !important;
}
.sidebar .list-group-item i { color: #ccc !important; margin-right: 10px !important; }
.sidebar .list-group-item.active i { color: #fff !important; }
.sidebar .list-group-item:hover i { color: #ff6600 !important; }

/* --- 4. GENERALES --- */
.breadcrumb { background-color: transparent !important; padding: 15px 0 !important; }
.breadcrumb .active { color: #ff6600 !important; }

.btn-primary {
    background-color: #ff6600 !important;
    border-color: #ff6600 !important;
}
.btn-primary:hover, .btn-primary:focus {
    background-color: #e65c00 !important;
    border-color: #e65c00 !important;
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3) !important;
}
.badge { border-radius: 4px !important; }