/* ==========================================================================
   SHE'S BY RUIDIAZ - ADMIN & INSTRUCTOR PANEL STYLES
   Panel Profesional para Andrés Ruidiaz y su Equipo
   Colores Corporativos: #4f6848 y #fbf6eb
   ========================================================================== */

.admin-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  background-color: #f7f4ec;
}

@media (min-width: 992px) {
  .admin-wrapper {
    flex-direction: row;
    align-items: stretch;
  }
}

/* Sidebar Admin Mobile Drawer & Desktop Sticky */
.admin-sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.admin-sidebar-overlay.active {
  display: block;
  opacity: 1;
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: -290px;
  width: 280px;
  height: 100vh;
  height: 100dvh;
  background: #232d20;
  color: #fbf6eb;
  padding: 1.5rem 1rem;
  z-index: 999;
  overflow-y: auto;
  transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.35);
}

.admin-sidebar.active {
  left: 0;
}

.admin-sidebar-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
}

.btn-admin-mobile-toggle {
  display: inline-flex !important;
}

@media (min-width: 992px) {
  .admin-sidebar-overlay {
    display: none !important;
  }

  .admin-sidebar-close-btn {
    display: none !important;
  }

  .btn-admin-mobile-toggle {
    display: none !important;
  }

  .admin-sidebar {
    position: sticky;
    top: 0;
    left: 0;
    width: 270px;
    min-width: 270px;
    max-width: 270px;
    height: 100vh;
    box-shadow: none;
    z-index: 90;
  }
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(251, 246, 235, 0.12);
}

.admin-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 1.25rem;
  flex: 1;
}

.admin-menu-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  color: #d2dcce;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.admin-menu-item a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.admin-menu-item.active a {
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 600;
}

.admin-menu-item a .menu-content {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* Contenido Principal Admin */
.admin-main {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 1.25rem 1rem 3rem 1rem;
}

@media (min-width: 992px) {
  .admin-main {
    padding: 2rem 2.5rem 4rem 2.5rem;
  }
}

/* Header Superior Admin */
.admin-top-header {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .admin-top-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.75rem;
  }
}

.admin-profile-pill {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.admin-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Widgets del Dashboard */
.admin-widgets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.admin-widget-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.admin-widget-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-primary-light);
}

.widget-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.widget-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.widget-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Tablas Profesionales */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 650px;
}

.admin-table th {
  background: var(--color-primary-ultra-soft);
  color: var(--color-primary-dark);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  padding: 0.85rem 1rem;
  border-bottom: 1.5px solid var(--color-border);
}

.admin-table td {
  padding: 1rem;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--color-border-light);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background-color: #faf7f0;
}

/* Indicador de Contacto Semanal */
.contact-alert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
}

.contact-alert-badge.urgent {
  background: var(--color-danger-bg);
  color: var(--color-danger);
  border: 1px solid rgba(179, 74, 66, 0.3);
}

.contact-alert-badge.ok {
  background: var(--color-success-bg);
  color: var(--color-success);
}

/* Layout de Chat en Admin */
.admin-chat-layout {
  display: grid;
  grid-template-columns: 1fr;
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  overflow: hidden;
  height: calc(100vh - 250px);
  max-height: calc(100vh - 250px);
  min-height: 480px;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 850px) {
  .admin-chat-layout {
    grid-template-columns: 320px 1fr;
  }
}

.admin-chat-sidebar {
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  height: 100%;
}

.admin-chat-main-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #faf8f5;
  position: relative;
}

/* Manejo Responsivo Móvil (< 850px): alterna entre lista y conversación activa */
@media (max-width: 849px) {
  .admin-chat-layout.no-active-chat .admin-chat-sidebar {
    display: flex !important;
    width: 100% !important;
  }
  .admin-chat-layout.no-active-chat .admin-chat-main-panel {
    display: none !important;
  }

  .admin-chat-layout.has-active-chat .admin-chat-sidebar {
    display: none !important;
  }
  .admin-chat-layout.has-active-chat .admin-chat-main-panel {
    display: flex !important;
    width: 100% !important;
  }
}

/* Botón Volver para móvil */
.admin-chat-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  min-height: 36px;
  touch-action: manipulation;
  flex-shrink: 0;
}
.admin-chat-back-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 850px) {
  .admin-chat-back-btn {
    display: none !important;
  }
}

/* Empty State / Placeholder de Chat inicial */
.admin-chat-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 360px;
  padding: 3rem 1.5rem;
  text-align: center;
  box-sizing: border-box;
  animation: fadeInAdminChat 0.25s ease-out;
}

.admin-chat-placeholder-icon-wrap {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(79, 104, 72, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-primary-dark);
  box-shadow: 0 4px 16px rgba(79, 104, 72, 0.08);
}

.admin-chat-placeholder-icon {
  width: 38px;
  height: 38px;
}

.admin-chat-placeholder-title {
  font-size: 1.15rem;
  color: var(--color-primary-dark);
  margin: 0 0 0.5rem 0;
  font-weight: 700;
  font-family: var(--font-sans);
}

.admin-chat-placeholder-subtitle {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  max-width: 420px;
  margin: 0;
  line-height: 1.55;
}

@keyframes fadeInAdminChat {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.admin-chat-student-item {
  padding: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--color-border-light);
  cursor: pointer;
  transition: var(--transition-fast);
}

.admin-chat-student-item:hover {
  background: var(--color-bg-warm);
}

.admin-chat-student-item.active {
  background: var(--color-primary-soft);
  border-left: 4px solid var(--color-primary);
}

.chat-messages-box {
  flex: 1 1 0;
  min-height: 0;
  background: #f8f5ee;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.admin-chat-layout .chat-bubble {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.92rem;
  line-height: 1.4;
  position: relative;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.admin-chat-layout .chat-bubble.instructor, 
.admin-chat-layout .chat-bubble.coach {
  align-self: flex-end !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  background: var(--color-primary) !important;
  color: #ffffff !important;
  border-bottom-right-radius: 4px !important;
}

.admin-chat-layout .chat-bubble.student {
  align-self: flex-start !important;
  margin-right: auto !important;
  margin-left: 0 !important;
  background: #ffffff !important;
  color: var(--color-text-main) !important;
  border-bottom-left-radius: 4px !important;
  border: 1px solid var(--color-border-light) !important;
}

.chat-meta-time {
  display: block;
  font-size: 0.65rem;
  opacity: 0.7;
  margin-top: 0.3rem;
  text-align: right;
}

.chat-input-bar {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
}


/* Modal Detallado de Perfil de Alumna (Layout Vertical de Pestañas) */
.student-profile-vertical-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.25rem;
  min-height: 500px;
}

@media (max-width: 850px) {
  .student-profile-vertical-layout {
    grid-template-columns: 1fr;
  }
}

.profile-sidebar-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-right: 1px solid var(--color-border);
  padding-right: 0.75rem;
}

.sp-vertical-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-md);
  border: none;
  background: transparent;
  font-weight: 500;
  font-size: 0.86rem;
  color: var(--color-text-main);
  cursor: pointer;
  transition: var(--transition-fast);
}

.sp-vertical-tab-btn:hover {
  background: var(--color-bg-warm);
}

.sp-vertical-tab-btn.active {
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-weight: 700;
  border-left: 3px solid var(--color-primary);
}

.profile-tab-content-panel {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  max-height: calc(85vh - 140px);
  padding-right: 0.5rem;
}

.student-profile-tabs {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  border-bottom: 2px solid var(--color-border-light);
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
  -webkit-overflow-scrolling: touch;
}

.student-tab-btn {
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.student-tab-btn.active {
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
}

.week-assigner-day-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  margin-bottom: 1rem;
  transition: var(--transition-fast);
}

.week-assigner-day-box.enabled {
  border-color: #bcd2b8;
  background: #fbfdfa;
  box-shadow: 0 2px 10px rgba(79, 104, 72, 0.05);
}

.routine-exercise-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.95rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  transition: var(--transition-fast);
}

.routine-exercise-card:hover {
  border-color: var(--color-primary-light);
}

.exercise-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--color-border-light);
}

.exercise-card-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.btn-remove-exercise {
  background: transparent;
  border: none;
  color: var(--color-danger);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.btn-remove-exercise:hover {
  background: var(--color-danger-bg);
}

.btn-add-exercise {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  border: 1.5px dashed var(--color-primary);
  background: rgba(79, 104, 72, 0.04);
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: 0.84rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
  margin-top: 0.5rem;
}

.btn-add-exercise:hover {
  background: var(--color-primary);
  color: #ffffff;
}

/* Layout Vertical para Modal de Perfil de Alumna */
.student-profile-vertical-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
  min-height: 480px;
}

@media (max-width: 768px) {
  .student-profile-vertical-layout {
    grid-template-columns: 1fr;
  }
}

.profile-sidebar-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border-right: 1px solid var(--color-border);
  padding-right: 1rem;
}

@media (max-width: 768px) {
  .profile-sidebar-tabs {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding-right: 0;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
  }
}

.sp-vertical-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.88rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.sp-vertical-tab-btn:hover {
  background: rgba(79, 104, 72, 0.06);
  color: var(--color-primary-dark);
}

.sp-vertical-tab-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 600;
}

.sp-vertical-tab-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.profile-tab-content-panel {
  flex: 1;
  overflow-y: auto;
  max-height: 68vh;
  padding-right: 0.5rem;
}

/* ==========================================================================
   MODAL LIGHTBOX PANTALLA COMPLETA & EFECTO LUPA EN FOTOS
   ========================================================================== */
.modal-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 10, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.22s ease-in-out;
}

.modal-lightbox-overlay.active {
  display: flex;
  opacity: 1;
}

.lightbox-container {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-close-btn {
  position: absolute;
  top: -44px;
  right: 0;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 100001;
}

.lightbox-close-btn:hover {
  background: rgba(220, 53, 69, 0.9);
  border-color: transparent;
  transform: scale(1.1);
}

.lightbox-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 82vh;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7);
  background: #000000;
}

.lightbox-image-wrap img {
  max-width: 90vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  user-select: none;
}

.lightbox-caption {
  margin-top: 0.8rem;
  color: #f0ece1;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  max-width: 85vw;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.02em;
}

/* Efecto Hover Lupa en Fotos */
.zoomable-photo-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zoomable-photo-wrap img {
  transition: transform 0.25s ease, filter 0.25s ease;
  width: 100%;
  height: 100%;
  display: block;
}

.zoomable-photo-wrap:hover img {
  transform: scale(1.035);
  filter: brightness(0.92);
}

.photo-lupa-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  background: rgba(18, 24, 16, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 0.85;
  transition: all 0.2s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.zoomable-photo-wrap:hover .photo-lupa-badge {
  opacity: 1;
  background: rgba(43, 64, 40, 0.95);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
}

/* ==========================================================================
   MEJORAS RESPONSIVE MÓVIL Y ADAPTACIÓN UI/UX
   ========================================================================== */
.table-responsive,
.table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}

@media (max-width: 991px) {
  .admin-main {
    padding: 1rem 0.85rem 3rem 0.85rem;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .admin-top-header {
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .admin-top-header h2 {
    font-size: 1.15rem !important;
  }

  .admin-profile-pill {
    padding: 0.25rem 0.6rem;
  }

  /* Modales en Móvil */
  .modal-card {
    width: 95% !important;
    max-width: 95vw !important;
    max-height: 90vh !important;
    max-height: 90dvh !important;
    padding: 1.25rem 1rem !important;
    margin: 1rem auto !important;
    overflow-y: auto !important;
  }

  .student-profile-vertical-layout {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    gap: 1rem !important;
  }

  .profile-sidebar-tabs {
    flex-direction: row !important;
    overflow-x: auto !important;
    border-right: none !important;
    border-bottom: 1px solid var(--color-border-light) !important;
    padding-bottom: 0.5rem !important;
    padding-right: 0 !important;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    gap: 0.35rem !important;
  }

  .sp-vertical-tab-btn {
    white-space: nowrap !important;
    padding: 0.45rem 0.75rem !important;
    font-size: 0.82rem !important;
    border-left: none !important;
    border-bottom: 3px solid transparent !important;
    border-radius: var(--radius-sm) !important;
  }

  .sp-vertical-tab-btn.active {
    border-left: none !important;
    border-bottom: 3px solid var(--color-primary) !important;
    background: var(--color-primary-soft) !important;
  }

  .profile-tab-content-panel {
    max-height: calc(85vh - 200px) !important;
    padding-right: 0.25rem !important;
  }

  /* Tablas en Móvil con Scroll Horizontal Suave */
  .table {
    min-width: 620px;
  }
}

/* ==========================================================================
   CHATS CON ALUMNAS: BADGES TIPO WHATSAPP & ESTADOS
   ========================================================================== */
.chat-unread-badge {
  background-color: #ef4444;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  line-height: 1;
}

.admin-chat-student-item.active {
  background-color: rgba(79, 104, 72, 0.08);
}

.admin-chat-student-item:hover {
  background-color: rgba(79, 104, 72, 0.04);
}

/* ==========================================================================
   TABLA DE ENTRENAMIENTOS MENSUALES DE ALUMNA
   ========================================================================== */
.exercise-chip-done {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0.15rem 0.15rem;
}

.exercise-chip-pending {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0.15rem 0.15rem;
}

.student-exercise-note-item {
  background: #f8fafc;
  border-left: 3px solid var(--color-primary);
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  margin-top: 0.35rem;
  font-size: 0.82rem;
}




