/* /assets/cookie-consent.css — bannerul și fereastra de cookie-uri pentru dashboard/app (copie a stilurilor din pagina principală). */
.sa-cookie-banner{
  display:none;
  position:fixed;
  left:0;right:0;bottom:0;
  z-index:9998;
  padding:13px 18px;
  background:rgba(6,15,9,.975);
  border-top:1px solid rgba(29,185,84,.28);
  box-shadow:0 -12px 40px rgba(0,0,0,.18);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
}
.sa-cookie-banner.show{display:block}
.sa-cookie-banner-inner{
  width:min(1160px,100%);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.sa-cookie-copy{min-width:0;flex:1}
.sa-cookie-title{color:#fff;font-size:.86rem;font-weight:800;margin-bottom:2px}
.sa-cookie-copy p{margin:0;color:rgba(255,255,255,.69);font-size:.78rem;line-height:1.5}
.sa-cookie-copy a,.sa-cookie-policy-links a{color:#58df86;text-decoration:underline;text-underline-offset:2px;font-weight:700}
.sa-cookie-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:0 0 auto}
.sa-cookie-btn{
  appearance:none;
  -webkit-appearance:none;
  border:0;
  min-height:40px;
  padding:9px 16px;
  border-radius:10px;
  cursor:pointer;
  font-family:'Inter',sans-serif;
  font-size:.78rem;
  font-weight:750;
  line-height:1;
  white-space:nowrap;
  transition:transform .15s ease,background .15s ease,border-color .15s ease,opacity .15s ease;
}
.sa-cookie-btn:hover{transform:translateY(-1px)}
.sa-cookie-reject{background:transparent;border:1px solid rgba(255,255,255,.26);color:rgba(255,255,255,.82)}
.sa-cookie-customize{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);color:#fff}
.sa-cookie-accept,.sa-cookie-accept-all{background:#1db954;color:#051108;box-shadow:0 6px 18px rgba(29,185,84,.22)}
.sa-cookie-save{background:#eef7f1;border:1px solid #d5e8dc;color:#0d2b1a}

.sa-cookie-overlay{
  display:none;
  position:fixed;
  inset:0;
  z-index:10020;
  padding:18px;
  background:rgba(3,10,6,.62);
  align-items:center;
  justify-content:center;
  overflow:auto;
}
.sa-cookie-overlay.show{display:flex}
body.sa-cookie-modal-open{overflow:hidden}
.sa-cookie-modal{
  width:min(680px,100%);
  max-height:min(88vh,780px);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid #e2ebe5;
  border-radius:18px;
  box-shadow:0 30px 90px rgba(0,0,0,.30);
}
.sa-cookie-modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 20px;
  border-bottom:1px solid #e5ece8;
}
.sa-cookie-kicker{font-size:.64rem;font-weight:800;letter-spacing:.7px;text-transform:uppercase;color:#1a8f46;margin-bottom:2px}
.sa-cookie-modal-head h3{margin:0;font-family:'Syne',sans-serif;font-size:1.15rem;color:#0d2b1a}
.sa-cookie-close{
  width:36px;height:36px;flex:0 0 36px;
  border:1px solid #dbe5df;border-radius:50%;
  background:#f7faf8;color:#183423;cursor:pointer;font-size:1rem
}
.sa-cookie-modal-body{padding:18px 20px;overflow:auto}
.sa-cookie-intro{margin:0 0 14px;color:#607067;font-size:.82rem;line-height:1.55}
.sa-cookie-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:15px 0;
  border-top:1px solid #edf1ef;
  cursor:pointer;
}
.sa-cookie-row.locked{cursor:default}
.sa-cookie-row-copy{min-width:0;display:flex;flex-direction:column;gap:4px}
.sa-cookie-row-copy strong{font-size:.88rem;color:#102a19}
.sa-cookie-row-copy span{font-size:.75rem;line-height:1.45;color:#748078}
.sa-cookie-row-copy a{font-size:.72rem;color:#15803d;font-weight:700;text-decoration:none}
.sa-cookie-always{
  flex:0 0 auto;
  color:#16723b;
  background:#edf9f1;
  border:1px solid #cfead8;
  border-radius:999px;
  padding:6px 9px;
  font-size:.68rem;
  font-weight:800
}
.sa-switch{position:relative;width:44px;height:25px;flex:0 0 44px}
.sa-switch input{opacity:0;width:0;height:0;position:absolute}
.sa-slider{
  position:absolute;inset:0;
  background:#d5dcd8;
  border-radius:999px;
  transition:.2s ease;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)
}
.sa-slider:before{
  content:'';
  position:absolute;
  width:19px;height:19px;
  left:3px;top:3px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 1px 4px rgba(0,0,0,.22);
  transition:.2s ease
}
.sa-switch input:checked + .sa-slider{background:#1db954}
.sa-switch input:checked + .sa-slider:before{transform:translateX(19px)}
.sa-switch input:focus-visible + .sa-slider{outline:3px solid rgba(29,185,84,.24);outline-offset:2px}
.sa-cookie-policy-links{
  display:flex;
  flex-wrap:wrap;
  gap:8px 16px;
  padding-top:14px;
  border-top:1px solid #edf1ef;
  font-size:.73rem
}
.sa-cookie-modal-foot{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  padding:14px 20px;
  border-top:1px solid #e5ece8;
  background:#fbfcfb
}
.sa-cookie-modal-foot .sa-cookie-reject{
  color:#405047;
  border-color:#cfd9d3;
  margin-right:auto
}

@media(max-width:760px){
  .sa-cookie-banner{padding:12px}
  .sa-cookie-banner-inner{display:block}
  .sa-cookie-title{font-size:.82rem}
  .sa-cookie-copy p{font-size:.73rem;line-height:1.45}
  .sa-cookie-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:7px;
    margin-top:10px
  }
  .sa-cookie-actions .sa-cookie-accept{grid-column:1/-1}
  .sa-cookie-btn{width:100%;min-height:42px;padding:9px 10px;font-size:.75rem}
  .sa-cookie-overlay{padding:10px;align-items:flex-end}
  .sa-cookie-modal{max-height:91dvh;border-radius:18px 18px 12px 12px}
  .sa-cookie-modal-head{padding:15px 16px}
  .sa-cookie-modal-body{padding:14px 16px}
  .sa-cookie-row{gap:12px;padding:14px 0}
  .sa-cookie-row-copy span{font-size:.72rem}
  .sa-cookie-modal-foot{
    display:grid;
    grid-template-columns:1fr 1fr;
    padding:10px 12px;
    gap:7px
  }
  .sa-cookie-modal-foot .sa-cookie-reject{margin-right:0}
  .sa-cookie-modal-foot .sa-cookie-accept-all{grid-column:1/-1}
}
@media(max-width:390px){
  .sa-cookie-copy p{font-size:.69rem}
  .sa-cookie-actions{grid-template-columns:1fr}
  .sa-cookie-actions .sa-cookie-accept{grid-column:auto}
  .sa-cookie-modal-foot{grid-template-columns:1fr}
  .sa-cookie-modal-foot .sa-cookie-accept-all{grid-column:auto}
  .sa-cookie-row{align-items:flex-start}
  .sa-cookie-always{white-space:nowrap}
}

/* Dashboard / aplicație: peste bara de navigare de jos și peste zona sigură iOS. */
.sa-cookie-banner{z-index:100002;padding-bottom:calc(13px + env(safe-area-inset-bottom,0px))}
.sa-cookie-overlay{z-index:100010}
.sa-cookie-modal,.sa-cookie-banner{font-family:'Inter',system-ui,-apple-system,sans-serif;text-align:left}

/* Deasupra barei de meniu: card plutitor, cu aceeași lățime ca meniul. */
.sa-cookie-banner.sa-cookie-above-nav{left:10px;right:10px;width:auto;max-width:900px;margin:0 auto;border:1px solid rgba(29,185,84,.28);border-radius:18px;padding:13px 16px;box-shadow:0 14px 40px rgba(0,0,0,.28)}

/* Fereastra cu politica (cookie-uri / confidențialitate) — peste fereastra de setări. */
.sa-legal-overlay{display:none;position:fixed;inset:0;z-index:100020;padding:18px;background:rgba(3,10,6,.62);align-items:center;justify-content:center}
.sa-legal-overlay.show{display:flex}
.sa-legal-modal{width:min(760px,100%);max-height:min(90vh,860px);display:flex;flex-direction:column;background:#fff;border:1px solid #e2ebe5;border-radius:18px;box-shadow:0 30px 90px rgba(0,0,0,.3);overflow:hidden;font-family:'Inter',system-ui,-apple-system,sans-serif;text-align:left}
.sa-legal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 18px;border-bottom:1px solid #e5ece8}
.sa-legal-head h3{margin:0;font-size:1.05rem;color:#0d2b1a}
.sa-legal-body{padding:6px 20px 18px;overflow:auto;-webkit-overflow-scrolling:touch;color:#374151}
.sa-legal-foot{padding:12px 18px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid #e5ece8;background:#fbfcfb;display:flex;justify-content:center}
.sa-legal-foot .sa-cookie-btn{min-width:200px}
.sa-legal-loading{padding:30px 0;text-align:center;color:#6b7280}
.sa-legal-body .utile-h3{font-size:.95rem;font-weight:700;color:#0d2b1a;margin:18px 0 8px;padding-bottom:4px;border-bottom:1px solid #e5e7eb}
.sa-legal-body .utile-p{font-size:.88rem;color:#374151;margin:0 0 10px;line-height:1.75}
.sa-legal-body .utile-ul{padding-left:20px;margin:0 0 12px}
.sa-legal-body .utile-ul li{font-size:.88rem;color:#374151;padding:4px 0;line-height:1.6}
.sa-legal-body .utile-ul li strong{color:#0d2b1a}
.sa-legal-body .utile-table{width:100%;border-collapse:collapse;margin:12px 0;font-size:.8rem;display:block;overflow-x:auto}
.sa-legal-body .utile-table th{background:#f9fafb;padding:8px 10px;text-align:left;font-weight:700;color:#374151;border:1px solid #e5e7eb}
.sa-legal-body .utile-table td{padding:8px 10px;border:1px solid #e5e7eb;color:#374151;vertical-align:top}
.sa-legal-body .utile-info,.sa-legal-body .utile-note,.sa-legal-body .utile-warn,.sa-legal-body .utile-tip{border-radius:8px;padding:12px 16px;margin:14px 0;font-size:.83rem}
.sa-legal-body .utile-info{background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af}
.sa-legal-body .utile-note{background:#f0fdf4;border:1px solid #bbf7d0;color:#15803d}
.sa-legal-body .utile-warn{background:#fef3c7;border:1px solid #fde68a;color:#92400e}
.sa-legal-body .utile-tip{background:#f0f9ff;border:1px solid #bae6fd;color:#0369a1}
.sa-legal-body .utile-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;padding:14px 16px;margin:12px 0}
.sa-legal-body .gdpr-badge,.sa-legal-body .utile-badge{display:inline-block;background:#0d2b1a;color:#a8f5c4;padding:2px 9px;border-radius:5px;font-size:.72rem;font-weight:700;margin-right:4px}
@media(max-width:760px){.sa-legal-overlay{padding:0;align-items:flex-end}.sa-legal-modal{max-height:92dvh;border-radius:18px 18px 0 0}.sa-legal-body{padding:4px 15px 14px}.sa-legal-foot .sa-cookie-btn{width:100%}}
