/* ===== NOTIFICATION PANEL STYLES ===== */

/* ===== TAMBAHKAN CSS INI DI BAGIAN notification.css ===== */
/* Cari bagian .notification-icon dan tambahkan style baru ini */

.notification-icon.order_success {
  background: rgba(0, 255, 127, 0.2);
  color: #00ff7f;
}

.notification-icon.order_cod {
  background: rgba(255, 165, 0, 0.2);
  color: #ffa500;
}

.notification-icon.order_shipped {
  background: rgba(0, 191, 255, 0.2);
  color: #00bfff;
}

.notification-icon.order_delivered {
  background: rgba(138, 43, 226, 0.2);
  color: #8a2be2;
}

/* ATAU jika ingin replace semua, gunakan ini: */

.notification-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.notification-icon.auction_sold {
  background: rgba(0, 255, 127, 0.2);
  color: #00ff7f;
}

.notification-icon.product_approved {
  background: rgba(0, 191, 255, 0.2);
  color: #00bfff;
}

.notification-icon.bid_received {
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
}

.notification-icon.welcome {
  background: rgba(147, 51, 234, 0.2);
  color: #9333ea;
}

.notification-icon.order_success {
  background: rgba(0, 255, 127, 0.2);
  color: #00ff7f;
}

.notification-icon.order_cod {
  background: rgba(255, 165, 0, 0.2);
  color: #ffa500;
}

.notification-icon.order_shipped {
  background: rgba(0, 191, 255, 0.2);
  color: #00bfff;
}

.notification-icon.order_delivered {
  background: rgba(138, 43, 226, 0.2);
  color: #8a2be2;
}

.notification-icon.product_rejected {
  background: rgba(255, 107, 107, 0.2);
  color: #ff6b6b;
}

.notification-icon.new_message {
  background: rgba(255, 99, 132, 0.2);
  color: #ff6384;
}

.notification-panel {
  display: none;
  position: fixed;
  top: 80px;
  right: 20px;
  width: 400px;
  max-height: 600px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(0, 255, 255, 0.3);
  z-index: 999;
  animation: slideInRight 0.3s ease;
  overflow: hidden;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.notification-panel.active {
  display: flex;
  flex-direction: column;
}

.notification-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notification-header h3 {
  color: #fff;
  font-size: 18px;
  margin: 0;
}

.notification-actions {
  display: flex;
  gap: 10px;
}

.mark-all-read {
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.3);
  color: #00ffff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  transition: 0.3s;
}

.mark-all-read:hover {
  background: rgba(0, 255, 255, 0.2);
}

.close-notification {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: 0.3s;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close-notification:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ff6b6b;
}

.notification-list {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  max-height: 500px;
}

.notification-list::-webkit-scrollbar {
  width: 6px;
}

.notification-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.notification-list::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 255, 0.3);
  border-radius: 10px;
}

.notification-list::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 255, 0.5);
}

.notification-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.notification-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-5px);
}

.notification-item.unread {
  background: rgba(0, 255, 255, 0.1);
  border-color: rgba(0, 255, 255, 0.3);
}

.notification-item.unread::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: #00ffff;
  border-radius: 0 4px 4px 0;
}

.notification-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 10px;
}

.notification-icon.auction_sold {
  background: rgba(0, 255, 127, 0.2);
  color: #00ff7f;
}

.notification-icon.product_approved {
  background: rgba(0, 191, 255, 0.2);
  color: #00bfff;
}

.notification-icon.bid_received {
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
}

.notification-icon.welcome {
  background: rgba(147, 51, 234, 0.2);
  color: #9333ea;
}

.notification-content {
  flex: 1;
}

.notification-title {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
}

.notification-message {
  color: #aaa;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.notification-date {
  color: #666;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.notification-date i {
  font-size: 10px;
}

.notification-empty {
  text-align: center;
  padding: 60px 20px;
}

.notification-empty i {
  font-size: 60px;
  color: rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.notification-empty p {
  color: #666;
  font-size: 14px;
}

.notification-footer {
  padding: 15px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.view-all-notifications {
  color: #00ffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: 0.3s;
}

.view-all-notifications:hover {
  color: #00ccff;
}

/* Responsive */
@media (max-width: 768px) {
  .notification-panel {
    width: calc(100% - 40px);
    right: 20px;
    left: 20px;
    max-height: 500px;
  }
}