/* 通知コンテナ - 右上固定 */
.notifications-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 24rem;
}

/* 通知の基本スタイル - シンプルなトースト */
.notification {
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.4s ease-out;
  transform-origin: top center;
  color: white;
}

.notification.notification-success {
  background-color: #16a34a;
}

.notification.notification-error {
  background-color: #dc2626;
}

.notification.notification-info {
  background-color: #2563eb;
}

.notification.notification-warning {
  background-color: #ca8a04;
}

.notification-content {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 0.75rem;
}

.notification-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.notification-text {
  flex: 1;
}

.notification-title {
  display: none;
}

.notification-message {
  font-size: 0.875rem;
  margin: 0;
}

.notification-close {
  padding: 0.25rem;
  border: none;
  background: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  color: white;
}

.notification-close:hover {
  opacity: 1;
}

.notification-close svg {
  width: 1rem;
  height: 1rem;
}

/* モバイル対応 */
@media (max-width: 640px) {
  .notifications-container {
    top: 0.5rem;
    right: 0.5rem;
    left: 0.5rem;
    max-width: none;
  }

  .notification {
    padding: 0.5rem 1rem;
  }
}
