
/* forms */
.dmcp-disclosure{display:block;width:100%;margin:8px 0 6px;font-size:.95em;opacity:.9}
.dmcp-ack-row{display:block;width:100%;margin:8px 0 0}
.dmcp-ack-row label{display:flex;gap:8px;align-items:flex-start;flex-wrap:wrap}
.dmcp-ack-row input[type=checkbox]{margin-top:3px}
.dmcp-ack-row a{text-decoration:underline}

/* popup */
.dmcp-modal{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:999999;display:flex;align-items:flex-end}
.dmcp-dialog{background:#fff;color:#222;width:100%;max-width:760px;margin:0 auto 12px;border-radius:12px;padding:18px;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.dmcp-header{display:flex;align-items:center;gap:12px;margin-bottom:6px}
.dmcp-logo{height:28px}
.dmcp-title{margin:0}
.dmcp-intro{margin:0 0 10px 0}
.dmcp-extra{display:inline-block;margin:0 0 8px 0;text-decoration:underline}
.dmcp-policy-links{display:block;margin:0 0 8px 0}
.dmcp-pref-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.dmcp-switch{display:inline-flex;align-items:center;gap:10px}
.dmcp-switch input{appearance:none;width:42px;height:24px;border-radius:999px;background:#bbb;position:relative;outline:none;cursor:pointer}
.dmcp-switch input:checked{background:#4caf50}
.dmcp-switch input+i{content:"";display:block;width:18px;height:18px;border-radius:999px;background:#fff;position:relative;left:3px;top:-21px;transition:all .2s ease}
.dmcp-switch input:checked+i{left:21px}
.dmcp-switch-text{font-size:.9em;color:#333}

.dmcp-btns{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-start}
.dmcp-btn{padding:.6em 1em;border-radius:8px;border:1px solid transparent;cursor:pointer}
.dmcp-btn-accept{background:#2e7d32;color:#fff}
.dmcp-btn-save{background:#e0e0e0}
.dmcp-btn-reject{background:#fff;border-color:#9e9e9e}

/* bar */
.dmcp-bar{position:fixed;left:0;right:0;bottom:0;background:#111;color:#fff;padding:12px;z-index:999998}
.dmcp-bar-inner{margin:0 auto;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.dmcp-bar .dmcp-bar-text{flex:1 1 auto;min-width:220px}
.dmcp-bar .dmcp-bar-btns{display:flex;gap:10px;flex-wrap:wrap}

/* mobile */
@media (max-width:640px){
  .dmcp-dialog{margin:0 8px 8px 8px}
  .dmcp-btns{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px}
  .dmcp-btns .dmcp-btn-reject{grid-column:1 / span 2}
  .dmcp-bar-inner{flex-direction:column;align-items:stretch}
  .dmcp-bar .dmcp-bar-btns{flex-direction:column}
}
