
.curso-detalle-title-section {
  flex: 1;
}

.curso-detalle-subtitle {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.curso-detalle-subtitle i {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.curso-info-cards {
  display: grid;
  gap: 20px;
  margin-bottom: 25px;
}

.curso-info-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #4a5259;
}

.curso-info-card.primary {
  border-left-color: #4a5259;
  background: white;
}

.info-card-icon {
  width: 50px;
  height: 50px;
  background: rgba(74, 82, 89, 0.08);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.info-card-icon i {
  width: 26px;
  height: 26px;
  color: #4a5259;
}

.info-card-content h4 {
  margin: 0 0 12px 0;
  color: #4a5259;
  font-size: 16px;
  font-weight: 600;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-items span {
  font-size: 14px;
  color: #555;
}

.curso-stats-grid-enhanced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 25px;
}

.curso-stat-box-enhanced {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 15px;
  border-left: 4px solid #ddd;
  transition: all 0.3s ease;
}

.curso-stat-box-enhanced:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.curso-stat-box-enhanced.primary {
  border-left-color: #4a5259;
}

.curso-stat-box-enhanced.success {
  border-left-color: #4a5259;
}

.curso-stat-box-enhanced.danger {
  border-left-color: #4a5259;
}

.curso-stat-box-enhanced.warning {
  border-left-color: #4a5259;
}

.curso-stat-box-enhanced.neutral {
  border-left-color: #4a5259;
}

.curso-stat-box-enhanced .stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.curso-stat-box-enhanced.primary .stat-icon {
  background: rgba(74, 82, 89, 0.08);
}

.curso-stat-box-enhanced.primary .stat-icon i {
  color: #4a5259;
  width: 24px;
  height: 24px;
}

.curso-stat-box-enhanced.success .stat-icon {
  background: rgba(74, 82, 89, 0.08);
}

.curso-stat-box-enhanced.success .stat-icon i {
  color: #4a5259;
  width: 24px;
  height: 24px;
}

.curso-stat-box-enhanced.danger .stat-icon {
  background: rgba(74, 82, 89, 0.08);
}

.curso-stat-box-enhanced.danger .stat-icon i {
  color: #4a5259;
  width: 24px;
  height: 24px;
}

.curso-stat-box-enhanced.warning .stat-icon {
  background: rgba(74, 82, 89, 0.08);
}

.curso-stat-box-enhanced.warning .stat-icon i {
  color: #4a5259;
  width: 24px;
  height: 24px;
}

.curso-stat-box-enhanced.neutral .stat-icon {
  background: rgba(74, 82, 89, 0.08);
}

.curso-stat-box-enhanced.neutral .stat-icon i {
  color: #4a5259;
  width: 24px;
  height: 24px;
}

.stat-info h4 {
  margin: 0 0 4px 0;
  font-size: clamp(1.25rem, 3vw + 0.25rem, 1.75rem);
  font-weight: 700;
  color: #4a5259;
}

.stat-info p {
  margin: 0;
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

.curso-acciones-rapidas {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.btn-accion-rapida {
  flex: 1;
  min-width: 200px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #4a5259, #4a5259);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.3);
}

.btn-accion-rapida:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(10, 37, 64, 0.4);
  background: linear-gradient(135deg, #4a5259, #0d47a1);
}

.btn-accion-rapida i {
  width: 20px;
  height: 20px;
}

.alumnos-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.alumnos-section-header h3 {
  font-family: 'Inter';
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.calificaciones-filtros-enhanced {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.filtros-busqueda {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.filtro-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filtro-item label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
}

.filtro-item label i {
  width: 14px;
  height: 14px;
  color: #4a5259;
}

.filtro-item input,
.filtro-item select {
  padding: 10px 12px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.filtro-item input:focus,
.filtro-item select:focus {
  outline: none;
  border-color: #4a5259;
  box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.1);
}

.filtros-acciones {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.btn-limpiar-filtros {
  padding: 10px 20px;
  background: #f5f5f5;
  color: #555;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-limpiar-filtros:hover {
  background: #e0e0e0;
}

.btn-limpiar-filtros i {
  width: 16px;
  height: 16px;
}

.asistencias-controles-enhanced {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.asistencias-controles-principal {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.registro-rapido-grupo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-rapido {
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-rapido i {
  width: 16px;
  height: 16px;
}

.btn-rapido.presente {
  background: linear-gradient(135deg, #43a047, #66bb6a);
  color: white;
}

.btn-rapido.presente:hover {
  background: linear-gradient(135deg, #388e3c, #43a047);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67, 160, 71, 0.3);
}

.btn-rapido.ausente {
  background: linear-gradient(135deg, #e53935, #ef5350);
  color: white;
}

.btn-rapido.ausente:hover {
  background: linear-gradient(135deg, #c62828, #e53935);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3);
}

.btn-rapido.tardanza {
  background: linear-gradient(135deg, #fb8c00, #ffa726);
  color: white;
}

.btn-rapido.tardanza:hover {
  background: linear-gradient(135deg, #f57c00, #fb8c00);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(251, 140, 0, 0.3);
}

.asistencias-controles-secundarios {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 16px;
  border-top: 1px solid #eee;
  flex-wrap: wrap;
}

.btn-limpiar-asistencias {
  padding: 10px 20px;
  background: linear-gradient(135deg, #e53935, #ef5350);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(229, 57, 53, 0.3);
}

.btn-limpiar-asistencias:hover {
  background: linear-gradient(135deg, #c62828, #e53935);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.4);
}

.btn-limpiar-asistencias i {
  width: 16px;
  height: 16px;
}

.btn-ver-historial {
  padding: 8px 16px;
  background: linear-gradient(135deg, #4a5259, #4a5259);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.2);
  white-space: nowrap;
}

.btn-ver-historial:hover {
  background: linear-gradient(135deg, #4a5259, #0d47a1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.3);
}

.btn-ver-historial i {
  width: 14px;
  height: 14px;
}

.historial-info-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}

.historial-info-card {
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  border-radius: 12px;
  padding: 20px;
  border-left: 4px solid #4a5259;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.historial-info-card h4 {
  margin: 0 0 12px 0;
  color: #4a5259;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.historial-info-card h4 i {
  width: 18px;
  height: 18px;
  color: #4a5259;
}

.historial-info-card p {
  margin: 6px 0;
}

.historial-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 25px;
}

.historial-stat {
  background: white;
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-top: 3px solid #ddd;
}

.historial-stat.primary {
  border-top-color: #4a5259;
}

.historial-stat.success {
  border-top-color: #43a047;
}

.historial-stat.danger {
  border-top-color: #e53935;
}

.historial-stat.warning {
  border-top-color: #fb8c00;
}

.historial-stat.info {
  border-top-color: #4a5259;
}

.historial-stat h4 {
  margin: 0 0 6px 0;
  font-size: clamp(1.25rem, 3vw + 0.25rem, 1.65rem);
  font-weight: 700;
  color: #4a5259;
}

.historial-stat p {
  margin: 0;
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

.historial-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.historial-table thead {
  background: linear-gradient(135deg, #4a5259, #4a5259);
  color: white;
}

.historial-table th {
  padding: 14px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
}

.historial-table tbody tr {
  border-bottom: 1px solid #eee;
  transition: background 0.2s ease;
}

.historial-table tbody tr:hover {
  background: #f8f9fa;
}

.historial-table td {
  padding: 12px 14px;
  font-size: 14px;
}

.estado-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.estado-badge i {
  width: 14px;
  height: 14px;
}

.estado-badge.presente {
  background: #e8f5e9;
  color: #43a047;
}

.estado-badge.ausente {
  background: #ffebee;
  color: #e53935;
}

.estado-badge.tardanza {
  background: #fff3e0;
  color: #fb8c00;
}

.estado-badge.justificado {
  background: #e0f7fa;
  color: #4a5259;
}

@media (max-width: 768px) {
  .curso-stats-grid-enhanced {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .filtros-busqueda {
    grid-template-columns: 1fr;
  }

  .asistencias-controles-principal {
    flex-direction: column;
    align-items: stretch;
  }

  .registro-rapido-grupo {
    flex-direction: column;
  }

  .btn-rapido {
    width: 100%;
    justify-content: center;
  }
}


.profesor-perfil-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

.section-header-profesor {
  margin-bottom: 30px;
}

.section-header-profesor .header-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.section-header-profesor .header-title i {
  width: 32px;
  height: 32px;
  color: #4a5259;
}

.section-header-profesor h2 {
  margin: 0;
  color: #4a5259;
  font-size: clamp(1.25rem, 3vw + 0.25rem, 1.75rem);
  font-weight: 600;
}

.section-subtitle {
  color: #666;
  margin: 0;
  font-size: 15px;
}

.perfil-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.perfil-section {
  background: white;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8ecf0;
}

.perfil-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f0f4f8;
}

.perfil-section-header i {
  width: 24px;
  height: 24px;
  color: #4a5259;
}

.perfil-section-header h3 {
  margin: 0;
  color: #4a5259;
  font-size: 20px;
  font-weight: 400;
}

.perfil-datos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.perfil-dato label {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dato-valor {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f8fafb;
  border-radius: 8px;
  border: 1px solid #e8ecf0;
}

.dato-valor i {
  width: 18px;
  height: 18px;
  color: #4a5259;
}

.dato-valor span {
  font-size: 15px;
  color: #4a5259;
  font-weight: 500;
}

.perfil-stats-profesional {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.stat-profesional-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #e8ecf0;
  transition: all 0.3s ease;
}

.stat-profesional-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.stat-profesional-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-profesional-icon i {
  width: 28px;
  height: 28px;
  color: white;
}

.stat-profesional-content {
  flex: 1;
}

.stat-profesional-label {
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
  font-weight: 500;
}

.stat-profesional-value {
  font-size: 24px;
  color: #4a5259;
  font-weight: 700;
}

.perfil-form {
  max-width: 600px;
}

.form-group-perfil {
  margin-bottom: 20px;
}

.form-group-perfil label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #4a5259;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group-perfil label i {
  width: 18px;
  height: 18px;
  color: #4a5259;
}

.form-group-perfil input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e8ecf0;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.form-group-perfil input:focus {
  outline: none;
  border-color: #4a5259;
  box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.1);
}

.form-actions {
  margin-top: 24px;
}

.btn-guardar-perfil {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #4a5259 0%, #4a5259 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.btn-guardar-perfil:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.4);
}

.btn-guardar-perfil i {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .perfil-datos-grid {
    grid-template-columns: 1fr;
  }

  .perfil-stats-profesional {
    grid-template-columns: 1fr;
  }

  .section-header-profesor h2 {
    font-size: 24px;
  }
}





