@charset "UTF-8";

.team-split-page {
  max-width: 1280px;
  margin: 0 auto;
}

.team-split-card {
  padding: 34px 28px;
}

.team-split-grid {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.team-split-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.team-options-grid {
  display: grid;
  gap: 12px;
}

.team-option-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-check-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fafafa;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
}

.team-check-box input {
  width: 16px;
  height: 16px;
}

.team-result-panel {
  min-width: 0;
}

.team-result-header {
  margin-bottom: 18px;
}

.team-result-header h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: #1f2937;
}

.team-result-header p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}

.team-result-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.team-card {
  background: #ffffff;
  border: 1px solid #e8edf3;
  border-radius: 22px;
  padding: 20px 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.team-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.team-card-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #1f2937;
}

.team-card-meta {
  font-size: 13px;
  color: #6b7280;
  white-space: nowrap;
}

.team-leader {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  font-size: 14px;
  color: #374151;
}

.team-member-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.team-member-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid #f1f5f9;
}

.team-member-name {
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  word-break: break-word;
}

.member-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.member-badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.member-badge.gender {
  background: #eef2ff;
  color: #4f46e5;
}

.member-badge.seed {
  background: #fff7ed;
  color: #ea580c;
}

.team-empty {
  padding: 26px 18px;
  border: 1px dashed #d1d5db;
  border-radius: 18px;
  background: #fafafa;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
}

@media (max-width: 1080px) {
  .team-split-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .team-split-card {
    padding: 24px 18px;
  }

  .team-result-wrap {
    grid-template-columns: 1fr;
  }
}