/* Imports */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");

/* CSS Variables */
:root {
  /* Typography */
  --font-family: "Noto Sans JP", sans-serif;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --line-height-base: 1.6;

  /* Colors */
  --color-red: #970000;
  --color-white: #fff;
  --color-black: #000;
  --color-text: #3e3e3e;
  --color-text-secondary: #5a5a5a;
  --color-border: #e0e0e0;
  --color-background: rgba(0, 0, 0, 0);
  --color-light-red: #9700000f;
  --color-light-bg: #f8f8f8;
  --color-light-pink: #fffafa;

  /* Spacing */
  --spacing-xs: 5px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 40px;
  --spacing-huge: 100px;

  /* Border Radius */
  --border-radius-none: 0;
  --border-radius-default: 12px;
}

/* Reset & Base Styles */
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: var(--line-height-base);
  word-spacing: 1px;
}

#toast {
  display: none;
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  max-width: 300px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Show toast animation */
#toast.show {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}

/* Animation for toast disappearance */
#toast.hide {
  opacity: 0;
  transform: translateX(100%);
}

/* Progress Bar */
#progress-bar {
  width: 0;
  transition: width 4s linear;
}
