

/* =========================================================
   VIKERDO SHOP - Notification Drawer / Panel (Hesap.com.tr Style)
   ========================================================= */

/* Notification Button in Header */
.notif-btn-wrap {
  position: relative;
  display: inline-block;
}

.notif-toggle-btn {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: visible !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 15px;
}

.notif-toggle-btn:hover {
  background: rgba(99, 102, 241, 0.25);
  border-color: #6366f1;
  color: #fff;
  transform: translateY(-2px);
}

.notif-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ef4444;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-radius: 999px;
  border: 2px solid var(--bg-main, #0a0c10);
  line-height: 1;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
  animation: pulseBadge 2s infinite;
  z-index: 5;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

/* Slide-in Notification Side Drawer (Hesap.com.tr / Dark Luxury Style) */
.notif-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.notif-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.notif-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: #0f131c;
  border-left: 1px solid #1e2638;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.notif-drawer.active {
  right: 0;
}

.notif-drawer-header {
  padding: 18px 20px;
  background: #141a26;
  border-bottom: 1px solid #1e2638;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notif-drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #f8fafc;
}

.notif-drawer-title i {
  color: #3b82f6;
  font-size: 16px;
}

.notif-drawer-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  border-radius: 6px;
  transition: all 0.2s;
}

.notif-drawer-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Quick Actions Bar inside drawer */
.notif-actions-bar {
  padding: 12px 20px;
  background: #111622;
  border-bottom: 1px solid #192233;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.notif-action-btn {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #a5b4fc;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.notif-action-btn:hover {
  background: #6366f1;
  color: #fff;
}

.notif-count-pill {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 2px 7px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
}

/* Notification List Items */
.notif-list-container {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.notif-item {
  background: #141a26;
  border: 1px solid #1e2638;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
  position: relative;
}

.notif-item:hover {
  background: #1a2234;
  border-color: #3b82f6;
  transform: translateX(-3px);
}

.notif-item.unread {
  background: #151d2f;
  border-left: 3px solid #3b82f6;
}

.notif-item-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.notif-item-icon.ticket {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
}

.notif-item-icon.order {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.notif-item-icon.warning {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.notif-item-content {
  flex: 1;
  min-width: 0;
}

.notif-item-title {
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 3px;
  line-height: 1.3;
}

.notif-item-msg {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.45;
  word-break: break-word;
}

.notif-item-time {
  font-size: 10.5px;
  color: #64748b;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.notif-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #64748b;
}

.notif-empty-state i {
  font-size: 40px;
  margin-bottom: 12px;
  color: #334155;
}
