/* Auth0 Universal Login 風の中立デザイン (login / org-picker 共用)。実在ブランドは模倣しない。 */
* { box-sizing: border-box; }
.auth-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #e9e9e9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  color: #1f2933;
}
.auth-card {
  width: 360px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 36px 40px 28px;
  text-align: center;
}
.auth-logo {
  width: 52px; height: 52px;
  margin: 4px auto 18px;
  background: #f2f2f2;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.auth-title { font-size: 24px; font-weight: 400; margin: 0 0 10px; }
.auth-sub { font-size: 13px; color: #5b5b5b; margin: 0 0 22px; line-height: 1.5; }

.auth-field { text-align: left; margin-bottom: 16px; }
.auth-field label { display: block; font-size: 12px; color: #65676b; margin-bottom: 4px; }
.auth-field .req { color: #d33; margin-left: 2px; }
.auth-field input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  font-size: 15px;
  border: 1px solid #c9c9c9;
  border-radius: 3px;
  outline: none;
}
.auth-field input:focus { border-color: #635dff; box-shadow: 0 0 0 1px #635dff; }

.auth-pw-wrap { position: relative; }
.auth-pw-wrap input { padding-right: 42px; }
.auth-pw-toggle {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border: none; background: transparent; cursor: pointer;
  font-size: 15px; opacity: 0.6;
}
.auth-pw-toggle:hover { opacity: 1; }

.auth-error { color: #d33; font-size: 12.5px; text-align: left; margin: -6px 0 12px; }

.auth-link {
  display: inline-block;
  font-size: 13px;
  color: #635dff;
  text-decoration: none;
  margin: 2px 0 20px;
  text-align: left;
  align-self: flex-start;
}
.auth-link:hover { text-decoration: underline; }
#login-form { display: flex; flex-direction: column; }
#login-form .auth-link { margin-right: auto; }

.auth-submit {
  width: 100%;
  height: 46px;
  background: #2a2e35;
  color: #fff;
  border: none;
  border-radius: 3px;
  font-size: 15px;
  cursor: pointer;
}
.auth-submit:hover { background: #1c1f24; }

.auth-foot {
  margin-top: 18px;
  font-size: 12px;
  color: #8a8a8a;
}
.auth-foot a { color: #8a8a8a; text-decoration: none; }
.auth-foot a:hover { text-decoration: underline; }
.auth-foot span { margin: 0 4px; }
.auth-foot-note { display: block; margin-top: 4px; color: #b0b0b0; }

/* ===== 組織選択 (organization-picker) ===== */
.org-list { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.org-list form { margin: 0; }
.org-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  text-align: left;
}
.org-btn:hover { background: #f7f7f7; border-color: #b9b9b9; }
.org-avatar {
  width: 26px; height: 26px;
  border-radius: 5px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12px; font-weight: 700;
  flex: 0 0 auto;
}
.org-sub { font-weight: 700; }
.auth-account { font-size: 13px; color: #5b5b5b; margin: 0 0 18px; }
.auth-account b { color: #1f2933; }
