/* GENERATED by docusaurus-plugin-auth-login.ts from src/css/custom.sgp.css */
:root {
  --ifm-color-primary: #00875a;
  --ifm-color-primary-dark: #007a51;
  --brand-primary-rgb: 0, 135, 90;
}
[data-theme='dark'] {
  --ifm-color-primary: #66d9a0;
  --ifm-color-primary-dark: #40cf89;
  --brand-primary-rgb: 102, 217, 160;
}
/*
 * 保護ページのログイン画面（/mulpay/auth/）
 * #368 より前の route-guard（document/src/css/custom.css の .route-guard-*）と同じ見た目にする。
 * ブランド色（--ifm-color-primary など）は、ビルド時に docusaurus-plugin-auth-login.ts が
 * src/css/custom.<ブランド>.css から取り出して、このファイルの先頭に書き足す。
 */

html,
body {
  margin: 0;
  height: 100%;
}

body {
  font-family: "Noto Sans CJK JP", "Noto Sans JP", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "游ゴシック体", "Yu Gothic", "ＭＳ Ｐゴシック", "MS PGothic", Roboto, Arial, sans-serif;
  line-height: 1.65;
  background: #ffffff;
}

[data-theme='dark'] body {
  background: #1b1b1d;
}

[hidden] {
  display: none !important;
}

.route-guard-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.route-guard-modal {
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.route-guard-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a2332;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.route-guard-description {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.route-guard-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.route-guard-input {
  flex: 1;
  padding: 0.6rem 1rem;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.route-guard-input:focus {
  border-color: var(--ifm-color-primary);
  box-shadow: 0 0 0 2px rgba(var(--brand-primary-rgb), 0.15);
}

.route-guard-submit {
  padding: 0.6rem 1.2rem;
  background-color: var(--ifm-color-primary);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.route-guard-submit:hover {
  background-color: var(--ifm-color-primary-dark);
}

.route-guard-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.route-guard-error {
  color: #d32f2f;
  font-size: 0.85rem;
  margin-top: 1rem;
  margin-bottom: 0;
}

[data-theme='dark'] .route-guard-modal {
  background: #1e1e1e;
}

[data-theme='dark'] .route-guard-title {
  color: #e0e0e0;
}

[data-theme='dark'] .route-guard-description {
  color: #999;
}

[data-theme='dark'] .route-guard-input {
  background-color: #2d2d2d;
  border-color: #555;
  color: #e0e0e0;
}

[data-theme='dark'] .route-guard-input:focus {
  border-color: var(--ifm-color-primary);
  box-shadow: 0 0 0 2px rgba(var(--brand-primary-rgb), 0.2);
}

[data-theme='dark'] .route-guard-error {
  color: #ff6b6b;
}
