/* Daily Work Cookie Consent (dark/glass + accent) */
:root{
  --dw-accent:#f3702a;
  --dw-border: rgba(255,255,255,.14);
  --dw-glass: rgba(2,6,23,.50);
  --dw-glass2: rgba(2,6,23,.35);
  --dw-text: rgba(255,255,255,.92);
  --dw-muted: rgba(255,255,255,.70);
}

.dw-cookie-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 9998;
}

.dw-cookie{
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: flex;
  justify-content: center;
}

.dw-cookie__card{
  width: min(980px, 100%);
  border-radius: 18px;
  background: var(--dw-glass);
  border: 1px solid var(--dw-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 60px rgba(0,0,0,.28);
  padding: 16px 16px 14px;
  color: var(--dw-text);
}

.dw-cookie__head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.dw-cookie__head h4{
  margin: 0;
  font-weight: 900;
  letter-spacing: -.02em;
}

.dw-cookie__close{
  border: 0;
  background: transparent;
  color: var(--dw-text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: .85;
}
.dw-cookie__close:hover{ opacity: 1; }

.dw-cookie__text{
  margin: 0 0 10px;
  color: var(--dw-muted);
  font-weight: 600;
  line-height: 1.45;
}

.dw-cookie__links{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
}
.dw-cookie__links a{
  color: rgba(255,255,255,.88);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dw-cookie__links span{ color: rgba(255,255,255,.35); }

.dw-cookie__actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dw-btn{
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-weight: 900;
  cursor:pointer;
  white-space:nowrap;
}
.dw-btn--primary{
  background: var(--dw-accent);
  border-color: var(--dw-accent);
  box-shadow: 0 10px 26px rgba(243,112,42,.28);
}
.dw-btn--ghost:hover{
  background: rgba(255,255,255,.10);
}

.dw-cookie__prefs{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.dw-cookie__prefsRow{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}

.dw-cookie__small{
  font-size: 13px;
  color: var(--dw-muted);
  font-weight: 600;
  margin-top: 2px;
}

.dw-cookie__actions--prefs{
  margin-top: 10px;
  justify-content: flex-end;
}

/* Switch */
.dw-switch{
  position: relative;
  width: 52px;
  height: 28px;
}
.dw-switch input{
  opacity: 0;
  width: 0;
  height: 0;
}
.dw-switch__slider{
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  cursor: pointer;
  transition: .2s;
}
.dw-switch__slider:before{
  content:"";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 999px;
  transition: .2s;
}
.dw-switch input:checked + .dw-switch__slider{
  background: rgba(243,112,42,.55);
  border-color: rgba(243,112,42,.65);
}
.dw-switch input:checked + .dw-switch__slider:before{
  transform: translate(24px, -50%);
}

/* Mobile */
@media (max-width: 640px){
  .dw-cookie{ left: 12px; right: 12px; bottom: 12px; }
  .dw-cookie__actions{ flex-direction: column; }
  .dw-btn{ width: 100%; }
  .dw-cookie__actions--prefs{ justify-content: stretch; }
}