body.dark-mode #header {
    background-color: #111;
}
/* ------------ */
/* -- HEADER -- */
/* ------------ */
/* Estilo del Header */
#header {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background-color: #333;
    box-shadow: 0px 0px 5px 1px #000000b6;
    color: #fff;
    font-family: Arial, sans-serif;
    position: fixed;
    top: 0;
}
/* Estilos del Título dentro del Header */
#header h1 {
    font-size: 1.5rem;
    color: #E9DEAF;
    margin: 0;
}
/* Contenedor del Conmutador de Tema */
.theme-toggle {
    display: flex;
    margin-right: 0;
    align-items: center;
}
/* Estilos del Conmutador de Tema */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
#themeSwitch {
    opacity: 0;
    width: 0;
    height: 0;
}
/* Estilos del Slider en Estado Normal y Activado */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(#5b5b5b, #555555);
    transition: 0.4s;
    border-radius: 34px;
}
#themeSwitch:checked + .slider {
    background-image: linear-gradient(#00000065, #8d8d8d);
}
#themeSwitch:focus + .slider {
    box-shadow: 0 0 1px #ffe600;
}
/* Control del Toggle (Círculo dentro del Slider) */
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: #D4D0BC;
    border-radius: 50%;
    transition: 0.4s;
    box-shadow: inset 8px -4px 1px 0 #FAF8ED;
}
#themeSwitch:checked + .slider:before {
    transform: translateX(26px);
    background-image: radial-gradient(#E9DEAF, #fff261);
    box-shadow: none;
}
