@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* Estilos generales */
html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    background-color: var(--azul_fondo);
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.content-wrap {
    flex: 1;
}

:root {
    --azul_oscuro: #050031;
    --amarillo: #F3D669;
    --azul: #5C8CBC;
    --gris: #A3A3A3;
    --azul_fondo: #051349;
}

/* Estilos para el header */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background-color: #051349;
}

.header_left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    margin-right: 40px;
}

.nav_menu {
    display: flex;
    align-items: center;
}

.nav_menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.nav_menu ul li a {
    text-decoration: none;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
}

.nav_menu ul li a:hover,
.nav_menu ul li a.active {
    background-color: #F3D669;
}

.nav_menu a.active {
    background-color: #F3D669;
}

.header_right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header_right img.logo_usuario {
    width: auto;
    height: 20px;
}

.header_right .nombre_usuario {
    color: white;
    margin-right: 10px;
}

.btn_cerrar_sesion {
    background: none;
    border: none;
}

.btn_cerrar_sesion img {
    width: 40px;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }

    .nav_menu ul {
        flex-direction: column;
    }
}

/* Estilos para el contenido */

.contenido {
    width: 100%;
    margin-top: 10px;
}

.titulo-seccion {
    color: var(--amarillo);
    font-size: 22px;
}

.subTitulo_seccion {
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    padding: 0 20px 0 20px;
}

.div_votacion {
    width: 100%;
    max-width: 600px;
    background: var(--azul_oscuro);
    margin: auto;
    padding: 10px 200px 50px 200px;
    color: white;
}

.div_votacion hr {
    margin-left: 0;
    margin-right: 0;
}

.etiquetas_seleccion {
    width: 142%;
    margin-left: -123px;
    margin-top: 45px;
    margin-bottom: 8px;
    display: flex;
    flex-direction: row;
    color: white;
}

.etiquetas_seleccion p {
    color: white;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.seleccion1 {
    width: 50%;
    color: white;
    display: flex;
    flex-direction: row;
    padding-right: 30px;
    margin-left: 10px;
}

.seleccion2 {
    width: 50%;
    color: white;
    display: flex;
    flex-direction: row;
}

.seleccion3 {
    width: 50%;
    color: white;
    display: flex;
    flex-direction: row;
    padding-left: 30px;
}

.div_dropdowns {
    width: 142%;
    margin-left: -123px;
    margin-top: 8px;
    margin-bottom: 35px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.dropdown_genero_categoria, .dropdown_categorias_especiales {
    flex: 1;
    padding-right: 10px;
}

.dropdown_categorias_especiales {
    border-left: 2px solid white;
    padding-left: 20px;
}

.select_formulario {
    width: 100%;
    height: 30px;
    border-radius: 10px;
    outline: 0;
    text-align: center;
    padding: 0 10px;
    box-sizing: border-box;
    cursor: pointer;
    background: white url(imagenes/flecha_selectores.svg) no-repeat 95% 50%;
    background-size: 12px 12px;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

.dropdown::-ms-expand {
    display: none;
}




.div_avance {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 15px;
}

.div_avance p {
    color: var(--amarillo);
}

.div_avance .avance_general {
    color: var(--amarillo);
    text-decoration: underline;
}

.avance_general:hover {
    cursor: pointer;
}

.div_separador {
    width: 142%;
    margin-left: -123px;
}

.div_separador hr {
    size: 0.3px;
    color: DodgerBlue;
    margin-top: 28px;
}


.boton_imagen {
    border: none;
    background-color: transparent;
    cursor: pointer;
    border-radius: 5px;
    overflow-clip-margin: content-box;
    overflow: clip;
}

.boton_imagen img {
    background-color: transparent;
    height: 25px;
    width: 100%;
    max-height: 30px;
    overflow-clip-margin: content-box;
    overflow: clip;
}


.table-container {
    width: 142%;
    margin-left: -128px;
    margin-top: 34px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

.table-cell {
    padding: 10px;
    color: white;
    text-align: center;
}

.table-row {
    padding-top: 20px;
    padding-button: 10px;
}

.table-row .table-cell {
    padding-top: 15px;
    padding-bottom: 15px;
}

.first-column {
    flex: 4;
}

.table-cell button {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px 10px;
}

.table-row:nth-child(odd) {
    background-color: var(--azul_oscuro);
}

.table-row:nth-child(even) {
    background-color: var(--azul_fondo);
}

.check-votado {
    display: flex;
    align-items: center;
    gap: 16px;
}

.check-votado img {
    height: 20px;
}

.nota-final {
    color: var(--amarillo);
    font-weight: bold;
}

.btn-custom {
    height: 20px;
    background-color: transparent;
    border: none;
    margin: 5px 20px;
    cursor: pointer;
}

.nombre-produccion {
    min-width: 440px;
    max-width: 500px;
}


.divBtnGuardar {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 20px 0 12px 0;
}

.boton_imagen {
    border: none;
    background-color: transparent;
    cursor: pointer;
    border-radius: 5px;
    overflow-clip-margin: content-box;
    overflow: clip;
}

.boton_imagen img {
    background-color: transparent;
    height: 25px;
    width: 100%;
    max-height: 30px;
    overflow-clip-margin: content-box;
    overflow: clip;
}

.nombre-produccion {
    curso: pointer;
}

/* Estilos para el popup Canciones */
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    z-index: 10;
}

#popupDetallesCanciones {
    background-color: #fff;
    width: 80%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#popupDetallesCanciones h2 {
    color: #45aaf2;
    text-align: center;
    margin-bottom: 20px;
}

#popupDetallesCanciones label {
    color: #ADD8E6;
    display: block;
}

#popupDetallesCanciones p {
    color: black;
}

#popupDetallesCanciones button {
    background-color: #45aaf2;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
}

#popupDetallesCanciones button {
    align-self: center;
    margin-top: auto;
}

.nombre-produccion:hover {
    cursor: pointer;
}

#popupDetallesCanciones {
    display: none;
}

#overlayCorreo {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    z-index: 10;
}

#popupCorreo {
    background-color: #fff;
    width: 80%;
    max-width: 460px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    display: none;
    flex-direction: column;
    align-items: center;
}

#popupCorreo h2 {
    color: #45aaf2;
    text-align: center;
    margin-bottom: 20px;
}

#popupCorreo p {
    color: black;
    text-align: center;
}

#popupCorreo button {
    background-color: #45aaf2;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 14px;
}

.input-correo-publico {
    margin-top: 8px;
    max-width: 360px;
}


/* Estilos para el footer */
footer {
    background-color: var(--gris);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    padding-bottom: 40px;
}

.footer_section.logo_section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo_footer {
    margin-right: 20px;
    width: 60px;
}

.logo_footer_social {
    margin-right: 10px;
    width: 40px;
}

.logo_footer_social:hover {
    transform: scale(1.1);
}

.footer_text {
    text-align: left;
    font-size: 10px;
}

.footer_horario {
    width: 70%;
    text-align: left;
    font-size: 10px;
    margin: auto auto 10px;
}

.texto_horario {
    margin: 3px 0;
}

.footer_section {
    width: 100%;
    flex: 1;
    text-align: center;
    margin: 0 70px;
}

.footer_section p {
    color: var(--gris_oscuro);
}

.footer_section.centro {
    border-right: 1px solid var(--gris_lineas);
    border-left: 1px solid var(--gris_lineas);
}

.div_calificacion {
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Media queries para responsividad */
@media (max-width: 768px) {
    .contenido {
        padding: 10px;
    }

    .titulo-seccion,
    .subtitulo-seccion {
        font-size: 1em;
    }

    .selector-categoria {
        flex-direction: column;
    }
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background: #000000;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    display: none;
    z-index: 100;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.loader_icono {
    position: absolute;
    border: 12px solid #F4F4F4;
    border-radius: 50%;
    border-top: 12px solid #155A9F;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100px;
    height: 100px;
    margin: auto;
    animation: spin 1s linear infinite;
}

