@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Yesteryear&family=Radley&display=swap");
/* 
 * Notification Styles - Единые стили уведомлений для всего приложения
 * Улучшенный дизайн с соответствием общему стилю сайта
 */
.notifications {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 2000000;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
  pointer-events: none;
}

.notification {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(48, 67, 105, 0.15), 0 4px 16px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(217, 228, 252, 0.3);
  border-left: 6px solid;
  pointer-events: auto;
  position: relative;
  max-width: 100%;
  word-wrap: break-word;
  font-family: "Radley", serif;
  color: #304369;
  min-height: 80px;
  overflow: hidden;
  animation: notificationslideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.notification.error {
  border-left-color: #f44336;
  background: linear-gradient(135deg, rgba(244, 67, 54, 0.05) 0%, rgba(255, 255, 255, 0.98) 100%);
  animation: notificationSlideInPulse 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.notification.error .notification-icon {
  color: #f44336;
}
.notification.error::before {
  background: linear-gradient(90deg, transparent 0%, rgba(244, 67, 54, 0.6) 50%, transparent 100%);
}
.notification.success {
  border-left-color: #4CAF50;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(255, 255, 255, 0.98) 100%);
}
.notification.success .notification-icon {
  color: #4CAF50;
}
.notification.success::before {
  background: linear-gradient(90deg, transparent 0%, rgba(76, 175, 80, 0.6) 50%, transparent 100%);
}
.notification.warning {
  border-left-color: #ff9800;
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.05) 0%, rgba(255, 255, 255, 0.98) 100%);
  animation: notificationSlideInPulse 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.notification.warning .notification-icon {
  color: #ff9800;
}
.notification.warning::before {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 152, 0, 0.6) 50%, transparent 100%);
}
.notification.info {
  border-left-color: #D9E4FC;
  background: linear-gradient(135deg, rgba(217, 228, 252, 0.1) 0%, rgba(255, 255, 255, 0.98) 100%);
}
.notification.info .notification-icon {
  color: #D9E4FC;
}
.notification.info::before {
  background: linear-gradient(90deg, transparent 0%, rgba(217, 228, 252, 0.6) 50%, transparent 100%);
}

.notification-icon {
  flex-shrink: 0;
  font-size: 24px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

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

.notification-title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 4px;
  color: #304369;
  line-height: 1.3;
}

.notification-message {
  font-size: 16px;
  color: #304369;
  line-height: 1.5;
  font-weight: 500;
  opacity: 0.9;
}

/* Эффект блеска внизу уведомления */
.notification::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(217, 228, 252, 0.8) 50%, transparent 100%);
  animation: shimmer 2.5s infinite;
}

/* Анимации */
@keyframes notificationSlideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
    scale: 0.9;
  }
  to {
    transform: translateX(0);
    opacity: 1;
    scale: 1;
  }
}
@keyframes notificationSlideInPulse {
  0% {
    transform: translateX(100%);
    opacity: 0;
    scale: 0.9;
  }
  70% {
    transform: translateX(0);
    opacity: 1;
    scale: 1.02;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
    scale: 1;
  }
}
@keyframes notificationSlideOut {
  from {
    transform: translateX(0);
    opacity: 1;
    scale: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
    scale: 0.9;
  }
}
@keyframes shimmer {
  0% {
    transform: translateX(-100%);
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: translateX(100%);
    opacity: 0.3;
  }
}
/* Адаптивный дизайн */
@media (max-width: 768px) {
  .notifications {
    top: 20px;
    right: 20px;
    left: 20px;
    max-width: none;
  }
  .notification {
    padding: 20px 24px;
    font-size: 15px;
    min-height: 70px;
  }
  .notification-icon {
    font-size: 22px;
  }
  .notification-title {
    font-size: 16px;
  }
  .notification-message {
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  .notifications {
    top: 15px;
    right: 15px;
    left: 15px;
  }
  .notification {
    padding: 18px 20px;
    min-height: 65px;
  }
  .notification-icon {
    font-size: 20px;
  }
  .notification-title {
    font-size: 15px;
  }
  .notification-message {
    font-size: 14px;
  }
}
/* Дополнительные классы для удобства */
.notification.hide {
  animation: notificationSlideOut 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.notification.show {
  transform: translateX(0);
  opacity: 1;
}

/* Утилитарные классы для быстрого создания уведомлений */
.notification.compact {
  padding: 16px 20px;
  min-height: 60px;
}

.notification.large {
  padding: 28px 32px;
  min-height: 90px;
}
.notification.large .notification-title {
  font-size: 20px;
}
.notification.large .notification-message {
  font-size: 17px;
}
.notification.large .notification-icon {
  font-size: 26px;
}

/* Report Error Button Styles */
.notification-report-btn {
  flex-shrink: 0;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border: 1.5px solid #dc3545;
  background-color: transparent;
  color: #dc3545;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  margin-left: auto;
}

.notification-report-btn:hover {
  background-color: #dc3545;
  color: white;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
  transform: translateY(-1px);
}

.notification-report-btn:active {
  transform: translateY(0);
}

/* Mobile adjustments for report button */
@media (max-width: 768px) {
  .notification {
    flex-wrap: wrap;
  }
  
  .notification-report-btn {
    margin-left: 0;
    margin-top: 12px;
    width: 100%;
    padding: 8px 12px;
    font-size: 13px;
  }
}

/*# sourceMappingURL=notifications.css.map */
