*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #F2DFDF;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
}

.auth-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 1rem;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background-color: #ffffff;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb; /* gray-200 */
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.brand-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  background-color: #eff6ff; /* blue-50 */
  color: #2563eb;            /* blue-600 */
  font-size: 1.4rem;
}

.brand-title {
  font-weight: 700;
}

.auth-subtitle {
  font-size: 0.88rem;
  color: #6b7280; /* gray-500 */
}

.auth-footer {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: #6b7280;
  text-align: center;
}

.form-text-small {
  font-size: 0.82rem;
}

/* リンクの色調整（Bootstrapのprimaryに寄せる） */
.auth-link {
  color: #2563eb;
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}

/* ラベルと補助リンクを左右に配置する用 */
.label-with-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* エラーメッセージなどを表示する欄（必要になったら使う） */
.form-message {
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}
.form-message-error {
  color: #b91c1c; /* red-700 */
}
.form-message-success {
  color: #15803d; /* green-700 */
}
