/* ページ全体の背景 */
body {
  background-image: url('/static/background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Arial', sans-serif;
}

/* 中央のコンテナ */
.reset-container {
  text-align: center;
  background-color: rgba(19, 41, 61, 0.9);
  padding: 2.5rem 3.5rem;
  border-radius: 1.25rem;
  border: 2px solid #6dd5ed;
  box-shadow: 0 0.5rem 2rem 0 rgba(0, 0, 0, 0.3);
  width: 35%;
  max-width: 500px;
  color: #f0f0f0;
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.instruction {
    color: #ccc;
    margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  font-size: 1rem;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  box-sizing: border-box;
}

.submit-btn {
  width: 100%;
  padding: 0.8rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  background-color: #007bff;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.submit-btn:hover {
  background-color: #0069d9;
  transform: translateY(-2px);
}

.back-link {
  display: block;
  margin-top: 2rem;
  color: #6dd5ed;
  text-decoration: underline;
}

.flash-messages {
  padding: 1rem;
  margin-bottom: 1.5rem;
  background-color: rgba(220, 53, 69, 0.2);
  border: 1px solid #dc3545;
  color: #dc3545;
  border-radius: 0.5rem;
}
.flash-messages p {
    margin: 0;
}
@media (max-width: 768px) {
  .reset-container {
    width: 90%;
    padding: 1.5rem; /* ★修正: 内側の余白を縮小 */
  }
  h1 {
    font-size: 1.5rem; /* ★修正: 文字サイズを小さく */
  }
  .instruction {
      font-size: 0.9rem; /* ★修正: 文字サイズを小さく */
      margin-bottom: 1rem;
  }
  input[type="text"],
  input[type="email"] {
      font-size: 1rem;
      padding: 0.7rem; /* ★修正: 入力欄のサイズを調整 */
  }
  .submit-btn {
      padding: 0.8rem; /* ★修正: ボタンサイズを小さく */
      font-size: 1rem;
  }
  .back-link {
      margin-top: 1.5rem;
  }
}