/* AulaNova UCE v0.3.13.1.10 · Corrección visual del editor de perfil docente */

[data-teacher-profile-editor-v031319].anu-ai-overlay{
  position:fixed !important;
  inset:0 !important;
  z-index:10050 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:24px !important;
  background:rgba(15,23,42,.58) !important;
  backdrop-filter:blur(3px);
  overflow:auto !important;
}

[data-teacher-profile-editor-v031319] .anu-ai-modal{
  width:min(980px,100%) !important;
  max-height:calc(100vh - 48px) !important;
  overflow:auto !important;
  margin:auto !important;
  padding:26px !important;
  border:1px solid #dbe2ea !important;
  border-radius:20px !important;
  background:#fff !important;
  box-shadow:0 24px 70px rgba(15,23,42,.24) !important;
  color:#1f2937 !important;
  font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif !important;
}

[data-teacher-profile-editor-v031319] .anu-section-head{
  display:flex !important;
  align-items:flex-start !important;
  justify-content:space-between !important;
  gap:18px !important;
  margin-bottom:4px !important;
}

[data-teacher-profile-editor-v031319] .anu-section-head h3{
  margin:0 0 6px !important;
  font-size:24px !important;
  line-height:1.2 !important;
  color:#0f172a !important;
}

[data-teacher-profile-editor-v031319] .anu-section-head p{
  margin:0 !important;
  color:#64748b !important;
  line-height:1.55 !important;
}

[data-teacher-profile-editor-v031319] .anu-ai-close{
  flex:0 0 auto !important;
  width:38px !important;
  height:38px !important;
  display:grid !important;
  place-items:center !important;
  border:1px solid #cbd5e1 !important;
  border-radius:999px !important;
  background:#fff !important;
  color:#334155 !important;
  font-size:24px !important;
  line-height:1 !important;
  cursor:pointer !important;
}

[data-teacher-profile-editor-v031319] .anu-ai-close:hover{
  background:#f8fafc !important;
  border-color:#94a3b8 !important;
}

[data-teacher-profile-editor-v031319] .an-profile-inline{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:16px 18px !important;
  margin-top:22px !important;
}

[data-teacher-profile-editor-v031319] .an-profile-inline label{
  display:grid !important;
  gap:7px !important;
  min-width:0 !important;
  margin:0 !important;
  color:#334155 !important;
  font-size:13px !important;
  font-weight:800 !important;
}

[data-teacher-profile-editor-v031319] .an-profile-inline label span{
  display:block !important;
}

[data-teacher-profile-editor-v031319] .an-profile-inline input{
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  height:44px !important;
  padding:10px 12px !important;
  border:1px solid #cbd5e1 !important;
  border-radius:11px !important;
  background:#fff !important;
  color:#0f172a !important;
  font:inherit !important;
  font-weight:400 !important;
  outline:none !important;
  box-sizing:border-box !important;
  transition:border-color .15s ease, box-shadow .15s ease !important;
}

[data-teacher-profile-editor-v031319] .an-profile-inline input:focus{
  border-color:#0f3d66 !important;
  box-shadow:0 0 0 3px rgba(15,61,102,.12) !important;
}

[data-teacher-profile-editor-v031319] .an-privacy-box{
  margin-top:18px !important;
  padding:13px 15px !important;
  border:1px solid #dbe2ea !important;
  border-radius:12px !important;
  background:#f8fafc !important;
  color:#475569 !important;
  line-height:1.5 !important;
  font-size:13px !important;
}

[data-teacher-profile-editor-v031319] .an-live{
  min-height:22px !important;
  margin:10px 0 0 !important;
  color:#b91c1c !important;
  font-size:13px !important;
  font-weight:700 !important;
}

[data-teacher-profile-editor-v031319] .an-actions{
  display:flex !important;
  justify-content:flex-end !important;
  align-items:center !important;
  gap:10px !important;
  margin-top:12px !important;
  padding-top:16px !important;
  border-top:1px solid #e2e8f0 !important;
}

[data-teacher-profile-editor-v031319] .an-btn{
  appearance:none !important;
  border-radius:11px !important;
  padding:11px 17px !important;
  min-height:42px !important;
  font:inherit !important;
  font-weight:800 !important;
  border:1px solid transparent !important;
  cursor:pointer !important;
  transition:transform .12s ease, box-shadow .12s ease, opacity .12s ease !important;
}

[data-teacher-profile-editor-v031319] .an-btn:hover:not(:disabled){
  transform:translateY(-1px) !important;
}

[data-teacher-profile-editor-v031319] .an-btn:disabled{
  opacity:.55 !important;
  cursor:not-allowed !important;
}

[data-teacher-profile-editor-v031319] .an-btn--primary{
  background:#0f3d66 !important;
  color:#fff !important;
  box-shadow:0 8px 18px rgba(15,61,102,.14) !important;
}

[data-teacher-profile-editor-v031319] .an-btn--ghost{
  background:#fff !important;
  border-color:#cbd5e1 !important;
  color:#334155 !important;
}

/* Hace que los campos largos respiren mejor */
[data-teacher-profile-editor-v031319] .an-profile-inline label:nth-child(7),
[data-teacher-profile-editor-v031319] .an-profile-inline label:nth-child(8),
[data-teacher-profile-editor-v031319] .an-profile-inline label:nth-child(9),
[data-teacher-profile-editor-v031319] .an-profile-inline label:nth-child(10){
  grid-column:auto !important;
}

@media (max-width:760px){
  [data-teacher-profile-editor-v031319].anu-ai-overlay{
    align-items:flex-start !important;
    padding:10px !important;
  }

  [data-teacher-profile-editor-v031319] .anu-ai-modal{
    max-height:none !important;
    padding:18px !important;
    border-radius:16px !important;
  }

  [data-teacher-profile-editor-v031319] .anu-section-head{
    gap:12px !important;
  }

  [data-teacher-profile-editor-v031319] .anu-section-head h3{
    font-size:21px !important;
  }

  [data-teacher-profile-editor-v031319] .an-profile-inline{
    grid-template-columns:1fr !important;
    gap:13px !important;
  }

  [data-teacher-profile-editor-v031319] .an-actions{
    display:grid !important;
    grid-template-columns:1fr !important;
  }

  [data-teacher-profile-editor-v031319] .an-btn{
    width:100% !important;
  }
}
