/* DIECI CLINIC · bannerul și panoul de cookie-uri (js/dieci-consent.js), pe site și în aplicația /cont.
   Culorile site-ului (verde închis, auriu, crem). Fără animații. Bannerul e fix (nu mută conținutul, deci fără CLS).
   Cele trei butoane au același stil: nicio opțiune nu e împinsă vizual. Pe telefon: câmpuri de 44px, text de 15-16px. */
.dc-consent{position:fixed;z-index:9100;left:16px;bottom:max(16px,env(safe-area-inset-bottom));width:min(440px,calc(100% - 32px));
  box-sizing:border-box;padding:18px 18px 16px;background:#04241a;color:#f2ecde;border:1px solid rgba(192,154,94,.45);border-radius:12px;
  box-shadow:0 18px 40px -18px rgba(0,0,0,.7);font-family:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:15px;line-height:1.5}
.dc-consent[hidden]{display:none}
.dc-consent__title{margin:0;font-family:"Cormorant Garamond",Georgia,serif;font-size:1.35rem;font-weight:600;line-height:1.2;color:#f7f3e8;text-wrap:balance}
.dc-consent__text{margin:.45rem 0 0;color:rgba(242,236,222,.86);text-wrap:pretty}
.dc-consent a{color:#d6b98a;text-decoration:underline;text-underline-offset:3px;font-weight:500}
.dc-consent a:hover{color:#f2ecde}
.dc-consent__actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}
.dc-consent__btn{min-height:44px;margin:0;padding:10px 8px;border:1px solid #c09a5e;border-radius:999px;background:transparent;color:#f2ecde;
  font:600 15px/1.2 "Inter",system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer;text-align:center}
.dc-consent__btn:hover{background:rgba(192,154,94,.16)}
.dc-consent__btn:focus-visible,.dc-consent a:focus-visible,.dc-consent-dialog a:focus-visible,.dc-consent-dialog__close:focus-visible,
.dc-consent__switch input:focus-visible{outline:2px solid #d6b98a;outline-offset:3px}

/* panoul de setări: <dialog> nativ (focus prins în panou, Esc închide fără să salveze) */
.dc-consent-dialog{width:min(560px,calc(100% - 24px));max-height:calc(100dvh - 24px);box-sizing:border-box;margin:auto;padding:0;
  background:#04241a;color:#f2ecde;border:1px solid rgba(192,154,94,.45);border-radius:14px;overflow:auto;
  font-family:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:15px;line-height:1.55}
.dc-consent-dialog::backdrop{background:rgba(1,25,17,.72)}
.dc-consent-dialog__form{margin:0;padding:20px 20px 18px}
.dc-consent-dialog__head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.dc-consent-dialog__title{margin:0;font-family:"Cormorant Garamond",Georgia,serif;font-size:1.6rem;font-weight:600;line-height:1.15;color:#f7f3e8;text-wrap:balance}
.dc-consent-dialog__close{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;margin:0;padding:0;
  border:0;border-radius:999px;background:transparent;color:rgba(242,236,222,.75);cursor:pointer}
.dc-consent-dialog__close:hover{color:#f2ecde;background:rgba(192,154,94,.16)}
.dc-consent-dialog__intro{margin:.5rem 0 0;color:rgba(242,236,222,.86);text-wrap:pretty}
.dc-consent-dialog a{color:#d6b98a;text-decoration:underline;text-underline-offset:3px}
.dc-consent__cat{margin-top:14px;padding:14px 14px 12px;border:1px solid rgba(192,154,94,.28);border-radius:10px;background:#011911}
.dc-consent__cat-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.dc-consent__switch{display:flex;align-items:center;gap:12px;min-height:44px;cursor:pointer}
.dc-consent__switch input{appearance:none;-webkit-appearance:none;position:relative;flex:none;width:44px;height:26px;margin:0;border:1px solid #c09a5e;
  border-radius:999px;background:transparent;cursor:pointer}
.dc-consent__switch input::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:rgba(242,236,222,.7)}
.dc-consent__switch input:checked{background:#c09a5e}
.dc-consent__switch input:checked::after{left:21px;background:#011911}
.dc-consent__switch input:disabled{cursor:default;opacity:.75}
.dc-consent__switch input:disabled+.dc-consent__cat-title{cursor:default}
.dc-consent__cat-title{font-weight:600;color:#f7f3e8}
.dc-consent__always{font-size:13px;font-weight:600;color:#d6b98a;white-space:nowrap}
.dc-consent__cat-text{margin:.35rem 0 0;color:rgba(242,236,222,.8);font-size:14px;text-wrap:pretty}
.dc-consent-dialog__actions{margin-top:18px}

/* linkul „Setări cookie-uri” din footer e un <a> ca vecinii lui; aici doar cursorul */
[data-cookie-settings]{cursor:pointer}

@media (max-width:640px){
  .dc-consent{left:8px;right:8px;width:auto;bottom:max(8px,env(safe-area-inset-bottom));padding:14px 14px 12px;font-size:15px}
  .dc-consent__title{font-size:1.2rem}
  .dc-consent__text{font-size:14px}
  .dc-consent__actions{gap:6px}
  .dc-consent__btn{padding:10px 4px;font-size:15px}
  .dc-consent-dialog__form{padding:16px 14px 14px}
  .dc-consent-dialog__actions{grid-template-columns:1fr 1fr}
  .dc-consent-dialog__actions .dc-consent__btn:first-child{grid-column:1/-1}
}
@media (max-width:359px){
  .dc-consent__actions{grid-template-columns:1fr}
}
@media (forced-colors:active){
  .dc-consent__switch input{border-color:ButtonText}
  .dc-consent__switch input:checked{background:Highlight}
}
