.sa-page-header {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto 12px;
  padding: 0 24px; /* mismo padding visual que las cards */
}


/* ============================
   TARJETA CABECERA PERFIL
============================ */

.sa-page-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 24px;
  margin: 0 auto 40px;
  max-width: 1600px;   /* 👈 MÁS ANCHA */
  width: 100%;         /* 👈 CLAVE */
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.sa-page-card__title {
  font-size: 22px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}

.sa-page-card__subtitle {
  font-size: 14px;
  color: #6b7280;
  margin: 0 auto;
  text-align: center;
  
}
.sa-page-card__note {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #6b7280;
}

/* ============================
   PERFIL – FORMULARIO
============================ */

.sa-profile-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1600px;
  margin: 0 auto;  
  width: 100%;
}

/* Títulos de sección */
.sa-section-title {
  font-size: 50px !important;
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
  text-align: center;
  
}

/* Card genérica */
.sa-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius:20px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

/* ============================
   TUTORES
============================ */

.sa-tutor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

.sa-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sa-form-group label {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  font-family: var(--sa-font-bold);
}

.sa-form-group input {
  padding: 10px 12px;
  border-radius: 20px;
  border: 1px solid #d1d5db;
  font-size: 14px;
}

.sa-form-group input:disabled {
  background: #f3f4f6;
  color: #6b7280;
  cursor: not-allowed;
}

/* ============================
   ALUMNOS
============================ */

.sa-alumno {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sa-alumno strong {
  font-size: 15px;
  color: #111827;
}

.sa-alumno select {
  padding: 10px 12px;
  border-radius: 20px;
  border: 1px solid #d1d5db;
  font-size: 14px;
}

/* Checkbox */
.sa-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #374151;
}
.sa-checkbox input[type="checkbox"],
.sa-switch input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.sa-checkbox input {
  width: 16px;
  height: 16px;
}

/* ============================
   COMUNICACIONES
============================ */

.sa-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #374151;
}

/* ============================
   BOTÓN
============================ */

.sa-btn--guardar-datos {
  background: #2563eb !important;
  color: #ffffff !important;
  padding: 12px 24px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight:  600 !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.sa-btn--guardar-datos:hover {
  background: #1e40af !important;
  transform: translateY(-1px) !important;
}

/* ============================
   ALERTAS
============================ */

.sa-alert {
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  max-width: 1600px;  
   width: 100%;
   margin: 0 auto 32px;
  
}

.sa-alert--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;

}

.sa-alert--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
/* Inputs con error */
.sa-input-error {
  border-color: #dc2626;
  background-color: #fef2f2;
}

/* Mensaje de error debajo del campo */
.sa-field-error {
  margin-top: 4px;
  font-size: 13px;
  color: #dc2626 !important;          
  font-weight: 500;
}

/* ============================
   EMPTY STATES
============================ */

.sa-empty {
  font-size: 14px;
  color: #6b7280;
}


/* ============================
   RESPONSIVE
============================ */

@media (max-width: 768px) {
  .sa-tutor {
    grid-template-columns: 1fr;
  }
}