/* =====================================================================
   DENTIOS - 認証画面（ログイン / 登録 / パスワードリセット）
   エミウム参考: 中央カード型・白背景・ブルーボタン
   ===================================================================== */
.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
  background: #EEF2FF;
}
/* 背景の薄い波形SVGパターン */
.auth-waves {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%; height: 60vh;
  z-index: 0;
  pointer-events: none;
}
.auth-body > .auth-card { position: relative; z-index: 1; }

/* フローティングラベル入力 */
.auth-float { position: relative; margin: 18px 0 4px; }
.auth-float input {
  width: 100%;
  padding: 18px 42px 8px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.auth-float input:focus {
  outline: none;
  border-color: var(--clinic);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}
.auth-float label {
  position: absolute;
  left: 13px; top: 14px;
  color: var(--text-mute);
  font-size: 15px;
  pointer-events: none;
  transition: all .15s ease;
}
/* 入力済み or フォーカス時にラベルを上へ */
.auth-float input:focus + label,
.auth-float input:not(:placeholder-shown) + label {
  top: 6px;
  font-size: 11px;
  color: var(--clinic);
  font-weight: 600;
}
.auth-eye {
  position: absolute;
  right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  font-size: 17px; color: var(--text-mute); padding: 4px;
  line-height: 1;
}
.auth-eye:hover { color: var(--text); }

.auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 40px 36px 28px;
}

.auth-brand { text-align: center; margin-bottom: 28px; }
.auth-logo {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--clinic);
}
.auth-logo__img {
  height: 42px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}
.auth-tagline { margin: 6px 0 0; color: var(--text-soft); font-size: 13px; }

.auth-form { display: flex; flex-direction: column; }
.auth-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  margin: 14px 0 6px;
}
.auth-input {
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: border-color .15s, box-shadow .15s;
}
.auth-input:focus {
  outline: none;
  border-color: var(--clinic);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}

.auth-btn {
  margin-top: 24px;
  padding: 12px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--clinic);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.auth-btn:hover { background: var(--clinic-dark); }

.auth-links {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
}
.auth-links a { color: var(--clinic); }
.auth-sep { color: var(--text-mute); margin: 0 4px; }

.auth-alert {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 18px;
}
.auth-alert--error   { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.auth-alert--success { background: #F0FDF4; color: #15803D; border: 1px solid #BBF7D0; }
.auth-alert--info    { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }

.auth-foot {
  margin: 24px 0 0;
  text-align: center;
  color: var(--text-mute);
  font-size: 11px;
}

.auth-help { font-size: 13px; color: var(--text-soft); margin: 0 0 18px; line-height: 1.7; }
