/* =============================================================================
   usuarios.miaps.cl - INFORMACION (manual pages) - LIGHT THEME
   Shared CSS for: /informacion/*  (header/footer/quickbar + layout)
   ========================================================================== */

:root{
  /* Light palette */
  --bg:#f6f8fc;
  --text:#0b1220;
  --muted:#445069;
  --line:rgba(11,18,32,.14);
  --card:rgba(255,255,255,.92);
  --accent:#0aa6b4;         /* turquesa */
  --good:#2f9e44;
  --warn:#f59f00;
  --bad:#e03131;

  --shadow:0 10px 28px rgba(11,18,32,.12);
  --radius:18px;
  --max:1200px;

  --pad: clamp(14px, 2.2vw, 22px);
  --h1: clamp(26px, 3.0vw, 40px);
  --h2: clamp(20px, 2.2vw, 28px);
  --h3: clamp(16px, 2.0vw, 22px);
  --p:  clamp(15px, 1.6vw, 17px);
}

*{ box-sizing:border-box; }
html, body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", sans-serif;
  background:
    radial-gradient(1200px 800px at 20% -10%, rgba(10,166,180,.10), transparent 60%),
    radial-gradient(900px 600px at 90% 0%, rgba(47,158,68,.08), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 55%, #ffffff 100%);
  color:var(--text);
  line-height:1.65;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; height:auto; display:block; }

.u-skip{
  position:absolute; left:-9999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.u-skip:focus{
  left:12px; top:12px;
  width:auto; height:auto; padding:10px 12px;
  border-radius:12px;
  background:rgba(10,166,180,.14);
  border:1px solid rgba(10,166,180,.35);
  z-index:99999;
}

/* ===== Header (lighter as requested) ===== */
.u-top{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}

.u-top__inner{
  max-width:var(--max);
  margin:0 auto;
  padding: 14px var(--pad);
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}

.u-brandWrap{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}

.u-brand{
  display:flex;
  gap:10px;
  align-items:center;
}

.u-logo{
  width:42px;
  height:42px;
  border-radius:14px;
  background: linear-gradient(135deg, rgba(10,166,180,.95), rgba(47,158,68,.75));
  box-shadow: var(--shadow);
  flex:0 0 auto;
}

.u-brandText strong{
  display:block;
  font-weight:900;
  letter-spacing:.2px;
}
.u-brandText small{
  display:block;
  color:var(--muted);
  font-size:12px;
  margin-top:2px;
}

.u-sponsor{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:9px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background: rgba(10,166,180,.08);
  color:var(--text);
  font-size:13px;
  font-weight:900;
}
.u-sponsor:hover{ border-color: rgba(10,166,180,.35); background: rgba(10,166,180,.12); }
.u-sponsor__dot{
  width:10px;height:10px;border-radius:999px;background:var(--accent);
  box-shadow: 0 0 0 6px rgba(10,166,180,.12);
}

.u-nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
}
.u-nav a{
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  background: rgba(255,255,255,.70);
  color:var(--muted);
  font-weight:900;
  font-size:13px;
}
.u-nav a:hover{
  border-color: rgba(10,166,180,.35);
  background: rgba(10,166,180,.10);
  color: var(--text);
}
.u-nav a.is-active{
  border-color: rgba(10,166,180,.45);
  background: rgba(10,166,180,.14);
  color: var(--text);
}

.u-pageTitle{
  width:100%;
  text-align:center;
}
.u-pageTitle h1{
  margin: 8px 0 0;
  font-size: var(--h1);
  letter-spacing:.2px;
}

/* Main container */
.u-main{
  max-width:var(--max);
  margin:0 auto;
  padding: 18px var(--pad) 110px; /* bottom padding avoids quickbar overlap */
}

/* ---- Components ---- */
.card{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 18px;
}

h2{ font-size:var(--h2); margin:0 0 10px; }
h3{ font-size:var(--h3); margin:0 0 8px; }
p{ font-size:var(--p); margin:0 0 10px; }
.u-muted{ color:var(--muted); }
.hr{ height:1px; background:var(--line); margin:14px 0; }

.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
@media (max-width: 920px){
  .grid2{ grid-template-columns:1fr; }
  .u-top__inner{ justify-content:flex-start; }
  .u-pageTitle{ text-align:left; }
}

.list{
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display:grid;
  gap:10px;
}
.list li{
  border:1px solid var(--line);
  background: rgba(255,255,255,.80);
  border-radius: 14px;
  padding: 12px;
}

.callout{
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  padding: 14px;
}
.callout.good{ border-color: rgba(47,158,68,.28); background: rgba(47,158,68,.08); }
.callout.warn{ border-color: rgba(245,159,0,.28); background: rgba(245,159,0,.10); }
.callout.bad{  border-color: rgba(224,49,49,.24); background: rgba(224,49,49,.08); }

/* ---- Quickbar (kept readable; not requested to change footer) ---- */
.u-quickbar{
  position:fixed;
  left:0; right:0; bottom:0;
  z-index:9999;
  display:flex;
  gap:10px;
  justify-content:center;
  padding:10px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  border-top:1px solid var(--line);
}
.u-quickbar a{
  padding:10px 14px;
  border:1px solid var(--line);
  border-radius:14px;
  background: rgba(255,255,255,.78);
  font-weight:900;
  font-size:13px;
  white-space:nowrap;
}
.u-quickbar a:hover{
  border-color: rgba(10,166,180,.35);
  background: rgba(10,166,180,.10);
}
@media (max-width: 980px){
  .u-quickbar{ justify-content:flex-start; overflow:auto; }
}

/* ---- Footer ---- */
.u-footer{
  margin-top: 18px;
  border-top:1px solid var(--line);
}
.u-footer__inner{
  max-width:var(--max);
  margin:0 auto;
  padding: 14px var(--pad);
  font-size:13px;
  color: var(--muted);
}

/* Tables */
table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  border-radius: 14px;
  overflow:hidden;
  border:1px solid var(--line);
  background: rgba(255,255,255,.86);
}
th, td{
  padding:10px;
  border-bottom:1px solid var(--line);
  font-size:14px;
  vertical-align:top;
}
th{
  background: rgba(10,166,180,.08);
  text-align:left;
}
tr:last-child td{ border-bottom:none; }
