/* iOS-style cookie bottom sheet (v-card) */
:root{
  --oase-primary:#2563eb;
  --oase-dark:#0f172a;
  --oase-soft:#f8fafc;
  --oase-border:rgba(148,163,184,.28);
  --oase-shadow:0 28px 70px rgba(15,23,42,.30);
}

.oase-cc-backdrop{
  position:fixed;
  inset:0;
  background:rgba(2,6,23,.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  z-index:9998;
  opacity:0;
  pointer-events:none;
  transition:opacity .28s ease;
}

.oase-cc{
  position:fixed;
  left:50%;
  bottom:14px;
  transform:translateX(-50%) translateY(24px);
  width:min(760px, calc(100% - 22px));
  background:rgba(255,255,255,.92);
  border:1px solid var(--oase-border);
  border-radius:22px;
  box-shadow:var(--oase-shadow);
  z-index:9999;
  opacity:0;
  pointer-events:none;
  transition:opacity .28s ease, transform .35s cubic-bezier(.2,.9,.2,1);
  overflow:hidden;
}

.oase-cc.open{
  opacity:1;
  pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}

.oase-cc-backdrop.open{
  opacity:1;
  pointer-events:auto;
}

.oase-cc-inner{
  padding:18px 18px 16px;
}

.oase-cc-head{
  display:flex;
  gap:12px;
  align-items:center;
}

.oase-cc-logo{
  width:48px;
  height:48px;
  border-radius:10px;
  background:transparent;
  padding:0;
  box-shadow:0 6px 18px rgba(0,0,0,.12);
  object-fit:contain;
  display:block;
  flex:0 0 auto;
  position:relative;
  z-index:2;
}

.oase-cc-title{
  font-weight:900;
  font-size:1.05rem;
  color:var(--oase-dark);
  line-height:1.15;
}
.oase-cc-sub{
  font-size:.92rem;
  color:#475569;
  margin-top:2px;
  line-height:1.35;
}

.oase-cc-body{
  margin-top:12px;
  color:#334155;
  font-size:.95rem;
  line-height:1.6;
}

.oase-cc-links{
  margin-top:10px;
  font-size:.86rem;
  color:#64748b;
}
.oase-cc-links a{
  color:#1d4ed8;
  text-decoration:none;
  font-weight:650;
}
.oase-cc-links a:hover{ text-decoration:underline; }

.oase-cc-actions{
  margin-top:14px;
  display:grid;
  gap:10px;
  grid-template-columns:1fr;
}

.oase-cc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 14px;
  border-radius:14px;
  font-weight:800;
  border:1px solid var(--oase-border);
  cursor:pointer;
  background:#fff;
  color:#0f172a;
  transition:.18s ease;
}

.oase-cc-btn:hover{ transform:translateY(-1px); }
.oase-cc-btn.primary{
  background:linear-gradient(135deg,var(--oase-primary),#0f52ba);
  color:#fff;
  border-color:transparent;
}
.oase-cc-btn.danger{
  background:#fff;
  color:#0f172a;
}

.oase-cc-btn.ghost{
  background:rgba(241,245,249,.8);
}

.oase-cc-settings{
  display:none;
  margin-top:12px;
  border-top:1px dashed rgba(148,163,184,.55);
  padding-top:12px;
}

.oase-cc-settings.open{ display:block; }

.oase-cc-toggle{
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:12px 12px;
  background:rgba(248,250,252,.9);
  border:1px solid var(--oase-border);
  border-radius:16px;
  margin-bottom:10px;
}

.oase-cc-toggle strong{ color:#0f172a; }
.oase-cc-toggle span{ color:#64748b; font-size:.9rem; display:block; margin-top:3px; }

.oase-cc-switch{
  width:46px; height:28px;
  background:rgba(148,163,184,.4);
  border-radius:999px;
  position:relative;
  cursor:pointer;
  flex:0 0 auto;
  border:1px solid rgba(148,163,184,.35);
}
.oase-cc-switch::after{
  content:"";
  position:absolute;
  top:3px; left:3px;
  width:22px; height:22px;
  background:white;
  border-radius:50%;
  box-shadow:0 6px 16px rgba(0,0,0,.18);
  transition:.2s ease;
}
.oase-cc-switch.on{
  background:rgba(37,99,235,.45);
  border-color:rgba(37,99,235,.35);
}
.oase-cc-switch.on::after{ left:21px; }

.oase-cc-note{
  font-size:.86rem;
  color:#64748b;
  line-height:1.5;
  margin-top:6px;
}

@media(min-width:720px){
  .oase-cc-actions{
    grid-template-columns:1.2fr 1fr 1fr;
  }
}
