/* Shared styles for the rockosworld parent app (login + dashboard). No build step. */
:root{
  --ink:#123b3a; --accent:#0E9E8E; --accent-2:#16b8a4; --accent-dk:#0a6f64; --cream:#FBFAF7;
  --line:rgba(0,0,0,.08); --muted:#5a6560;
  --disp:'Fredoka',system-ui,sans-serif; --body:'Nunito',system-ui,sans-serif;
}
*{ box-sizing:border-box; }
html,body{ margin:0; }
body{
  font-family:var(--body); color:var(--ink); min-height:100vh; padding:28px 18px 64px;
  background:
    radial-gradient(70% 55% at 88% -6%, #FCEFD6 0%, rgba(252,239,214,0) 60%),
    linear-gradient(180deg, #FBF7EE 0%, #F3EBD9 100%);
}
a{ color:var(--accent); }
.wrap{ max-width:840px; margin:0 auto; }
.narrow{ max-width:430px; }
.brand{ display:flex; align-items:center; gap:10px; justify-content:center; font-family:var(--disp); font-weight:700; font-size:1.35rem; margin:4px 0 20px; }
.brand .a{ color:var(--accent); }
.brand img{ width:42px; height:42px; display:block; }
.card{ background:var(--cream); border:1px solid var(--line); border-radius:22px; padding:24px 22px; box-shadow:0 18px 44px rgba(60,30,10,.14); }
.card + .card{ margin-top:18px; }
h1{ font-family:var(--disp); font-weight:700; font-size:1.6rem; margin:0 0 4px; }
h2{ font-family:var(--disp); font-weight:700; font-size:1.18rem; margin:0 0 4px; }
.sub{ color:var(--muted); font-weight:600; margin:0 0 16px; font-size:.94rem; }
label{ display:block; font-weight:800; font-size:.88rem; margin:14px 0 6px; }
input[type=email],input[type=password],input[type=text],input[type=number],input[type=time],select{
  width:100%; font:inherit; font-weight:600; padding:11px 13px; border:1px solid var(--line);
  border-radius:12px; background:#fff; color:var(--ink);
}
input:focus,select:focus{ outline:2px solid rgba(14,158,142,.35); border-color:var(--accent); }
input:disabled{ background:#f3f3f1; color:#9aa0a6; }
.row2{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.inline{ display:flex; align-items:center; gap:9px; margin-top:14px; font-weight:800; }
.inline input{ width:auto; }
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; width:100%; cursor:pointer;
  font-family:var(--disp); font-weight:700; font-size:1.02rem; padding:12px 18px; border-radius:999px; border:0;
  background:linear-gradient(180deg,var(--accent-2),var(--accent)); color:#fff; box-shadow:0 5px 0 var(--accent-dk); }
.btn:active{ transform:translateY(2px); box-shadow:0 3px 0 var(--accent-dk); }
.btn:disabled{ opacity:.6; cursor:default; }
.btn.ghost{ background:#fff; color:var(--ink); border:1px solid var(--line); box-shadow:none; }
.btn.sm{ width:auto; font-size:.9rem; padding:8px 15px; box-shadow:0 4px 0 var(--accent-dk); }
.btn.sm.ghost{ box-shadow:none; }
.link{ background:none; border:0; color:var(--accent); font:inherit; font-weight:800; cursor:pointer; padding:0; }
.center{ text-align:center; }
.mt{ margin-top:14px; }
.msg{ margin:14px 0 0; padding:10px 12px; border-radius:12px; font-weight:700; font-size:.92rem; display:none; }
.msg.err{ display:block; background:#FDECEA; color:#9b2c22; border:1px solid #f5c6c0; }
.msg.ok{ display:block; background:#E9F7EF; color:#1e6b43; border:1px solid #bfe6cf; }
.topbar{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:18px; }
.topbar .who{ color:var(--muted); font-weight:700; font-size:.9rem; }
.device{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 14px; border:1px solid var(--line); border-radius:14px; background:#fff; margin-top:10px; }
.device .meta{ font-weight:800; }
.device .meta small{ display:block; color:var(--muted); font-weight:700; margin-top:2px; }
.code{ font-family:var(--disp); font-weight:700; font-size:2.1rem; letter-spacing:.16em; color:var(--ink); background:#fff; border:2px dashed var(--accent); border-radius:16px; padding:16px 10px; text-align:center; }
.hint{ color:var(--muted); font-weight:600; font-size:.86rem; margin-top:8px; }
.note{ background:#FFF6E7; border:1px solid #F3DFB0; color:#7a5b12; border-radius:12px; padding:10px 12px; font-weight:700; font-size:.86rem; margin-top:2px; }
.empty{ color:var(--muted); font-weight:700; text-align:center; padding:16px; }

/* Legal content pages */
.legal{ background:var(--cream); border:1px solid var(--line); border-radius:22px; padding:28px 26px; box-shadow:0 18px 44px rgba(60,30,10,.14); }
.legal .back{ display:inline-block; margin-bottom:14px; font-weight:800; }
.legal h1{ font-family:var(--disp); font-weight:700; font-size:1.9rem; margin:0 0 4px; }
.legal .eff{ color:var(--muted); font-weight:700; font-size:.9rem; margin:0 0 18px; }
.legal h2{ font-family:var(--disp); font-weight:700; font-size:1.14rem; margin:22px 0 6px; }
.legal p, .legal li{ color:#33403c; font-weight:600; font-size:.98rem; line-height:1.6; }
.legal ul{ margin:6px 0; padding-left:20px; }
.legal a{ color:var(--accent); font-weight:800; }
.legal .disc{ color:var(--muted); font-weight:600; font-size:.86rem; font-style:italic; margin-top:22px; }

/* Site-wide legal footer */
.site-foot{ border-top:1px solid var(--line); margin-top:26px; padding:22px 0 8px; text-align:center; }
.foot-links{ display:flex; flex-wrap:wrap; gap:8px 20px; justify-content:center; margin-bottom:12px; }
.foot-links a{ color:var(--ink); font-weight:800; font-size:.9rem; }
.foot-links a:hover{ color:var(--accent); }
.foot-copy{ color:var(--muted); font-weight:700; font-size:.85rem; margin:0 0 6px; }
.foot-fine{ color:var(--muted); font-weight:600; font-size:.8rem; max-width:64ch; margin:0 auto; opacity:.9; }
