/* Scope everything to aw- classes to avoid Bootstrap collisions */
.aw-cookie-banner{
  position:fixed; right:16px; bottom:16px;
  max-width:420px; z-index:9999;
  background:#0f172a; color:#fff; border-radius:10px;
  padding:14px; box-shadow:0 6px 20px rgba(0,0,0,.25);
  display:flex; gap:12px; align-items:center;
}
.aw-cookie-banner[hidden]{display:none !important;}
.aw-cookie-text{flex:1; font-size:14px; line-height:1.35;}
.aw-cookie-actions{display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end}
.aw-btn{cursor:pointer; border-radius:8px; padding:8px 12px; font-size:14px; border:1px solid transparent; line-height:1}
.aw-btn-primary{background:#16a34a; color:#fff}
.aw-btn-outline{background:transparent; color:#fff; border-color:#475569}
.aw-btn-ghost{background:transparent; color:#0f172a; border:1px solid #e5e7eb}
.aw-link{background:transparent; border:0; color:#93c5fd; text-decoration:underline; padding:0; cursor:pointer}

@media (max-width:480px){
  .aw-cookie-banner{left:16px; right:16px}
}

/* Modal */
.aw-cookie-modal{position:fixed; inset:0; background:rgba(15,23,42,.6); display:none; z-index:10000}
.aw-cookie-modal[aria-hidden="false"]{display:grid; place-items:center}
.aw-cookie-card{width:min(520px,94vw); background:#fff; color:#0f172a; border-radius:12px; padding:18px; box-shadow:0 10px 30px rgba(0,0,0,.25)}
.aw-title{margin:0 0 8px 0; font-size:20px}
.aw-row{display:flex; align-items:center; gap:10px; margin:12px 0}
.aw-label{font-weight:600}
.aw-sub{font-size:12px; color:#64748b}
.aw-note{font-size:12px; color:#64748b}

/* Toggle switch */
.aw-switch{position:relative; display:inline-block; width:46px; height:26px}
.aw-switch input{opacity:0; width:0; height:0}
.aw-slider{position:absolute; cursor:pointer; inset:0; background:#cbd5e1; border-radius:999px; transition:.2s}
.aw-slider:before{content:""; position:absolute; height:20px; width:20px; left:3px; top:3px; background:#fff; border-radius:50%; transition:.2s; box-shadow:0 1px 2px rgba(0,0,0,.2)}
.aw-switch input:checked + .aw-slider{background:#16a34a}
.aw-switch input:checked + .aw-slider:before{transform:translateX(20px)}

input#aw-personalised {
    position: relative;
    opacity: 1;
}
