/* ============================================================
 * auth.css
 * ログイン/登録/パスワードリセット共通CSS
 * Authentication pages shared CSS (login, register, password reset)
 * ============================================================ */

/* ------------------------------------------------------------
 * 認証ページレイアウト
 * Auth page layout and background effects
 * ------------------------------------------------------------ */
.auth-page { min-height: 100vh; background: linear-gradient(135deg, var(--auth-bg-primary) 0%, var(--auth-bg-secondary) 50%, var(--auth-bg-primary) 100%); display: flex; align-items: center; justify-content: center; padding: 1rem; position: relative; overflow: hidden; font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif; }
.auth-page::before, .auth-page::after { content: ""; position: absolute; width: 24rem; height: 24rem; border-radius: 50%; filter: blur(60px); pointer-events: none; opacity: 0.6; }
.auth-page::before { top: 25%; left: 25%; background: var(--auth-glow-cyan); }
.auth-page::after { bottom: 25%; right: 25%; background: var(--auth-glow-blue); }
.auth-container { position: relative; width: 100%; max-width: 36rem; z-index: 10; }
.auth-card { background: var(--auth-card-bg); backdrop-filter: blur(20px); border: 1px solid var(--auth-border); border-radius: 1.5rem; padding: 2rem; box-shadow: rgba(0, 0, 0, 0.5) 0px 25px 50px -12px; }
.auth-logo { display: flex; flex-direction: column; align-items: center; margin-bottom: 2rem; }
.auth-logo-link { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; margin-bottom: 1.5rem; transition: opacity 0.2s ease 0s; }
.auth-logo-link:hover { opacity: 0.8; }
.auth-logo-text { font-family: Outfit, sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--auth-text-primary); letter-spacing: -0.025em; }
.auth-title { font-size: 1.5rem; font-weight: 700; color: var(--auth-text-primary); margin: 0px; }
.auth-subtitle { color: var(--auth-text-secondary); margin-top: 0.5rem; text-align: center; font-size: 0.875rem; line-height: 1.5; }
.auth-subtitle { color: var(--auth-text-secondary); margin-top: 0.5rem; text-align: center; font-size: 0.875rem; line-height: 1.5; }
.auth-subtitle-alart { color:pink; margin-top: 0.5rem; text-align: center; font-size: 0.875rem; line-height: 1.5; }

.auth-form { display: flex; flex-direction: column; gap: 1.5rem; }
.auth-field { display: flex; flex-direction: column; }
.auth-label { display: block; font-size: 0.875rem; font-weight: 500; color: rgba(255, 255, 255, 0.8); margin-bottom: 0.5rem; }
.auth-input { width: 100%; padding: 0.75rem 1rem; background: var(--auth-input-bg); border: 1px solid var(--auth-border); border-radius: 0.75rem; color: var(--auth-text-primary); font-size: 1rem; transition: border-color 0.2s ease 0s, box-shadow 0.2s ease 0s; outline: none; box-sizing: border-box; }
.auth-input::placeholder { color: var(--auth-text-muted); }
.auth-input:focus { border-color: var(--auth-accent); box-shadow: 0 0 0 1px var(--auth-accent); }
.auth-input-wrapper { position: relative; }
.auth-input-wrapper .auth-input { padding-right: 3rem; }
.auth-password-toggle { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); background: none; border: none; padding: 0.25rem; color: var(--auth-text-muted); cursor: pointer; transition: color 0.2s ease 0s; }
.auth-password-toggle:hover { color: rgba(255, 255, 255, 0.7); }
.auth-password-toggle svg { width: 1.25rem; height: 1.25rem; }
.auth-forgot-link { display: flex; justify-content: flex-end; margin-top: -0.5rem; }
.auth-forgot-link a { font-size: 0.875rem; color: var(--auth-text-secondary); text-decoration: none; transition: color 0.2s ease 0s; }
.auth-forgot-link a:hover { color: var(--auth-accent); }
.auth-checkbox-wrapper { display: flex; align-items: flex-start; gap: 0.75rem; }
.auth-checkbox { margin-top: 0.125rem; width: 1rem; height: 1rem; border-radius: 0.25rem; border: 1px solid var(--auth-border); background: var(--auth-input-bg); cursor: pointer; accent-color: var(--auth-accent); }
.auth-checkbox-label { font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); cursor: pointer; }
.auth-checkbox-label a { color: var(--auth-accent); text-decoration: none; transition: color 0.2s ease 0s; }
.auth-checkbox-label a:hover { color: var(--auth-accent-hover); }
.auth-submit { width: 100%; padding: 0.75rem 1.5rem; background: var(--auth-text-primary); color: rgb(0, 0, 0); font-weight: 600; font-size: 1rem; border: none; border-radius: 0.75rem; cursor: pointer; transition: background 0.2s ease 0s, opacity 0.2s ease 0s; }
.auth-submit:hover { background: rgba(255, 255, 255, 0.9); }
.auth-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.auth-footer { margin-top: 2rem; text-align: center; }
.auth-footer p { color: var(--auth-text-secondary); margin: 0px; font-size: 0.875rem; }
.auth-footer a { color: var(--auth-accent); text-decoration: none; font-weight: 500; margin-left: 0.5rem; transition: color 0.2s ease 0s; }
.auth-footer a:hover { color: var(--auth-accent-hover); }
.auth-back-home { text-align: center; margin-top: 1.5rem; }
.auth-back-home a { color: var(--auth-text-muted); text-decoration: none; font-size: 0.875rem; transition: color 0.2s ease 0s; }
.auth-back-home a:hover { color: rgba(255, 255, 255, 0.7); }
@media (max-width: 640px) {
  .auth-card { padding: 1.5rem; border-radius: 1rem; }
  .auth-page::before, .auth-page::after { width: 16rem; height: 16rem; }
}
.auth-page { user-select: none; }
.auth-input { user-select: text; }
.auth-textarea { resize: none; min-height: 120px; line-height: 1.5; }
.auth-success { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1rem 0px; }
.auth-success-icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: rgba(34, 211, 153, 0.15); border-radius: 50%; margin-bottom: 1.5rem; color: rgb(52, 211, 153); }
.auth-success-title { font-size: 1.25rem; font-weight: 600; color: var(--auth-text-primary); margin: 0px 0px 0.75rem; }
.auth-success-message { font-size: 0.875rem; color: var(--auth-text-secondary); margin: 0px 0px 1.5rem; line-height: 1.5; }
