/* Estilos de la pantalla de login IUAF */
.iuaf-login-container{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:100vh;
  background:var(--iuaf-azul, #50118f);
  padding:20px;
  box-sizing:border-box;
}
.iuaf-login-card{
  background:#fff;
  width:100%;
  max-width:420px;
  border-radius:14px;
  box-shadow:0 8px 30px rgba(0,0,0,.25);
  padding:36px 28px;
  text-align:center;
}
.iuaf-logo{
  max-width:150px;
  height:auto;
  margin:0 auto 16px;
  display:block;
}
.iuaf-login-card h2{
  margin:6px 0 18px;
  font-size:22px;
  color:#001F3F;
}
.iuaf-field{
  text-align:left;
}
.iuaf-field label{
  display:block;
  font-size:13px;
  color:#334;
  margin-bottom:6px;
}
.iuaf-field input[type="text"],
.iuaf-field input[type="password"]{
  width:100%;
  padding:12px 14px;
  border:1px solid #d8d8d8;
  border-radius:10px;
  outline:none;
  font-size:14px;
  transition:border-color .2s ease;
}
.iuaf-field input:focus{
  border-color:#001F3F;
}
.submit{
  margin-top:16px;
}
#wp-submit{
  width:100%;
  border:none;
  padding:12px;
  border-radius:10px;
  font-weight:700;
  font-size:15px;
  background:var(--iuaf-dorado, #FFD700);
  color:#001F3F;
  cursor:pointer;
  transition:background .2s ease, color .2s ease;
}
#wp-submit:hover{
  background:#001F3F;
  color:#fff;
}
.iuaf-links{
  margin-top:14px;
}
.iuaf-links a{
  color:#001F3F;
  text-decoration:none;
  font-size:13px;
}
.iuaf-alert{
  margin:0 0 14px;
  padding:10px 12px;
  border-radius:10px;
  font-size:13px;
  text-align:center;
}
.iuaf-alert-error{
  background:#ffecec;
  color:#a40000;
  border:1px solid #ffc9c9;
}
.iuaf-alert-ok{
  background:#ecfff0;
  color:#0a7b2f;
  border:1px solid #c8f3d5;
}

/* Dashboard base */
.iuaf-dashboard-wrap{
  padding:40px 0;
}
.iuaf-dash-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:20px;
}
.iuaf-dash-header h1{
  margin:0;
}
.iuaf-dash-menu a{
  margin-left:12px;
  text-decoration:none;
}
.iuaf-dash-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(240px,1fr));
  gap:16px;
}
.iuaf-card{
  display:block;
  background:#fff;
  border:1px solid #eee;
  border-radius:12px;
  padding:18px;
  text-decoration:none;
  color:#222;
  box-shadow:0 3px 18px rgba(0,0,0,.06);
  transition:transform .15s ease, box-shadow .15s ease;
}
.iuaf-card:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 30px rgba(0,0,0,.12);
}
.iuaf-card h3{
  margin:0 0 8px;
  color:#001F3F;
}