/* ============================================================
   ilaw.md — base.css
   Tokeni de design: paleta completa, tipografie, resetari.
   Orice culoare din UI se ia DOAR de aici (var(--nume)).
   ============================================================ */
@font-face{
  font-family:'Manrope';
  font-style:normal;
  font-weight:400 800;
  font-display:swap;
  src:url('../../fonts/manrope/manrope-cyrillic-ext.woff2') format('woff2');
  unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face{
  font-family:'Manrope';
  font-style:normal;
  font-weight:400 800;
  font-display:swap;
  src:url('../../fonts/manrope/manrope-cyrillic.woff2') format('woff2');
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face{
  font-family:'Manrope';
  font-style:normal;
  font-weight:400 800;
  font-display:swap;
  src:url('../../fonts/manrope/manrope-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face{
  font-family:'Manrope';
  font-style:normal;
  font-weight:400 800;
  font-display:swap;
  src:url('../../fonts/manrope/manrope-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root{
  /* Brand — auriu (derivat din #BDAC81) */
  --gold:#BDAC81;            /* brand, accente, focus */
  --gold-btn:#BFAE7F;        /* butoane primare */
  --gold-btn-hover:#B3A06E;  /* hover butoane primare */
  --gold-light:#D6C79C;      /* auriu deschis (pe fundal inchis) */
  --gold-text:#8A7648;       /* text auriu pe fundal deschis */
  --gold-text-dark:#6E5D38;  /* text auriu inchis (in badge-uri) */
  /* Brand — bleumarin (derivat din #102027) */
  --navy:#22394A;            /* sidebar, benzi, fundal inchis */
  --navy-deep:#102027;       /* origine paleta — folosit rar */
  --navy-active:#2E4A5C;     /* element activ / hover pe navy */
  --navy-border:#34505F;     /* divider pe navy */
  --navy-edge:#1B2E3A;       /* bordura exterioara sidebar */
  /* Text */
  --text:#24404F;            /* text principal */
  --text-on-gold:#1E3440;    /* text pe butoane aurii */
  --text-2:#4A5B66;          /* text secundar */
  --text-3:#5C6B74;          /* paragrafe */
  /* --text-muted:#6F7E87;     etichete, sub-titluri */
  --text-muted:#1E3440;  
  --text-faint:#9AA6AD;      /* placeholder, meta */
  --text-on-navy:#E8EEF1;    /* linkuri pe navy */
  --text-on-navy-sub:#B9C4CB;/* text secundar pe navy */
  /* Suprafete */
  --bg:#F7F4EC;              /* fundal pagina */
  --surface:#FCFAF4;         /* header, zone ridicate */
  --card:#FFFFFF;            /* carduri */
  --border:#EAE3D2;          /* borduri carduri */
  --divider:#F2EEE4;         /* linii in tabele/liste */
  --divider-2:#EFEAE0;       /* linii sectiuni */
  --accent-soft:#F3EDDC;     /* fundal badge/icon auriu */
  --info-bg:#FBF8EF;         /* casete informative */
  --info-border:#EFE7D0;
  --hover-soft:#F7F3E8;      /* hover butoane secundare */
  --table-head:#FAF8F1;      /* fundal antet tabel */
  /* Formulare */
  --input-border:#DDD5C2;
  --btn2-border:#D8CFB9;     /* bordura butoane secundare */
  --check-border:#C9C0AC;
  --switch-off:#D9D2BF;
  --focus-ring:rgba(189,172,129,.22);
  --disabled-bg:#E3DCC8; --disabled-text:#9A917A;
  /* Statusuri */
  --success:#3B7A4A;  --success-bg:#E6F1E7;   /* platita, activa, verificat */
  --danger:#9A5137;   --danger-bg:#F6E4DC;    /* esuata, raportata, urgent */
  --danger-deep:#7A3F2A; --danger-soft:#8A5A4A;
  --danger-bright:#D32F2F; /* erori de formular — vizibil */
  --danger-focus:rgba(211,47,47,.22);
  --danger-band-bg:#FBF3EF; --danger-band-border:#E0C4B6;
  --danger-on-navy:#D9A996;  /* deconectare in sidebar */
  --info:#2F5B78;     --info-badge-bg:#E7EEF3;/* transmisa, preluata */
  --pending:#7A6636;  --pending-bg:#F3EBD7;   /* noua, in asteptare */
  --neutral:#8B8672;  --neutral-bg:#F0EDE4;   /* expirata, anulata, ascunsa */
  --purple:#5D4B85;   --purple-bg:#EDE9F4;    /* in negociere */
  /* Tipografie, raze, umbre */
  --font:'Manrope',sans-serif;
  --r-sm:9px; --r-md:12px; --r-lg:16px; --r-pill:20px;
  --shadow-pop:0 8px 24px rgba(16,32,39,.3);
  --shadow-card:0 4px 14px rgba(189,172,129,.18);
  --control-h:38px;          /* înălțime comună: input / select / btn-sm */
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:var(--font);color:var(--text);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}
/* face="" e prezentational; body{font-family} îl anulează fără aceste reguli */
font[face="Arial"],font[face="arial"]{font-family:Arial,Helvetica,sans-serif!important}
font[face="Times New Roman"],font[face="times new roman"]{font-family:"Times New Roman",Times,serif!important}
font[face="Courier New"],font[face="courier new"]{font-family:"Courier New",Courier,monospace!important}
font[face="Georgia"],font[face="georgia"]{font-family:Georgia,serif!important}
font[face="Verdana"],font[face="verdana"]{font-family:Verdana,Geneva,sans-serif!important}
font[face="Tahoma"],font[face="tahoma"]{font-family:Tahoma,Geneva,sans-serif!important}
h1{font-size:27px;font-weight:800;letter-spacing:-.3px;margin:0 0 8px}
h2{font-size:19px;font-weight:800;margin:0 0 6px}
h3{font-size:15px;font-weight:800;margin:0 0 6px}
a{color:var(--gold-text);text-decoration:none}
a:hover{color:var(--gold-text-dark)}
::placeholder{color:var(--text-faint)}
img{max-width:100%}
.container{max-width:1060px;margin:0 auto;padding:0 24px}
.muted{color:var(--text-muted)}
.divider{height:1px;background:var(--divider-2);border:0;margin:20px 0}
.row{display:flex;align-items:center;gap:10px}
/* Anulează Bootstrap .row > * { width:100% } — altfel butoanele/badge-urile se stivuiesc pe verticală */
.row > *{width:auto;max-width:none;padding-left:0;padding-right:0}
.between{justify-content:space-between}
.wrap{flex-wrap:wrap}
