.dmw-consent-hidden{display:none !important}
.dmw-consent-banner,
.dmw-consent-settings-btn,
.dmw-consent-modal{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

.dmw-consent-banner{
  position:fixed;
  left:16px;
  right:16px;
  bottom:calc(var(--dmw-consent-bottom, 16px) + env(safe-area-inset-bottom, 0px));
  z-index:1000000;
  max-width:980px;
  margin:0 auto;
  background:#0f2237;
  color:#fff;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  box-shadow:0 18px 40px rgba(0,0,0,.32);
  padding:18px 18px 16px;
}

.dmw-consent-title{
  font-size:18px;
  font-weight:800;
  margin:0 0 8px;
}

.dmw-consent-text{
  font-size:14px;
  line-height:1.55;
  color:rgba(255,255,255,.9);
  margin:0;
}

.dmw-consent-note{
  margin-top:10px;
  font-size:12px;
  line-height:1.45;
  color:rgba(255,255,255,.74);
}

.dmw-consent-note a{
  color:#fff;
  font-weight:800;
  text-decoration:underline;
}

.dmw-consent-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}

.dmw-consent-btn{
  appearance:none;
  border:0;
  border-radius:999px;
  cursor:pointer;
  font-size:13px;
  font-weight:800;
  line-height:1;
  padding:11px 16px;
  transition:transform .15s ease, opacity .15s ease, background .15s ease;
}

.dmw-consent-btn:hover{
  transform:translateY(-1px);
}

.dmw-consent-btn-primary{
  background:#fecd00;
  color:#0f2237;
}

.dmw-consent-btn-secondary{
  background:#2f63a0;
  color:#fff;
}

.dmw-consent-btn-ghost{
  background:rgba(255,255,255,.1);
  color:#fff;
}

.dmw-consent-settings-btn{
  position:fixed;
  left:16px;
  bottom:calc(var(--dmw-consent-bottom, 16px) + env(safe-area-inset-bottom, 0px));
  z-index:999999;
  border:0;
  border-radius:999px;
  background:rgba(15,34,55,.92);
  color:#fff;
  cursor:pointer;
  padding:10px 14px;
  font-size:12px;
  font-weight:800;
  box-shadow:0 10px 26px rgba(0,0,0,.24);
}

.dmw-consent-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.46);
  z-index:1000001;
}

.dmw-consent-modal{
  position:fixed;
  inset:0;
  z-index:1000002;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}

.dmw-consent-panel{
  width:min(720px, 100%);
  max-height:min(90vh, 820px);
  overflow:auto;
  background:#fff;
  color:#142235;
  border-radius:22px;
  box-shadow:0 22px 60px rgba(0,0,0,.26);
  padding:24px 22px 18px;
}

.dmw-consent-panel h2{
  margin:0 0 8px;
  font-size:22px;
  font-weight:900;
}

.dmw-consent-panel p{
  margin:0;
  color:#4a5a6f;
  line-height:1.6;
}

.dmw-consent-group{
  border:1px solid #dde6f0;
  border-radius:16px;
  padding:14px 15px;
  margin-top:14px;
}

.dmw-consent-row{
  display:flex;
  gap:14px;
  align-items:flex-start;
  justify-content:space-between;
}

.dmw-consent-copy{
  flex:1 1 auto;
  min-width:0;
}

.dmw-consent-copy strong{
  display:block;
  font-size:15px;
  font-weight:800;
  margin-bottom:4px;
  color:#142235;
}

.dmw-consent-copy span{
  display:block;
  font-size:13px;
  line-height:1.5;
  color:#55657b;
}

.dmw-consent-switch{
  flex:0 0 auto;
  width:56px;
  height:32px;
  border-radius:999px;
  border:0;
  background:#c6d2df;
  position:relative;
  cursor:pointer;
}

.dmw-consent-switch::after{
  content:"";
  position:absolute;
  top:4px;
  left:4px;
  width:24px;
  height:24px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 2px 6px rgba(0,0,0,.18);
  transition:left .18s ease;
}

.dmw-consent-switch[aria-checked="true"]{
  background:#2f63a0;
}

.dmw-consent-switch[aria-checked="true"]::after{
  left:28px;
}

.dmw-consent-switch[disabled]{
  opacity:.65;
  cursor:not-allowed;
}

.dmw-consent-pill{
  display:inline-block;
  margin-top:8px;
  font-size:11px;
  font-weight:800;
  color:#1d5c2c;
  background:#e6f6ea;
  border-radius:999px;
  padding:5px 8px;
}

.dmw-consent-panel-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
  margin-top:18px;
}

@media(max-width:640px){
  .dmw-consent-banner{
    left:10px;
    right:10px;
    padding:16px 14px 14px;
    border-radius:16px;
  }

  .dmw-consent-settings-btn{
    left:10px;
    font-size:11px;
    padding:9px 12px;
  }

  .dmw-consent-panel{
    padding:20px 16px 16px;
    border-radius:18px;
  }

  .dmw-consent-row{
    gap:10px;
  }
}
