/* ========================================= */
/* ESTILO GENERAL XNENAS                     */
/* ========================================= */
:root {
    --bg-main: #0a0a0a;
    --bg-sidebar: #121212;
    --bg-card: #181818;
    --border-color: #222222;
    --primary: #ff007f; /* Fucsia / Magenta del logo */
    --primary-hover: #e60073;
    --text-main: #ffffff;
    --text-muted: #888888;
    --card-radius: 8px;
    --btn-radius: 6px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* ========================================= */
/* CABECERA SUPERIOR (HEADER)                */
/* ========================================= */
.header-top {
    background: var(--bg-sidebar);
    border-bottom: 1px solid var(--border-color);
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: fixed;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
}

/* ========================================= */
/* LOGOTIPO PROFESIONAL (XNENAS)             */
/* ========================================= */
.logo a {
    text-decoration: none;
    display: flex;
    align-items: baseline;
    line-height: 1;
}

.logo .logo-x {
    font-size: 32px;
    font-weight: 900;
    font-style: italic;
    color: var(--primary);
    margin-right: -2px; /* Junta la X un poco con la N */
    text-shadow: 0 0 10px rgba(255, 0, 127, 0.4); /* Resplandor fucsia */
}

.logo .logo-text {
    font-size: 22px;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-transform: uppercase;
}

/* ========================================= */
/* BARRA DE BÚSQUEDA CENTRAL                 */
/* ========================================= */
.search-form {
    background: #000000;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 450px;
    height: 40px;
    padding: 0 15px;
    box-sizing: border-box;
}

.search-input {
    background: transparent;
    border: none;
    color: var(--text-main);
    width: 100%;
    outline: none;
    font-size: 13px;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 16px;
    transition: color 0.2s ease;
}

.search-btn:hover {
    color: var(--primary);
}

/* ========================================= */
/* MENÚ LATERAL IZQUIERDO (SIDEBAR)          */
/* ========================================= */
.sidebar-left {
    width: 230px;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    position: fixed;
    top: 65px;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    padding: 15px;
    box-sizing: border-box;
}

/* Custom Scrollbar para el Sidebar */
.sidebar-left::-webkit-scrollbar {
    width: 5px;
}
.sidebar-left::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
.sidebar-left::-webkit-scrollbar-track {
    background: transparent;
}

/* ========================================= */
/* TÍTULOS DE SECCIONES                      */
/* ========================================= */
.titulo-seccion {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-main);
    border-left: 4px solid var(--primary);
    padding-left: 10px;
    margin: 25px 0 15px 0;
    letter-spacing: 0.5px;
}

/* ========================================= */
/* RESPONSIVE BÁSICO (Para móviles)          */
/* ========================================= */
@media (max-width: 768px) {
    .search-form {
        max-width: 100%;
    }
}