/* ────────────────────────────────────────────────────────────────
   Premium Daily Notification Popup Styling
   ──────────────────────────────────────────────────────────────── */

:root{
  /* --popup-overlay: rgba(254, 249, 243, 0.95); */
  --card-bg: #fffdf8;
  --muted: #6c6c6c;
  --title: #1d1b16;
  --accent-start: #c9a96e;
  --accent-end: #d4a574;
  --btn-text: #1d120b;
  --shadow: 0 12px 40px rgba(28, 25, 18, 0.08);
}

.notification-popup {
  position: fixed;
  inset: 0;
  background: var(--popup-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  animation: np-fadeIn 220ms ease-out;
}

.notification-popup.hidden { display: none; }

.notification-container {
  width: 100%;
  max-width: 520px;
  padding: 20px;
}

.notification-card {
  background: linear-gradient(180deg, #fffdf8 0%, #fcf4e8 100%);
  border-radius: 14px;
  padding: 18px 18px 20px 18px;
  box-shadow: var(--shadow);
  color: var(--title);
  position: relative;
  overflow: hidden;
  transform-origin: center bottom;
  animation: np-slideUp 320ms cubic-bezier(.22,.9,.21,1);
}

/* Accent bar at top */
.notification-accent{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--accent-start), var(--accent-end));
}

/* Close button */
.close-btn{
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .06s ease;
}

.close-btn:hover{ background: rgba(0,0,0,0.03); color: var(--title); transform: translateY(-1px);} 

.notification-body{
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 8px 8px 8px;
}

.notification-emoji{
  min-width: 64px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(201,169,110,0.18), rgba(232,201,138,0.12));
  font-size: 34px;
  box-shadow: 0 6px 18px rgba(28,25,18,0.08) inset;
}

.notification-content{ flex: 1; }

.notification-title{
  margin: 0 0 6px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--title);
}

.notification-message{
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.notification-actions{
  display: flex;
  justify-content: flex-end;
  padding: 12px 8px 6px 8px;
}

.btn-primary{
  background: linear-gradient(90deg, var(--accent-start), var(--accent-end));
  color: var(--btn-text);
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(201,169,110,0.18);
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}

.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 12px 28px rgba(201,169,110,0.22); }
.btn-primary:active{ transform: translateY(0); opacity: .95 }

/* subtle focus styles */
.close-btn:focus, .btn-primary:focus{ outline: 3px solid rgba(245,158,11,0.15); outline-offset: 2px; }

/* Animations */
@keyframes np-fadeIn{ from{ opacity:0 } to{ opacity:1 } }
@keyframes np-slideUp{ from{ transform: translateY(18px) scale(.995); opacity:0 } to{ transform: translateY(0) scale(1); opacity:1 } }

/* Responsive adjustments */
@media (max-width:600px){
  .notification-card{ border-radius: 12px; padding: 14px; }
  .notification-body{ gap: 12px; }
  .notification-emoji{ min-width:52px; min-height:52px; font-size:28px }
  .notification-title{ font-size:15px }
  .notification-message{ font-size:14px }
  .btn-primary{ padding:9px 14px }
}

@media (max-width:400px){
  .notification-card{ padding:12px }
  .notification-body{ flex-direction: row }
}
