body {
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #FFF;
  background-color: #003366f9;
  min-height: 100vh;
  min-width: 100vw;
  margin: 0;
}

.columna {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  width: 100%;
}

.logo {
  width: 100%;
  max-width: 200px;
  height: auto;
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.2);
}

.survey-container {
  width: 100%;
  max-width: 90%;
  padding: 20px;
  margin: 1rem 0;
  text-align: center;
  background-color: #ffffff10;
  border-radius: 24px;
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.survey-container h2 {
  margin-bottom: 1rem !important;
}

.survey-container h2,
.survey-container .question p,
.survey-container .comment-section p {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  margin: 0;
}

.question,
.comment-section {
  margin-bottom: 1rem;
}

/* Estrellas sobre fondo glass */
.star {
  color: rgba(255, 255, 255, 0.5);
  font-size: 42px;
  transition: transform 0.1s ease;
}

.star.selected {
  color: #ffd966;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

.star:hover {
  transform: scale(1.05);
  color: #ffc107;
}

/* Áreas de texto y campos */
textarea {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  color: white;
  font-family: inherit;
  width: 90%;
  height: 80px;
  padding: 10px;
  resize: vertical;
}

textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.6);
}

button {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
  border-radius: 40px;
  margin-top: 15px;
  padding: 15px 95px;
  font-weight: bold;
  transition: 0.2s;
  cursor: pointer;
}

button:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.02);
}

.marg-t {
  margin-top: 15px;

}

.marg-b {
  margin-bottom: 15px;

}

.link_noline {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.button5 {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 0.3rem 0.4rem;
  background: #4290de !important;
  border-radius: 5px;
  border: none;
  color: #fff;
}

.button5 img {
  width: 50px;
  height: auto;
}

/* Personalización de SweetAlert con estilo glassmorphism */
.swal2-popup {
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(12px) !important;
  border-radius: 28px !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
  color: #ffffff !important;
}

.swal2-title {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.swal2-html-container {
  color: rgba(255, 255, 255, 0.9) !important;
}

.swal2-confirm {
  background: rgba(0, 51, 102, 0.85) !important;
  backdrop-filter: blur(4px) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 40px !important;
  color: white !important;
  font-weight: bold !important;
  padding: 10px 24px !important;
  transition: 0.2s !important;
}

.swal2-confirm:hover {
  background: rgba(0, 51, 102, 1) !important;
  transform: scale(1.02) !important;
}

.swal2-cancel {
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(4px) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 40px !important;
  color: white !important;
  font-weight: bold !important;
  padding: 10px 24px !important;
  transition: 0.2s !important;
}

.swal2-cancel:hover {
  background: rgba(255, 255, 255, 0.35) !important;
  transform: scale(1.02) !important;
}

.swal2-success-circular-line-left,
.swal2-success-circular-line-right,
.swal2-success-fix {
  display: none !important;
}

/* Estilos de datatables */
.dataTables_length,
.dataTables_filter,
.dataTables_scroll {
  margin-bottom: 1rem;
}

.bar {
  display: flex;
  padding: 20px 0px;
  flex-wrap: nowrap;
  justify-content: space-between;
  width: 100%;
}

.bar h1 {
  width: fit-content;
}

.barra-acciones {
  display: flex;
  align-items: center;
  vertical-align: middle;
  gap: 16px;
  max-width: fit-content;
}

@media (max-width: 670px) {
  body {
    min-height: 100dvh;
    min-width: 100dvw;
    font-size: 15px;
  }

  .survey-container h2 {
    font-size: 18px !important;
  }

  .mt-3 {
    margin-top: 0 !important;
  }
}

/* Estilos específicos para el panel de administración */
.admin-panel {
  padding: 2rem 1rem;
  width: 100%;
}

/* Tarjeta contenedora de la tabla */
.card-table {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  transition: all 0.2s;
}

/* Encabezado con gradiente sutil */
.bar h1 {
  font-size: 1.8rem;
  font-weight: 600;
  background: linear-gradient(135deg, #003366, #0056b3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

/* Botones de acción */
.barra-acciones .btn {
  border-radius: 40px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
}

.barra-acciones .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Personalización de DataTables */
.dataTables_wrapper .dataTables_filter input {
  border-radius: 40px;
  padding: 0.5rem 1rem;
  border: 1px solid #dee2e6;
  background-color: #fff;
}

.dataTables_wrapper .dataTables_filter input:focus {
  border-color: #003366;
  box-shadow: 0 0 0 0.2rem rgba(0, 51, 102, 0.25);
  outline: none;
}

.table {
  width: 100%;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.table thead th {
  background-color: #003366;
  color: white;
  padding: 0 0.8rem;
}

.table tbody tr:hover {
  background-color: rgba(0, 51, 102, 0.05);
  transition: background 0.2s;
}

/* Tarjetas de estadísticas */
.stats-cards .card {
  border-radius: 16px;
  transition: transform 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stats-cards .card:hover {
  transform: translateY(-5px);
}

.stats-cards .card h2 {
  font-weight: 700;
}

.stats-cards .card .opacity-50 {
  opacity: 0.5;
}

#desgloseClinica .card-header {
  font-weight: 600;
}

@media (max-width: 768px) {
  .bar h1 {
    font-size: 1.4rem;
  }

  .barra-acciones .btn {
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
  }

  .table {
    font-size: 0.75rem;
  }

  .dataTables_wrapper .dataTables_filter input {
    width: 180px;
  }
}