/* UI moderna tipo panel */
:root{
  --bg:#f3f6fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --primary:#0b5cab;
  --primary2:#0a4a87;
  --border:#e5eaf3;
  --shadow: 0 20px 60px rgba(15, 23, 42, .10);
  --radius:22px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background: radial-gradient(1200px 600px at 50% -10%, #e9f3ff 0%, var(--bg) 60%, var(--bg) 100%);
}
.container{
  min-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:32px 16px;
}
.shell{
  width:min(1100px, 100%);
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:28px;
  align-items:stretch;
}
@media (max-width: 900px){
  .shell{grid-template-columns:1fr}
}
.brand{
  background: linear-gradient(135deg, #eaf4ff 0%, #f7fbff 55%, #ffffff 100%);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:36px 34px;
  position:relative;
  overflow:hidden;
}
.brand:before{
  content:"";
  position:absolute;
  inset:-40% -30% auto auto;
  width:420px;height:420px;
  background: radial-gradient(circle at 30% 30%, rgba(11,92,171,.22) 0%, rgba(11,92,171,0) 60%);
  transform: rotate(10deg);
}
.brand h1{
  margin:0 0 10px;
  font-size: clamp(34px, 3.4vw, 54px);
  letter-spacing:-0.02em;
}
.brand p{
  margin:0;
  color:var(--muted);
  font-size:18px;
  line-height:1.5;
  max-width:42ch;
}
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:26px;
}
.card h2{
  margin:0 0 12px;
  font-size:22px;
}
.help{
  color:var(--muted);
  margin:0 0 18px;
  line-height:1.45;
}
.field{
  margin-bottom:14px;
}
label{
  display:block;
  font-size:13px;
  color:var(--muted);
  margin:0 0 6px;
}
input[type="text"],input[type="password"],input[type="month"],input[type="file"]{
  width:100%;
  padding:13px 14px;
  border:1px solid var(--border);
  border-radius:14px;
  outline:none;
  font-size:15px;
  background:#fff;
}
input:focus{border-color: rgba(11,92,171,.45); box-shadow:0 0 0 4px rgba(11,92,171,.10)}
.row{
  display:flex;
  gap:12px;
}
.row > *{flex:1}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background: var(--primary);
  color:#fff;
  border:0;
  border-radius: 999px;
  padding:13px 18px;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
  width:100%;
  transition: transform .04s ease, background .15s ease;
}
.btn:hover{background:var(--primary2)}
.btn:active{transform: translateY(1px)}
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.pill{
  padding:8px 12px;
  border:1px solid var(--border);
  border-radius: 999px;
  color:var(--muted);
  font-size:13px;
  background:#fff;
}
.alert{
  margin:0 0 14px;
  padding:12px 12px;
  border-radius:14px;
  font-size:14px;
  border:1px solid rgba(239,68,68,.25);
  background: rgba(239,68,68,.06);
  color:#7f1d1d;
}
.success{
  border:1px solid rgba(34,197,94,.25);
  background: rgba(34,197,94,.07);
  color:#14532d;
}
.footer{
  margin-top:18px;
  color:#94a3b8;
  font-size:13px;
  text-align:center;
}
a{color:var(--primary); text-decoration:none}
a:hover{text-decoration:underline}
.list{
  margin:12px 0 0;
  padding:0;
  list-style:none;
}
.list li{
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:14px;
  margin-bottom:10px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  background:#fff;
}
.badge{
  font-size:12px;
  color:var(--muted);
  border:1px solid var(--border);
  border-radius:999px;
  padding:6px 10px;
}
