html { font-size: 14px; }
@media (min-width: 768px) { html { font-size: 16px; } }

body {
  margin-bottom: 60px;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  background: #f8f9fa;
}

.btn:focus, .btn:active:focus, .form-control:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #d63031;
}

/* 顧客サマリーカード（CRM由来） */
.mat-status-card {
  background: white;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border-top: 3px solid #d63031;
  height: 100%;
}
.mat-status-card h3 { font-size: 13px; color: #777; font-weight: normal; margin-bottom: 6px; }
.mat-status-card .num { font-size: 24px; font-weight: bold; color: #2c3e50; margin-bottom: 2px; }
.mat-status-card small { color: #888; font-size: 11px; }

/* 認証後 買取マイページ TOP */
.mypage-top-hero {
  background: linear-gradient(135deg, #d63031, #e17055);
  color: white;
  padding: 36px 32px;
  border-radius: 12px;
  margin-bottom: 16px;
}
.mypage-top-greeting {
  font-size: 24px;
  margin-bottom: 6px;
}
.mypage-top-greeting strong {
  font-weight: 700;
}
.mypage-top-sub {
  font-size: 14px;
  opacity: 0.92;
  margin-bottom: 0;
}

/* 入口LP */
.hero {
  background: linear-gradient(135deg, #d63031, #e17055);
  color: white;
  padding: 60px 32px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 32px;
}
.hero h1 { font-size: 32px; margin-bottom: 12px; }
.hero p { font-size: 16px; opacity: 0.95; }

/* マイページ */
.mypage-card {
  background: white;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  margin-bottom: 16px;
}
.mypage-card h2 {
  font-size: 16px;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
  margin-bottom: 16px;
  color: #2c3e50;
}

.token-pane {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 16px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 12px;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 400px;
  overflow-y: auto;
}
.token-pane .key { color: #f1c40f; }
.token-pane .none {
  color: #e74c3c;
  font-style: italic;
  text-align: center;
  padding: 24px;
}

/* 認証ステータスバッジ */
.auth-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
}
.auth-badge--on { background: #27ae60; color: white; }
.auth-badge--off { background: #95a5a6; color: white; }

/* dev panel */
.dev-panel {
  background: #34495e;
  color: white;
  padding: 16px 20px;
  border-radius: 6px;
  margin-top: 24px;
  font-size: 13px;
}
.dev-panel h3 { color: #f1c40f; font-size: 14px; margin-bottom: 8px; }
.dev-panel code {
  background: #1c2833;
  padding: 2px 6px;
  border-radius: 3px;
  color: #ecf0f1;
}
