/*
Theme Name: Digital Catch Mobile
Author: Digital Catch Team
Version: 1.0.0
Description: 東海大学前 リアルタイム飲食マッチング専用テーマ
*/

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #f97316;
  --bg: #f8fafc;
  --card-bg: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: #e2e8f0;
  color: var(--text);
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

/* スマホ幅コンテナ */
.mobile-app-frame {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background-color: var(--card-bg);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
}

/* ヘッダー */
.app-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  z-index: 100;
}

.brand-logo {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
}

.badge-tag {
  font-size: 0.75rem;
  background: #eff6ff;
  color: var(--primary);
  padding: 3px 8px;
  border-radius: 99px;
  font-weight: 600;
}

/* メインコンテンツエリア */
.app-content {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}

.box-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* ボタングリッド */
.grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.select-btn {
  padding: 12px 6px;
  border: 1px solid var(--border);
  background: #f8fafc;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.select-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* 固定フッターアクション */
.app-bottom-bar {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: #ffffff;
  position: sticky;
  bottom: 0;
  z-index: 100;
}

.main-action-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.main-action-btn:active {
  transform: scale(0.98);
}