/* PC操作を前提とした大きめUI用の追加スタイル */

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
}

.tab-btn {
  padding: 0.9rem 1.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 0.75rem;
  transition: all 0.15s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.tab-btn.active {
  background-color: #4f46e5;
  color: white;
}

.tab-btn:not(.active) {
  background-color: #e5e7eb;
  color: #374151;
}

.tab-btn:not(.active):hover {
  background-color: #d1d5db;
}

.big-input {
  font-size: 1.4rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  border: 2px solid #d1d5db;
  width: 100%;
}

.big-input:focus {
  outline: none;
  border-color: #4f46e5;
}

.big-btn {
  font-size: 1.3rem;
  font-weight: 700;
  padding: 1rem 1.75rem;
  border-radius: 0.75rem;
  transition: all 0.15s ease;
  cursor: pointer;
}

.card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  padding: 1.75rem;
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.15rem;
}

table.data-table th {
  background-color: #eef2ff;
  color: #3730a3;
  padding: 0.9rem 1rem;
  text-align: left;
  font-weight: 700;
  border-bottom: 2px solid #c7d2fe;
}

table.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e5e7eb;
}

table.data-table tr:hover {
  background-color: #f9fafb;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 1.1rem;
}

.rank-1 { background: #fde68a; color: #92400e; }
.rank-2 { background: #e5e7eb; color: #374151; }
.rank-3 { background: #fdba74; color: #7c2d12; }
.rank-other { background: #eef2ff; color: #4338ca; }

.toast {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  color: white;
  animation: slideIn 0.2s ease;
}

.toast.success { background-color: #16a34a; }
.toast.error { background-color: #dc2626; }

@keyframes slideIn {
  from { transform: translateX(30px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
