:root{
  --orange:#F28C28;        /* base */
  --orange-2:#FFB463;      /* claro */
  --blue:#2E3A8C;          /* azul oscuro */
  --blue-2:#1F2A6B;        /* más oscuro */
  --bg:#F6F7FB;            /* fondo */
  --text:#12131A;
  --muted:#6B7280;
  --card:#FFFFFF;
  --radius:16px;
  --shadow:0 16px 40px rgba(0,0,0,.12);
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background: radial-gradient(1200px 600px at 15% 10%, rgba(242,140,40,.35), transparent 60%),
              radial-gradient(900px 500px at 85% 15%, rgba(46,58,140,.20), transparent 60%),
              var(--bg);
}

a{color:var(--blue); text-decoration:none}
a:hover{text-decoration:underline}

.container{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.card{
  width:min(420px, 100%);
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}

.card__top{
  padding:22px 22px 18px;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  position:relative;
}
.badge{
  display:inline-block;
  background:rgba(46,58,140,.95);
  color:#fff;
  font-weight:800;
  letter-spacing:.6px;
  padding:10px 14px;
  border-radius:12px;
  text-transform:uppercase;
  font-size:14px;
}
.card__top p{
  margin:10px 0 0;
  color:rgba(255,255,255,.95);
  font-weight:600;
}

.card__body{padding:22px}
.h1{margin:0 0 6px; font-size:22px}
.p{margin:0 0 18px; color:var(--muted)}

.form label{font-weight:700; font-size:13px; color:var(--blue-2)}
.input{
  width:100%;
  padding:11px 12px;
  margin:6px 0 14px;
  border:1px solid #E5E7EB;
  border-radius:12px;
  outline:none;
  background:#fff;
}
.input:focus{
  border-color:rgba(46,58,140,.55);
  box-shadow:0 0 0 4px rgba(46,58,140,.12);
}

.btn{
  width:100%;
  border:0;
  padding:12px 14px;
  border-radius:12px;
  cursor:pointer;
  font-weight:800;
  letter-spacing:.2px;
}
.btn--primary{
  background:linear-gradient(90deg, var(--blue), var(--blue-2));
  color:#fff;
}
.btn--primary:hover{filter:brightness(1.05)}
.btn--ghost{
  background:transparent;
  border:1px solid rgba(46,58,140,.25);
  color:var(--blue);
}
.btn--ghost:hover{background:rgba(46,58,140,.06)}

.err{
  background:#FFE7EA;
  color:#9B1020;
  padding:10px 12px;
  border-radius:12px;
  margin-bottom:12px;
  font-weight:700;
  border:1px solid rgba(155,16,32,.15);
}

/* HOME */
.shell{
  min-height:100vh;
  padding:22px;
}
.navbar{
  max-width:1040px;
  margin:0 auto 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.brand{
  display:flex; align-items:center; gap:10px;
}
.brand__dot{
  width:12px;height:12px;border-radius:50%;
  background:var(--orange);
  box-shadow:0 0 0 4px rgba(242,140,40,.18);
}
.brand__name{
  font-weight:900; letter-spacing:.4px; color:var(--blue-2);
}
.tag{
  font-size:12px; font-weight:800; color:#fff;
  background:rgba(46,58,140,.95);
  padding:8px 10px; border-radius:999px;
}
.main{
  max-width:1040px;
  margin:0 auto;
}
.panel{
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.panel__head{
  padding:18px 20px;
  background:linear-gradient(90deg, var(--orange), var(--orange-2));
  display:flex; align-items:center; justify-content:space-between;
  gap:10px;
}
.panel__head h2{margin:0; color:#fff; font-size:18px}
.panel__body{padding:18px 20px}
.grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
}
@media (max-width:860px){ .grid{grid-template-columns:1fr} }
.tile{
  padding:16px;
  border:1px solid #E5E7EB;
  border-radius:14px;
  background:linear-gradient(180deg, rgba(46,58,140,.04), transparent);
}
.tile h3{margin:0 0 6px; color:var(--blue-2)}
.tile p{margin:0 0 12px; color:var(--muted); font-size:13px}
.tile .btn{width:auto}

.suggestions{
 /* position:absolute;*/
  background:#111;
  border:1px solid rgba(255,255,255,.15);
  width:100%;
  border-radius:10px;
  margin-top:4px;
  z-index:50;
}
.suggestions div{
  padding:10px;
  cursor:pointer;
}
.suggestions div:hover{
  background:rgba(255,255,255,.08);
}

.box .btn {
  display: inline-block;
  margin-top: 12px;
}

.box .muted{display:block;margin:0 0 12px;}
.box .btn{width:auto;display:inline-block;margin-top:10px;}

