/* Overlay для затемнения страницы */
.notification-banner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  display: none;
  animation: fadeIn 0.3s ease;
}

.notification-banner-overlay.show {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Баннер для запроса уведомлений */
.notification-banner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-card);
  border: 1px solid var(--sep);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  max-width: 90%;
  width: 400px;
  display: none;
  animation: slideUp 0.3s ease;
}

.notification-banner.show {
  display: block;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.notification-banner-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notification-banner-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.4;
}

.notification-banner-actions {
  display: flex;
  gap: 8px;
}

.notification-banner-btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.notification-banner-btn.primary {
  background: var(--tint);
  color: white;
}

.notification-banner-btn.primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.notification-banner-btn.secondary {
  background: var(--fill);
  color: var(--text);
}

.notification-banner-btn.secondary:hover {
  background: var(--sep);
}

@media (max-width: 480px) {
  .notification-banner {
    top: 50%;
    width: calc(100% - 20px);
    padding: 14px 16px;
  }
  
  .notification-banner-text {
    font-size: 13px;
  }
  
  .notification-banner-btn {
    padding: 8px 12px;
    font-size: 13px;
  }
}

