/*
 * 入口の見た目を決める（CSS）: index.html の色、入力欄、余白をそろえる。
 * HTML の link 要素から読み、ページ内へ直接書いていた指定をそのまま使う。
 * CSS は、画面部品の大きさや並べ方をブラウザへ伝える書き方。
 */

  /* 見た目をそろえる（CSS 変数）: 見本と同じ色・余白・360px のカードを使う */
  :root { --bg: #1b1e26; --card: #242835; --line: #333a4d; --text: #e8eaf0; --blue: #4f7cff; }
  * { box-sizing: border-box; }
  body { margin: 0; background: var(--bg); color: var(--text); font-family: "Segoe UI", "Yu Gothic UI", sans-serif; display: flex; flex-direction: column; align-items: center; padding: 72px 16px; }
  .card { width: 360px; max-width: 100%; background: var(--card); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
  h1 { font-size: 17px; margin: 0 0 4px; font-weight: 600; }
  /* 入力欄を横に並べる（flex）: ID の幅は送信アプリと同じ 38% */
  .pair { display: flex; gap: 8px; }
  .pair input { height: 36px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--line); background: #1b1e26; color: var(--text); font-size: 14px; font-family: inherit; min-width: 0; }
  .pair input::placeholder { color: #5f6780; }
  .pair .id { flex: 0 0 38%; }
  .pair .pw { flex: 1; }
  button { height: 38px; border: 0; border-radius: 8px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; }
  button:disabled { opacity: .65; cursor: wait; }
  .err { color: #ff8080; font-size: 12px; min-height: 16px; }
  .brand { margin-top: 14px; font-size: 11px; color: #4a5165; letter-spacing: .06em; }
