:root {
  --primary-color: #eb3505;
  --primary-dark: #d43004;
  --secondary-color: #1e293b;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
  --text-color: #475569;
  --border-color: #e2e8f0;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Notification Container */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  max-width: 400px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.notification.show {
  animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification:not(.show) {
  animation: slideOutRight 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100px);
  }
}

/* Success Notification */
.notification-success {
  border-left-color: var(--success-color);
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.notification-success i {
  color: var(--success-color);
  font-size: 18px;
}

.notification-success span {
  color: #065f46;
  font-weight: 600;
}

/* Error Notification */
.notification-error {
  border-left-color: var(--danger-color);
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
}

.notification-error i {
  color: var(--danger-color);
  font-size: 18px;
}

.notification-error span {
  color: #991b1b;
  font-weight: 600;
}

/* Warning Notification */
.notification-warning {
  border-left-color: var(--warning-color);
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.notification-warning i {
  color: var(--warning-color);
  font-size: 18px;
}

.notification-warning span {
  color: #92400e;
  font-weight: 600;
}

/* Info Notification */
.notification-info {
  border-left-color: #3b82f6;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.notification-info i {
  color: #3b82f6;
  font-size: 18px;
}

.notification-info span {
  color: #1e40af;
  font-weight: 600;
}

/* Close Button */
.notification-close {
  margin-left: auto;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font-size: 16px;
  padding: 0;
  transition: transform 0.2s ease;
  opacity: 0.6;
  flex-shrink: 0;
}

.notification-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Alert Box (for inline errors) */
.alert {
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert-success {
  background: #d1fae5;
  color: #065f46;
  border-left-color: var(--success-color);
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border-left-color: var(--danger-color);
}

.alert-warning {
  background: #fef3c7;
  color: #92400e;
  border-left-color: var(--warning-color);
}

.alert-info {
  background: #dbeafe;
  color: #1e40af;
  border-left-color: #3b82f6;
}

.alert i {
  font-size: 16px;
  flex-shrink: 0;
}

.alert span {
  flex: 1;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 480px) {
  .notification {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
    padding: 14px 16px;
    font-size: 13px;
  }

  .notification i {
    font-size: 16px;
  }

  .notification-close {
    font-size: 14px;
  }

  .alert {
    padding: 12px 14px;
    font-size: 13px;
    margin-bottom: 16px;
  }

  .alert i {
    font-size: 14px;
  }
}
