/* Emirates ID Guide — own stylesheet, system fonts only */
:root{--c1:#14532d;--c2:#a67c00;--bg:#f2f6ef;--ink:#1c241e}
*{box-sizing:border-box}
body{margin:0;font-family:system-ui, -apple-system, 'Segoe UI', sans-serif;color:var(--ink);background:var(--bg);line-height:1.65;font-size:1.02rem}
h1,h2,h3{font-family:'Palatino Linotype', Palatino, Georgia, serif;color:var(--c1);line-height:1.25}
h1{font-size:1.9rem;margin:.4rem 0 .8rem}h2{font-size:1.4rem;margin-top:2rem}h3{font-size:1.15rem}
/* Card first: the identity card is the visual anchor, so panels on this site are shaped and bordered like cards. */
a{color:var(--c1)}a:hover{color:var(--c2)}
header.site{background:#fff;border-bottom:3px solid var(--c1)}
.bar{max-width:1120px;margin:0 auto;padding:.7rem 1rem;display:flex;align-items:center;gap:.8rem;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:.6rem;text-decoration:none;color:var(--c1);font-family:'Palatino Linotype', Palatino, Georgia, serif;font-weight:700;font-size:1.25rem}
.brand svg{width:42px;height:42px;flex:none}
nav.main{margin-left:auto;display:flex;gap:.2rem;flex-wrap:wrap}
/* Forest green carries the structure and gold marks the rules and the fee boxes, echoing the card itself. */
nav.main a{text-decoration:none;padding:.35rem .6rem;border-radius:6px;font-size:.95rem}
nav.main a:hover{background:var(--bg)}
.wrap{max-width:1120px;margin:0 auto;padding:1.2rem 1rem 3rem}
.hero{padding:1.2rem 0 .4rem}
.kicker{text-transform:uppercase;letter-spacing:.08em;font-size:.8rem;color:var(--c2);font-weight:700}
.verified{font-size:.88rem;color:#5a655e;border:1px solid #c9d2c6;background:#fff;border-radius:6px;padding:.35rem .6rem;display:inline-block;margin:.4rem 0}
/* Numbered steps use green circles because renewal is a sequence, and the reader should always know where they are. */
table{border-collapse:collapse;width:100%;margin:1rem 0;background:#fff}
th,td{border:1px solid #d3d8d2;padding:.55rem .7rem;text-align:left;vertical-align:top}
th{background:var(--c1);color:#fff}
.tool{background:#fff;border:2px solid var(--c1);border-radius:12px;padding:1.2rem;margin:1.2rem 0}
.tool label{display:block;font-weight:600;margin:.7rem 0 .2rem}
.tool input,.tool select{width:100%;max-width:420px;padding:.55rem;border:1px solid #9aa39b;border-radius:6px;font-size:1rem}
/* Fee boxes have soft green borders and a pale fill, so the money is easy to find without shouting. */
.tool button{background:var(--c1);color:#fff;border:0;padding:.65rem 1.3rem;border-radius:8px;font-size:1rem;cursor:pointer;margin-top:1rem}
.tool button:hover{background:var(--c2)}
.result{background:var(--bg);border:1px solid var(--c1);border-radius:8px;padding:1rem;margin-top:1rem}
.result b{font-size:1.25rem}
.error{color:#8f1d1d;font-weight:600}
.example{background:#fff8e6;border:1px solid #e3c878;border-radius:8px;padding:.9rem 1rem;margin:1rem 0}
/* Palatino headings give the pages a formal, official feel without borrowing any government branding. */
.note{background:#eef3ee;border-left:4px solid var(--c1);padding:.8rem 1rem;margin:1rem 0}
.warn{background:#fdf0e6;border-left:4px solid #b3541e;padding:.8rem 1rem;margin:1rem 0}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;margin:1.2rem 0}
.card{background:#fff;border:1px solid #d3d8d2;border-radius:10px;padding:1rem}
.card h3{margin-top:0}
.card a{font-weight:700}
/* The footer is dark green, and the verification line sits above it on every page. */
.toc{background:#fff;border:1px solid #d3d8d2;border-radius:8px;padding:.8rem 1.1rem;margin:1rem 0}
.toc a{display:block;padding:.15rem 0}
footer.site{background:var(--c1);color:#fff;margin-top:2rem}
footer.site .wrap{padding:1.6rem 1rem}
footer.site a{color:#fff}
footer.site p,footer.site li{font-size:.92rem}
/* Card first: the identity card is the visual anchor, so panels on this site are shaped and bordered like cards. */
.faq-item{border-bottom:1px solid #d3d8d2;padding:.7rem 0}
.faq-item h3{margin:.2rem 0}
.srcline{font-size:.88rem;color:#5a655e}
img,svg{max-width:100%}
@media(max-width:600px){h1{font-size:1.55rem}nav.main{margin-left:0}}
@media print{header.site nav,footer.site{display:none}body{background:#fff}}
/* Forest green carries the structure and gold marks the rules and the fee boxes, echoing the card itself. */

  .lede{font-size:1.18rem;line-height:1.55;color:#2c4636}
  .idcard{border:2px solid var(--c1);border-radius:14px;padding:1.2rem;background:#fff;box-shadow:0 4px 0 #dfe8dc}
  .steps{counter-reset:st}.steps li{list-style:none;counter-increment:st;padding:.5rem 0 .5rem 3rem;position:relative}
  .steps li:before{content:counter(st);position:absolute;left:0;top:.4rem;width:2rem;height:2rem;border-radius:50%;background:var(--c1);color:#fff;text-align:center;line-height:2rem;font-weight:700}
  .feebox{background:#eef4ea;border:1px solid #cfe0c8;border-radius:10px;padding:1rem}
/* Numbered steps use green circles because renewal is a sequence, and the reader should always know where they are. */
  
