/* 通知コンテナのスタイル */
#notification-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  max-width: 400px;
}

/* 通知アイテムの基本スタイル */
.notification {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 1rem;
  margin-bottom: 0.5rem;
  border-left: 4px solid;
  animation: slideIn 0.3s ease-out;
}

/* 成功通知のスタイル */
.notification-success {
  border-left-color: #10b981;
  background-color: #f0fdf4;
}

/* エラー通知のスタイル */
.notification-error {
  border-left-color: #ef4444;
  background-color: #fef2f2;
}

/* 通知のアニメーション */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* 通知のフェードアウトアニメーション */
.notification.fade-out {
  animation: fadeOut 0.3s ease-in forwards;
}

@keyframes fadeOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* ダウンロードボタンのスタイル */
.notification a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
  background-color: #2563eb;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: background-color 0.2s;
}

.notification a:hover {
  background-color: #1d4ed8;
}

.notification a:focus {
  outline: none;
  ring: 2px;
  ring-offset: 2px;
  ring-color: #3b82f6;
}
