/* ===== NOTIFICATIONS ===== */
.notification-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
  width: 100%;
  pointer-events: none;
}

.notification {
  background: white;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-left: 4px solid #2563eb;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(calc(100% + 30px));
  opacity: 0;
  animation: slideIn 0.4s forwards;
  pointer-events: auto;
  transition:
    opacity 0.3s,
    transform 0.3s;
}

.notification.hide {
  animation: slideOut 0.4s forwards;
}

.notification .icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification .content {
  flex: 1;
  font-size: 0.95rem;
  color: #0b1a33;
  font-weight: 500;
  line-height: 1.4;
}

.notification .close-btn {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0 4px;
  transition: color 0.2s;
}

.notification .close-btn:hover {
  color: #0b1a33;
}

/* Types */
.notification.success {
  border-color: #10b981;
}

.notification.success .icon {
  background: #ecfdf5;
  color: #10b981;
}

.notification.error {
  border-color: #dc2626;
}

.notification.error .icon {
  background: #fef2f2;
  color: #dc2626;
}

.notification.warning {
  border-color: #f59e0b;
}

.notification.warning .icon {
  background: #fffbeb;
  color: #f59e0b;
}

.notification.info {
  border-color: #2563eb;
}

.notification.info .icon {
  background: #eef4ff;
  color: #2563eb;
}

@keyframes slideIn {
  0% {
    transform: translateX(calc(100% + 30px));
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  0% {
    transform: translateX(0);
    opacity: 1;
  }

  100% {
    transform: translateX(calc(100% + 30px));
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 480px) {
  .notification-container {
    top: 16px;
    right: 16px;
    left: 16px;
    max-width: 100%;
  }

  .notification {
    padding: 14px 16px;
    font-size: 0.9rem;
  }
}
