/* ============================================================
   Notification Permission Card + Modal
   Place in: static/css/notification_card.css
   Matches the profile.html dark / orange design tokens.
   ============================================================ */

.notif-card {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto clamp(20px, 4vw, 32px);
  padding: 22px 24px;
  background: rgba(255, 90, 0, 0.06);
  border: 1px solid rgba(255, 90, 0, 0.22);
  border-radius: 18px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.notif-card-blocked {
  background: rgba(239, 83, 80, 0.06);
  border-color: rgba(239, 83, 80, 0.25);
}

.notif-card-icon {
  font-size: 30px;
  line-height: 1;
  flex-shrink: 0;
}

.notif-card-body { flex: 1; min-width: 220px; }

.notif-card-title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: 19px;
  color: #ff5a00;
  margin-bottom: 6px;
}

.notif-card-blocked .notif-card-title { color: #ef5350; }

.notif-card-desc {
  font-size: 13.5px;
  color: #c9c9c9;
  margin-bottom: 8px;
  line-height: 1.5;
}

.notif-card-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 10px;
  display: grid;
}
.notif-card-list li {
  font-size: 13px;
  color: #aaa;
  position: relative;
  padding-left: 14px;
}
.notif-card-list li::before {
  content: "•";
  color: #ff5a00;
  position: absolute;
  left: 0;
}

.notif-card-privacy {
  font-size: 11.5px;
  color: #f10909;
  line-height: 1.5;
  margin-top: 4px;
}

.notif-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 160px;
  flex-shrink: 0;
}

.notif-btn-enable {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 13px;
  background: #ff5a00;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease;
}
.notif-btn-enable:hover { background: #e04e00; }
.notif-btn-enable:disabled { opacity: .6; cursor: not-allowed; }

.notif-btn-skip {
  font-family: "Barlow", sans-serif;
  font-size: 12.5px;
  color: #888;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  transition: color .2s ease;
}
.notif-btn-skip:hover { color: #ccc; }

@media (max-width: 600px) {
  .notif-card { flex-direction: column; }
  .notif-card-actions { width: 100%; }
  .notif-btn-enable, .notif-btn-skip { width: 100%; }
}
.notif-card-list--check li::before{
    content:"✓";
    color:#5de87c;
    font-weight:bold;
}
.notif-card-privacy-list{
    list-style:none;
    padding:0;
    margin-top:10px;
}

.notif-card-privacy-list li{
    color:#888;
    font-size:12px;
    margin-bottom:6px;
}

.notif-card-privacy-list li::before{
    content:"✓ ";
    color:#5de87c;
}
.notif-modal-footnote{
    font-size:11px;
    color:#777;
    margin-top:12px;
    line-height:1.5;
}
.notif-success-toast{
    position:fixed;
    bottom:25px;
    left:50%;
    transform:translateX(-50%);
    background:#1a1a1a;
    border:1px solid rgba(93,232,124,.4);
    color:#5de87c;
    padding:14px 22px;
    border-radius:12px;
    z-index:999999;
    animation:toastUp .3s ease;
}

.notif-toast-hide{
    opacity:0;
    transform:translate(-50%,20px);
    transition:.35s;
}

@keyframes toastUp{
    from{
        opacity:0;
        transform:translate(-50%,20px);
    }
    to{
        opacity:1;
        transform:translate(-50%,0);
    }
}
/* ── Explainer / Help modal ── */
.notif-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: notifModalFadeIn .25s ease forwards;
}
@keyframes notifModalFadeIn { from { opacity: 0; } to { opacity: 1; } }

.notif-modal-card {
  background: #111111;
  border: 1px solid rgba(255, 90, 0, 0.25);
  border-radius: 18px;
  padding: 32px 26px 26px;
  max-width: 380px;
  width: calc(100% - 40px);
  text-align: center;
  transform: translateY(16px) scale(.98);
  animation: notifModalUp .3s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes notifModalUp { to { transform: translateY(0) scale(1); } }

.notif-modal-icon {
  font-size: 42px;
  display: block;
  margin-bottom: 14px;
}

.notif-modal-title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
  letter-spacing: .1em;
  font-size: 18px;
  color: #ff5a00;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.notif-modal-body {
  font-size: 13.5px;
  color: #b8b8b8;
  line-height: 1.6;
  margin-bottom: 18px;
}

.notif-help-steps {
  text-align: left;
  font-size: 13px;
  color: #b8b8b8;
  line-height: 1.8;
  margin: 0 0 18px 18px;
}

.notif-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}