#awp-overlay { --awp-accent: #C8923A; }

.awp-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0,0,0,.55);
  z-index: 99999;
}

.awp-overlay.awp-open { display: flex; }

.awp-modal {
  width: min(920px, 100%);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  overflow: hidden;
  position: relative;
  border-top: 6px solid var(--awp-accent);
}

.awp-close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 0;
  background: rgba(0,0,0,.05);
  font-size: 28px;
  line-height: 42px;
  cursor: pointer;
}

.awp-head { padding: 22px 22px 10px; }
.awp-title { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.awp-subtitle { font-size: 14px; opacity: .8; }

.awp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 14px 22px 10px;
}

.awp-card {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 16px;
  background: #fff;
}

.awp-card-title { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.awp-card-text { font-size: 13px; opacity: .85; margin-bottom: 14px; }

.awp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  width: 100%;
}

.awp-btn-primary {
  background: var(--awp-accent);
  color: #111;
}

.awp-btn-ghost {
  background: transparent;
  border: 2px solid var(--awp-accent);
  color: #111;
}

.awp-never{
  display:flex;
  gap:10px;
  align-items:center;
  padding: 0 22px 14px;
  font-size: 13px;
  opacity: .9;
}
.awp-never input{ width:18px; height:18px; }

.awp-foot {
  padding: 0 22px 18px;
  opacity: .75;
  font-size: 12px;
}

@media (max-width: 720px) {
  .awp-grid { grid-template-columns: 1fr; }
  .awp-title { font-size: 18px; }
}
/* === FORCE TEXT COLORS (fix for theme conflicts) === */
.awp-modal,
.awp-modal * {
  color: #111 !important;
}

.awp-subtitle,
.awp-card-text,
.awp-foot small {
  color: #555 !important;
}
/* === HARD FIX: theme overrides (text invisible) === */
#awp-overlay .awp-modal,
#awp-overlay .awp-modal *{
  color: #111 !important;
  -webkit-text-fill-color: #111 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* specific text blocks */
#awp-overlay .awp-title{ color:#111 !important; -webkit-text-fill-color:#111 !important; }
#awp-overlay .awp-subtitle,
#awp-overlay .awp-card-text,
#awp-overlay .awp-foot small{
  color:#555 !important;
  -webkit-text-fill-color:#555 !important;
}

/* buttons (ghost button was “empty”) */
#awp-overlay .awp-btn-primary{
  color:#111 !important;
  -webkit-text-fill-color:#111 !important;
}
#awp-overlay .awp-btn-ghost{
  color:#111 !important;
  -webkit-text-fill-color:#111 !important;
}


