/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(250, 93%, 56%);
  --title-color: hsl(230, 75%, 15%);
  --text-color: hsl(230, 12%, 40%);
  --body-color: hsl(0, 0%, 93%);
  --container-color: hsl(230, 100%, 97%);
  --border-color: hsl(230, 25%, 80%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Syne", sans-serif;
  --h2-font-size: 1.25rem;
  --normal-font-size: .938rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-fixed: 100;
  --z-modal: 1000;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1023px) {
  :root {
    --h2-font-size: 1.5rem;
    --normal-font-size: 1rem;
    overflow-y: hidden;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body,
input,
button {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
  width: calc(100% - 35px);
}

input,
button {
  border: none;
  outline: none;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

body.login-page {
    background-image: url('./background'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.main {
  display: flex;
  gap: 20px;
  position: relative;
  height: calc(100vh - 100px - 40px); /* Calcula la altura disponible restando header y anuncios */
  background-color: #fff;
  padding: 20px;
  overflow-y: auto;
}

.main__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}


.search-container {
  display: flex;
  align-items: center;
  position: relative;
  margin: 30px auto 20px auto;
  max-width: 1100px;
  width: 100%;
}
.search-input-container {
  flex: 1; /* El cuadro de entrada de búsqueda ocupará todo el espacio restante */
  margin-right: 10px; /* Ajusta el margen derecho según sea necesario */
}
.search-input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}



.table-container {
  overflow-x: auto;
}

.song-table {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  border-collapse: collapse;
  margin-bottom: 40px;
}

.song-table th, .song-table td {
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

.song-table th.right-aligned {
  text-align: left;
  background-color: #f2f2f2;
}
.song-table th.center-aligned{
  text-align: center;
  width: 120px;
  background-color: #f2f2f2;
}
.song-table td.right-aligned {
  text-align: left;
  width: 190px;
  background-color: #fff;
}
.song-table td.center-aligned {
  text-align: center;
  width: 120px;
  background-color: #fff;
}
.song-table tbody tr:hover td {
  background-color: #f5f5f5;
  cursor: pointer;
  color: var(--first-color);
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  font-size: 21px;
  margin: 8px;
}
.dropdown-toggle i:hover{
  color: var(--first-color);
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 120px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  padding-left: 30px; /* Ajustar el espacio para el ícono */
  background-repeat: no-repeat;
  background-position: 10px center; /* Alinear el ícono */
}

.dropdown-item i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.search,
.config,
.question,
.login,
.notification {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-modal);
  background-color: hsla(230, 75%, 15%, .1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px); /* For safari */
  padding: 8rem 1.5rem 3rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
  overflow-y: auto; /* Permitir desplazamiento vertical */
}

.search__close,
.config__close,
.question__close,
.login__close,
.notification__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
}

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--body-color);
  box-shadow: 0 2px 16px hsla(230, 75%, 32%, .15);
  z-index: var(--z-fixed);
  width: calc(100% - 37px);
}

.spacer {
  height: 100px; /* Espacio visual debajo del header */
  flex-shrink: 0; /* Evita que se reduzca en tamaño */
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  transition: color .4s;
}

.nav__actions {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

.nav__search, 
.nav__login, 
.nav__question, 
.nav__toggle, 
.nav__notification,
.nav__config,
.nav__close {
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
  transition: color .4s;
}

:is(.nav__logo, .nav__search, .nav__login, .nav__question, .nav__notification, .nav__config, .nav__toggle, .nav__link):hover {
  color: var(--first-color);
}

/* Navigation for mobile devices */
@media screen and (max-width: 1023px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    background-color: var(--body-color);
    box-shadow: 0 8px 16px hsla(230, 75%, 32%, .15);
    width: 100%;
    padding-block: 4.5rem 4rem;
    transition: top .4s;
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 2.5rem;
  text-align: center;
}

.nav__link {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  transition: color .4s;
}

.nav__link.active {
  text-decoration: underline;
}

.nav__close {
  position: absolute;
  top: 1.15rem;
  right: 1.5rem;
}

/* Show menu */
.show-menu {
  top: 0;
  height: 100vh;
}

/*=============== TABLE ===============*/
.fullTable {
  position: relative;
  height: calc(100vh - 100px - 40px); /* Calcula la altura disponible restando header y anuncios */
  background-color: #fff;
  padding: 20px;
  overflow-y: auto;
  display:grid;
}
/*=============== SEARCH ===============*/
.search__form {
  display: flex;
  align-items: center;
  column-gap: .5rem;
  background-color: var(--container-color);
  box-shadow: 0 8px 32px hsla(230, 75%, 15%, .2);
  padding-inline: 1rem;
  border-radius: .5rem;
  transform: translateY(-1rem);
  transition: transform .4s;
}

.search__icon {
  font-size: 1.25rem;
  color: var(--title-color);
}

.search__input {
  width: 100%;
  padding-block: 1rem;
  background-color: var(--container-color);
  color: var(--text-color);
}

.search__input::placeholder {
  color: var(--text-color);
}

/* Show search */
.show-search {
  opacity: 1;
  pointer-events: initial;
}

.show-search .search__form {
  transform: translateY(0);
}

/*=============== CONFIG ===============*/
.config__form, 
.config__group {
  display: grid;
}

.config__form {
  background-color: var(--container-color);
  padding: 2rem 1.5rem 2.5rem;
  box-shadow: 0 8px 32px hsla(230, 75%, 15%, .2);
  border-radius: 1rem;
  row-gap: 1.25rem;
  text-align: center;
  transform: translateY(-1rem);
  transition: transform .4s;
}

/* Show config */
.show-config {
  opacity: 1;
  pointer-events: initial;
}

.show-config .config__form {
  transform: translateY(0);
}
/* Contenedor para el formulario */
.settings-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px 0;
}

/* Estilos para los selectores */
.settings-container label {
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.settings-container select {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
  width: 100%;
  font-size: 1em;
  color: #333;
}
/* Custom Dropdown styles (apply to both selects) */
.custom-dropdown {
  position: relative;
  width: 100%;
  cursor: pointer;
}

.dropdown-selected {
  background-color: var(--container-color);
  border: 2px solid #ccc;
  border-radius: 8px;
  padding: 0.8rem;
  font-size: 1rem;
  color: #333;
  text-align: left;
}

.dropdown-options {
  display: none;
  position: absolute;
  background-color: var(--container-color);
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
  z-index: 10;
}

.dropdown-item {
  padding: 0.8rem;
  font-size: 1rem;
  color: #333;
  border-bottom: 1px solid #eee;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background-color: #007bff;
  color: white;
}

/*=============== QUESTION ===============*/
.question__form, 
.question__group {
  display: grid;
}

.question__title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
}

.question__form {
  background-color: #fff;
  padding: 2rem 1.5rem 2.5rem;
  box-shadow: 0 8px 32px hsla(230, 75%, 15%, .2);
  border-radius: 1rem;
  text-align: center;
  transform: translateY(-1rem);
  transition: transform .4s;
}

/* Show question */
.show-question {
  opacity: 1;
  pointer-events: initial;
}

.show-question .question__form {
  transform: translateY(0);
}

/*=============== LOGIN ===============*/
.login__form,
.reset__form, 
.login__group {
  display: grid;
}

.login__form,
.reset__form {
  max-width: 400px;
  margin-inline: auto;
  background-color: var(--container-color);
  padding: 2rem 1.5rem 2.5rem;
  box-shadow: 0 8px 32px hsla(230, 75%, 15%, .2);
  border-radius: 1rem;
  row-gap: 1.25rem;
  text-align: center;
  transform: translateY(-1rem);
  transition: transform .4s;
}

.login__title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
}

.login__group {
  row-gap: 1rem;
}

.login__label {
  display: block;
  text-align: initial;
  color: var(--title-color);
  font-weight: var(--font-medium);
  margin-bottom: .25rem;
}

.login__input {
  width: 100%;
  background-color: var(--container-color);
  border: 2px solid var(--border-color);
  padding: 1rem;
  border-radius: .5rem;
  color: var(--text-color);
}

.login__input::placeholder {
  color: var(--text-color);
}

.login__signup {
  margin-bottom: .5rem;
}

.login__signup a {
  color: var(--first-color);
}

.login__forgot {
  display: inline-block;
  color: var(--first-color);
  margin-bottom: 1.25rem;
}

.login__btn {
  display: inline-block;
  background-color: var(--first-color);
  width: 100%;
  color: #fff;
  font-weight: var(--font-semi-bold);
  padding: 1rem;
  border-radius: .5rem;
  cursor: pointer;
  transition: box-shadow .4s;
}

.login__btn:hover {
  box-shadow: 0 4px 24px hsla(230, 75%, 40%, .4);
}

.download_btn {
  position: relative;
  float: right;
  background-color: var(--first-color);
  width: 180px;
  color: #fff;
  font-weight: var(--font-semi-bold);
  margin: 20px 5px 0 20px;
  padding: 10px;
  border-radius: .5rem;
  cursor: pointer;
  transition: box-shadow .4s;
}

.download_btn:hover {
  background-color: hsl(250, 93%, 66%);
}

.btn_file {
  position: relative;
  float: right;
  background-color: var(--first-color);
  font-size: 15px;
  color: #fff;
  font-weight: var(--font-semi-bold);
  margin: 20px 5px 0 20px;
  padding: 10px;
  border-radius: .5rem;
  cursor: pointer;
  transition: box-shadow .4s;
}

.btn_file:hover {
  background-color: hsl(250, 93%, 66%);
}

/* Show login */
.show-login {
  opacity: 1;
  pointer-events: initial;
}

.show-login .login__form,
.show-login .reset__form {
  transform: translateY(0);
}

/*=============== BREAKPOINTS ===============*/
/* For medium devices */
@media screen and (min-width: 576px) {
  .search,
  .config,
  .question,
  .notification,
  .login {
    padding-top: 10rem;
  }

  .search__form {
    max-width: 550px;
    margin-inline: auto;
  }
  .config__form {
    max-width: 370px;
    margin-inline: auto;
  }
  .question__form {
    max-width: 370px;
    margin-inline: auto;
  }
  .options .option {
    max-width: 550px;
    margin-inline: auto;
  }

  .search__close,
  .question__close,
  .config__close,
  .notification__close,
  .login__close {
    width: max-content;
    top: 5rem;
    left: 0;
    right: 0;
    margin-inline: auto;
    font-size: 2rem;
  }

  .login__form,
  .reset__form {
    margin-inline: auto;
  }
}

/* For large devices */
@media screen and (min-width: 1023px) {
  .nav {
    height: calc(var(--header-height) + 2rem);
    column-gap: 3rem;
    max-width: 1500px;
  }
  
  .nav__close, 
  .nav__toggle {
    display: none;
  }
  .nav__menu {
    margin-left: auto;
  }
  .nav__list {
    flex-direction: row;
    column-gap: 3rem;
  }

  .login__form,
  .reset__form {
    padding: 3rem 2rem 3.5rem;
  }
}

@media screen and (min-width: 1150px) {
  .container {
    margin-inline: 1.5rem;
  }
}
/* CSS para el icono de flecha */
.arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}

.arrow.active::after {
  content: attr(data-order);
  display: inline-block;
  color: #000;
}

.arrow[data-order="asc"]::after {
  content: '↑';
  font-size: 15px;
}

.arrow[data-order="desc"]::after {
  content: '↓';
  font-size: 15px;
}
.add-song-container {
  display: flex;
  width: 100%;
  max-width: 1100px;
  justify-content: flex-end;
  margin-bottom: 10px;
  margin-inline: auto;
}

.add-song-button {
  background-color: var(--body-color);
  color: rgb(90, 94, 114);
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.add-song-button:hover {
  color: var(--first-color);
}

.filter-options {
  display: none;
  position: absolute;
  top: 100%; /* Posiciona el menú debajo del botón */
  left: 0;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 10px;
  border-radius: 5px;
  z-index: 1;
}

.filter-options.show {
  display: block;
}

.filter-options label {
  display: block;
  margin-bottom: 5px;
}

.filter-options input[type="checkbox"] {
  margin-right: 5px;
}
/* Estilos para el popup */
.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  max-height: 550px;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  z-index: 1000;
}

.close-popup-button{
  float: right;
  background-color: #fff;
  font-weight: bold;
  
}
.close-popup-button:hover{
  color: var(--first-color);
  cursor: pointer;
}
.popup-content {
  white-space: pre-wrap; /* Conserva los saltos de línea y los espacios */
  overflow-y: auto;
  max-height: 450px;
  width: 550px;
}
.popup-artist {
  font-style: italic;
}
#popup-content {
  width: 100%;
  height: 300px;
  padding: 10px;
  border: none;
  resize: none;
  overflow: auto;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
  white-space: pre-wrap; /* Conserva los saltos de línea y los espacios */
  overflow-y: auto;
  max-height: 450px;
  width: 550px;
  border: 0.1px solid #f0f0f0;
}
textarea:focus {
  border: none;
  outline: none;
}
.popup h2,
.popup h3,
.popup input[type="text"] {
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px; /* Adjust as needed */
  border: none;
  width: 380px;
  border: 0.1px solid #f0f0f0;
}
i:hover {
  color: var(--first-color);
  cursor: pointer;
  border-color: var(--first-color);
}
.options .option {
  display: flex;
  height: 55px;
  cursor: pointer;
  align-items: center;
  padding: 16px 16px;
  background: var(--container-color);
  position: relative;
  top: 20px;
}
.options .option:hover {
  /*background-color: var(--z-modal);*/
  color: var(--first-color);
}
.options .option li{
  display: flex;
  height: 55px;
  cursor: pointer;
  align-items: center;
  padding: 16px 16px;
  background: var(--container-color);
  position: relative;
  top: 20px;
}
/* Estilos para la paginación */
.pagination {
  margin-top: 20px;
  text-align: center;
}
#pagination{
  display: flex;
  width: 100%;
  max-width: 1100px;
  justify-content: flex-end;
  margin-inline: auto;
}
.pagination-button {
  margin: 0 5px;
  padding: 5px 15px;
  background-color: var(--first-color);
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.pagination-button:hover {
  background-color: hsl(250, 93%, 66%);
}
/*==================== NOTIFICATION ====================*/
.show-notification {
  opacity: 1;
  pointer-events: initial;
}

.notification__close {
  cursor: pointer; 
}

/* Estilo para cuando hay notificaciones */
.has-notification {
  border-radius: 50%;
  background-color: #4caf50; /* Verde */
  padding: 5px; /* Ajusta el tamaño del ícono con un poco de espacio alrededor */
  color: white; /* Cambia el color del ícono para mayor visibilidad */
}

.unread-notification {
  background-color: #f5f5f5; /* Color de fondo para notificaciones no leídas */
  border-left: 4px solid #4caf50; /* Borde para resaltar */
}

/* Un círculo para mostrar el número de notificaciones no leídas */
.nav__notification::after {
  content: ''; /* Si quieres un indicador, como un punto */
  position: absolute;
  top: -5px;
  right: -5px;
  width: 10px;
  height: 10px;
  background: red; /* Cambia el color si es necesario */
  border-radius: 50%; /* Círculo */
  display: none; /* Inicialmente oculto */
}

.notifications .items {
  display: flex;
  height: 90px;
  cursor: pointer;
  padding: 16px 16px;
  background: var(--container-color);
  position: relative;
  top: 20px;
  flex-direction: column;
}
.notifications .items {
  max-width: 550px;
  margin-inline: auto;
}

.notifications .items:hover {
  color: #333;
  background-color:#f2f2f2;
}
.notifications .items p {
  margin-top: 0.5rem; /* Espaciado entre título y texto */
  font-size: 0.9rem; /* Tamaño del texto */
  color: #666; /* Color del texto */
  text-align: left; /* Alineación a la izquierda */
  display: -webkit-box; /* Configuración para line-clamp */
  -webkit-box-orient: vertical; /* Orientación vertical */
  -webkit-line-clamp: 2; /* Limitar a dos líneas */
  overflow: hidden; /* Ocultar texto que se salga */
  text-overflow: ellipsis; /* Agregar puntos suspensivos cuando hay desbordamiento */
}

/* PERSONS */
.person-table {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  border-collapse: collapse;
  margin-bottom: 40px;
}

.person-table th, .person-table td {
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

.person-table th.right-aligned {
  text-align: left;
  background-color: #f2f2f2;
}
.person-table th.center-aligned{
  text-align: center;
  width: 120px;
  background-color: #f2f2f2;
}
.person-table td.right-aligned {
  text-align: left;
  width: 190px;
  background-color: #fff;
}
.person-table td.center-aligned {
  text-align: center;
  width: 120px;
  background-color: #fff;
}
.person-table tbody tr:hover td {
  background-color: #f5f5f5;
  cursor: pointer;
  color: var(--first-color);
}
.add-person-container {
  display: flex;
  width: 100%;
  max-width: 1100px;
  justify-content: flex-end;
  margin-bottom: 10px;
  margin-inline: auto;
}

.add-person-button {
  background-color: var(--body-color);
  color: rgb(90, 94, 114);
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.add-person-button:hover {
  color: var(--first-color);
}

.wrapper {
  display: inline-block;
  margin-top: 20px;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 15px;
  padding-top: 0px;
}

.expand {
  width: 100%;
}

.mt {
  margin-top: 10px;
}
.row {
  margin-right: -15px;
  margin-left: -15px;
  display: inline-flex;
  width: 100%;
}
/* aqui agregue */
.content-panel {
  background: #ffffff;
  box-shadow: 0px 3px 2px #aab2bd;
  padding-top: 15px;
  padding-bottom: 5px;
}
.panel-body {
  display: flex;
  align-items: initial;
  gap: 15px;
  margin: 10px;
  width: 100%;
  height: 100%;
  max-width: 500px;
  max-height: 400px;
  margin: 0 auto;
}
#doughnut,
#line,
#bar,
#stackedArea,
#polarArea,
#radar,
#areaChart,
#barChart,
#pie {
  width: 100%;
  height: 100%;
}
.chart-info {
  margin-top: 10px;
}

.list-unstyled {
  list-style-type: none;
  padding: 0;
  margin: 5px;
}

.list-unstyled li {
  margin-bottom: 10px;
  font-size: 11px;
}

.list-unstyled i {
  margin-right: 3px;
}

.text-primary {
  color: #007bff; /* Cambia el color según tu esquema de colores */
}

.col-lg-6 {
  margin-left: 25px;
}
@media (min-width: 1200px){
  .col-lg-6 {
    width: 50%;
    margin-left: 25px;
  }
}

.form-group input[type="text"] {
  width: 420px;
  margin-bottom: 10px;
}

.form-group-large input[type="text"] {
  width: 350px;
  margin-bottom: 10px;
}

.form-group-small input[type="text"] {
  width: 210px;
  margin-bottom: 10px;
  font-size: 14px;
}

.form-group-body {
  margin-top: 5px;
  margin-left: 10px;
}

.form-group-main {
  margin: 30px 0 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  /* Espacio entre tags */
}

.form-group label {
  display: block;
  font-weight: bold;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2196F3;
  /* Celeste */
  border: 1px solid #f0f0f0;
  transition: background-color 0.4s;
  /* Agrega transición para el color de fondo */
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  transition: background-color 0.4s;
  /* Agrega transición para el color de fondo */
}

input:checked+ .slider {
  background-color: #FF69B4;
  /* Rosado */
}

input:checked+ .slider:before {
  transform: translateX(26px);
}

.gender-label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 14px;
  padding: 0 5px;
  pointer-events: none;
  /* Evita que las etiquetas interfieran con el clic del switch */
}
/* Establece el color de fondo y posición de la etiqueta "H" */

input[type="checkbox"]#gender:not(:checked)+ .slider+ .gender-label {
  background-color: #2196F3;
  /* Color celeste */
  left: 5px;
}
/* Establece el color de fondo y posición de la etiqueta "M" */

input[type="checkbox"]#gender:checked+ .slider+ .gender-label {
  background-color: #FF69B4;
  /* Color rosado */
  right: 5px;
}

.file-upload-container {
  width: 140px;
  height: 140px;
  border-radius: 100%;
  background-color: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background-size: cover;
  /* Ajusta la imagen para cubrir completamente el contenedor */
  background-position: center;
  /* Centra la imagen en el contenedor */
  background-image: url('assets/placeholder.svg');
  /* Imagen de carga mientras se carga la imagen principal */
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 35px;
  height: 100%;
  background-color: #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 20px;
  border-left: 2px solid #ccc;
  box-shadow: hsl(0, 0%, 3%);
  /* Espacio superior */
}

.sidebar i {
  margin-bottom: 20px;
  /* Separación entre los iconos */
}

.separator {
  display: block;
  align-self: stretch;
  height: 2px;
  margin-bottom: 16px;
  background-color: #ccc;
  box-shadow: hsl(0, 0%, 93%);
}

.sidebar-button {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  background-color: #555;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s;
}

.sidebar-button:hover {
  background-color: #777;
}

.dropdown-campus {
  position: relative; /* Asegura que el dropdown sea relativo al contenedor */
  z-index: 1000;
  padding: 0.5rem;
  background-color: #fff;
  border: 1px solid #f0f0f0;
  cursor: pointer;
  float: right !important;
}

.dropdown-options {
  position: absolute; /* El dropdown se desplegará fuera del flujo normal */
  top: 100%; /* Para que se ubique justo debajo del botón */
  left: 0;
  right: 0;
  z-index: 2000; /* Para que aparezca por encima de otros elementos */
  background-color: #fff;
  border: 1px solid #f0f0f0;
  display: none; /* Por defecto oculto */
}

.dropdown-item-campus {
  padding: 0.5rem;
  cursor: pointer;
}

.dropdown-item-campus:hover {
  background-color: #f0f0f0;
}

.icon {
  margin-right: 0.5rem;
}

.chevron {
  margin-left: auto;
}


/* Estilos para el contenedor del calendario */

.calendar-container {
  position: relative;
  display: inline-block;
}
/* Estilos para el input de fecha */

.calendar-container input[type="text"] {
  padding: 8px;
  width: 236px;
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  margin: 0;
}
/* Estilos para el ícono del calendario */

#calendar-icon {
  position: absolute;
  top: 40%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 22px;
}
/* Estilos para el calendario */

.calendar {
  display: none;
  position: absolute;
  top: calc(100%+ 5px);
  left: 0;
  z-index: 999;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Mostrar el calendario cuando tiene la clase 'show' */

.calendar.show {
  display: block;
}
/* Estilos para el encabezado del calendario */

.calendar-header {
  text-align: center;
  font-weight: bold;
  padding: 8px;
}
/* Estilos para los meses anteriores y siguientes */

.prev-month,
.next-month {
  cursor: pointer;
  margin: 0 10px
}
/* Estilos para los nombres de los días de la semana */

.calendar-days-names {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  padding: 8px;
  font-size: 12px;
}
/* Estilos para los días del mes */

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  padding: 8px;
}
/* Estilos para cada día del mes */

.calendar-day {
  text-align: center;
  cursor: pointer;
}

.calendar-day:hover {
  background: #ccc;
}
/* Estilos para los días vacíos al inicio del mes */

.empty-day {
  visibility: hidden;
}

.info {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding: 10px;
  background-color: #333;
  color: #fff;
  border-radius: 4px;
  white-space: nowrap;
  z-index: 100;
}

#doughnut:hover .info {
  display: block; 
}

.content-panel h4{
  position: relative;
  left: 5px;
}

/* calendar */
.calendar__body {
display: flex;
margin-left: auto;
margin-right: auto;
align-items: center;
justify-content: center;
}

.calendar__body > div:first-child {
margin-right: auto;
}
@media (min-width: 1200px) {
h2, .heading-2 {
font-size: 45px;
}
}
.calendar__header {
display: grid;
width: 475px;
height: 55px;
grid-template-columns: repeat(3, 1fr);
gap: 5px;
margin-left: 50px;
margin-right: 50px;
margin-bottom: 10px;
}
#prevMonthBtn {
width: 56px;
border: none;
background-color: transparent;
text-align: center;
}
#monthYear {
float: none;
width: 340px;
text-align: center;
display: block;
font-size: 1.4em;
margin-block-start: 0.83em;
margin-block-end: 0.83em;
margin-inline-start: 0px;
margin-inline-end: 0px;
font-weight: bold;
}
#nextMonthBtn {
float: right;
width: 56px;
border: none;
background-color: transparent;
text-align: center;
}
#calendar__event {
display: grid;
width: auto;
grid-template-columns: repeat(7, 1fr);
gap: 5px;
margin-left: 50px;
margin-right: 50px;
}

.day {
width: auto;
color: #3f3f3f;
border: 1px solid hsla(0,0%,43%,.1);
padding: 10px;
text-align: center;
cursor: pointer;
}
.current-day {
color: #3f3f3f;
font-weight: bold;
text-decoration: underline;
}
.calendar__body > div:last-child {
margin-left: auto;
}
.popup-form {
position: absolute;
background-color: #ddd;
color: #3f3f3f;
border: 1px solid #ccc;
display: none;
}
.mark {
background-color: #ddd;
color: #3f3f3f;
}
#eventDetails ul {
list-style: none;
text-align: left;
margin: 5px;
padding-inline-start: 0;
}
#eventDetails li {
margin-bottom: 5px;
}

/*

.social-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #007bff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
  z-index: 10;
}

.social-button:hover {
  background-color: #0056b3;
}

.social-button i {
  font-size: 20px;
}

.social-icons {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #007bff;
  text-decoration: none;
  font-size: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transform: translateY(30px);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}

@keyframes showIcon {
  0% {
      opacity: 0;
      transform: translateY(30px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

.social-icons.show .social-icon {
  opacity: 1;
  animation: showIcon 0.3s ease-out;
  animation-delay: calc(var(--i) * 0.2s); 
}

@keyframes hideIcon {
  0% {
      opacity: 1;
      transform: translateY(0);
  }
  100% {
      opacity: 0;
      transform: translateY(30px);
  }
}

.social-icons.hide .social-icon {
  animation: hideIcon 0.3s ease-in;
  animation-delay: calc((5 - var(--i)) * 0.2s); 
}
*/

/* Contenedor del dropdown */
.dropdown-button {
  position: relative;
  display: inline-block; /* Asegura que el botón y el contenido se alineen horizontalmente */
}

/* Botón del dropdown */
.dropbtn {
  background-color: var(--first-color);
  color: white;
  padding: 10px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  min-width: 160px;
  width: 100%; /* Asegura que el botón tenga el mismo ancho que su contenedor */
  margin: 0px;
}
.dropbtn:hover {
  background-color: hsl(250, 93%, 66%);
  transform: scale(1.01);   /* Ligeramente más grande */
}
/* Contenido desplegable del dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 100%; /* Ajusta el ancho del contenido para que sea igual al del botón */
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 5px;
  top: 100%; /* Posiciona el contenido justo debajo del botón */
  left: 0; /* Alinea el contenido al borde izquierdo del botón */
}

/* Estilos para los enlaces dentro del contenido desplegable */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Estilo de hover para los enlaces del contenido desplegable */
.dropdown-content a:hover {
  background-color: #f1f1f1;
}

/* Mostrar el contenido desplegable al pasar el mouse sobre el botón */
.dropdown-button:hover .dropdown-content {
  display: block;
}

/* Anuncios */
.anuncios {
  width: calc(100% - 37px);
  height: 40px;
  background-color: transparent;
  color: #333;
  text-align: center;
  line-height: 40px;
  overflow: hidden;
  white-space: nowrap;
  position: fixed;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  z-index: 1000; /* Asegura que el contenedor esté sobre otros elementos */
}

.anuncios.active {
  opacity: 1;
  transform: translateY(0);
}

.anuncios.next {
  transform: translateY(-100%);
}

.anuncios.previous {
  transform: translateY(100%);
}

/* Contenedor de anuncios */
#ads-container {
  margin: 0 20px; /* Márgenes laterales */
  white-space: nowrap; /* Asegura que el texto no se ajuste a múltiples líneas */
  overflow: hidden; /* Oculta el texto que se desborda */
  text-overflow: ellipsis; /* Agrega puntos suspensivos al final del texto desbordado */
  display: inline-block; /* Permite aplicar el tamaño mínimo del contenido */
  height: 40px; /* Asegura que el contenedor tenga la altura correcta */
  line-height: 40px; /* Alinea verticalmente el texto dentro del contenedor */
}

.fc-daygrid-event a:hover {
  color: #0a58ca;
  background-color: #ddd;
}