/* ═══════════════════════════════════════════════════════════════
   [CSS_Admin_Tab] Admin 관리 탭 전용 스타일
   ═══════════════════════════════════════════════════════════════ */

/* ── 통계 카드 ── */
.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.admin-stat-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}
.admin-stat-value {
  font-family: 'Share Tech Mono', monospace;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
}
.admin-stat-label {
  font-size: 11px;
  color: #888;
  margin-top: 4px;
}

/* ── 섹션 아코디언 ── */
.admin-section {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}
.admin-section-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  text-align: left;
}
.admin-section-header:hover {
  background: rgba(255,255,255,0.05);
}

/* ── 폼 그리드 ── */
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}
.admin-form-group label {
  display: block;
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
  font-weight: 700;
}

/* ── 체육관 테이블 ── */
.admin-gym-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.admin-gym-table th {
  background: #111;
  color: #888;
  padding: 10px 8px;
  text-align: left;
  font-weight: 700;
  border-bottom: 2px solid #333;
  white-space: nowrap;
}
.admin-gym-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #222;
  color: #ddd;
}
.admin-gym-table tr:hover td {
  background: rgba(255,255,255,0.03);
}

/* ── 등급 배지 ── */
.admin-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
}
.admin-badge-admin    { background: #FF3B30; color: #fff; }
.admin-badge-ultimate { background: #BF00FF; color: #fff; }
.admin-badge-pro      { background: #00E5FF; color: #000; }
.admin-badge-basic    { background: #00FF88; color: #000; }
.admin-badge-free     { background: #555;    color: #fff; }

/* ── 접속 카드 ── */
.admin-session-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}
.admin-session-card {
  background: #111;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 14px;
}
.admin-session-card.online {
  border-color: #00E676;
  box-shadow: 0 0 6px rgba(0,230,118,0.15);
}
.admin-session-name {
  font-size: 15px;
  font-weight: 900;
  color: #fff;
}
.admin-session-meta {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
}
.admin-session-time {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: #666;
  margin-top: 6px;
}

/* ── 상태 점 ── */
.admin-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}
.admin-dot-active   { background: #00E676; }
.admin-dot-inactive { background: #FF5252; }

/* ── 관리 버튼 ── */
.admin-btn-sm {
  padding: 5px 10px;
  background: #333;
  color: #ddd;
  border: 1px solid #555;
  border-radius: 6px;
  font-size: 11px;
  cursor: pointer;
}
.admin-btn-sm:hover {
  background: #555;
}

/* ── 모바일 대응 ── */
@media (max-width: 768px) {
  .admin-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
  .admin-gym-table {
    font-size: 11px;
  }
  .admin-gym-table th,
  .admin-gym-table td {
    padding: 8px 4px;
  }
}