/* ============================================
   PARTICIPANTS SECTION - UNIFIED
   ============================================ */

/* Registration Action */
.registration-action {
  background: var(--panel-2);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.action-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.action-icon-circle {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.action-icon-circle i {
  font-size: 1rem;
  color: white;
}

.action-text {
  flex: 1;
}

.action-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--txt);
  margin: 0 0 0.125rem 0;
}

.action-subtitle {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover, var(--accent));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background: var(--panel);
  color: var(--muted);
}

.btn-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn i {
  font-size: 0.875rem;
}

/* Section Divider */
.section-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--borders);
}

.divider-text {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.divider-count {
  font-size: 0.75rem;
  background: var(--accent);
  color: white;
  padding: 0.125rem 0.5rem;
  font-weight: 700;
}

/* User Teams Section */
.user-teams-section {
  margin-bottom: 1.5rem;
}

.user-teams-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.user-team-item {
  background: var(--panel-2);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: all 0.15s ease;
}

.user-team-item:not(.user-team-readonly):hover {
  background: var(--hover);
  transform: translateX(2px);
}

.user-team-readonly {
  opacity: 0.7;
  cursor: default;
}

.user-team-pending {
  border-left: 3px solid #f59e0b;
}

.user-team-logo {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--panel);
}

.user-team-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.user-team-name {
  font-size: 0.875rem;
  color: var(--txt);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-team-tag {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 400;
}

.user-team-status {
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.user-team-item:hover .user-team-status {
  transform: scale(1.1);
}

.user-team-status i {
  font-size: 0.75rem;
  color: var(--muted);
}

.status-locked i {
  color: var(--muted);
}

.status-edit i {
  color: var(--accent);
}

.status-warning {
  background: #f59e0b;
}

.status-warning i {
  color: white;
}

/* All Teams Section */
.all-teams-section {
  margin-top: 1.5rem;
}

/* Teams Stats */
.teams-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.625rem;
  margin-bottom: 1.25rem;
}

.stat-item {
  background: var(--panel-2);
  padding: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  transition: transform 0.15s ease;
}

.stat-item:hover {
  transform: translateY(-1px);
}

.stat-icon {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon i {
  font-size: 0.875rem;
  color: white;
}

.stat-content {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.stat-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--txt);
  line-height: 1;
}

.stat-label {
  font-size: 0.625rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* Teams Groups */
.teams-group {
  margin-bottom: 1.25rem;
}

.teams-group-title {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.teams-group-title i {
  font-size: 0.75rem;
  color: var(--accent);
}

/* Teams List */
.teams-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.team-item {
  background: var(--panel-2);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: all 0.15s ease;
}

.team-item:hover {
  background: var(--hover);
  transform: translateX(2px);
}

.team-visual {
  position: relative;
  flex-shrink: 0;
}

.team-logo {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: cover;
  background: var(--panel);
}

.team-status {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 1rem;
  height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--panel-2);
}

.team-status i {
  font-size: 0.5625rem;
  color: white;
}

.status-confirmed {
  background: #10b981;
}

.status-pending {
  background: #f59e0b;
}

.team-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.team-name {
  font-size: 0.875rem;
  color: var(--txt);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-tag {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 400;
}

.team-arrow {
  color: var(--muted);
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.team-item:hover .team-arrow {
  transform: translateX(2px);
  color: var(--accent);
}

/* Empty State */
.empty-state {
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.empty-icon {
  width: 3rem;
  height: 3rem;
  background: var(--panel-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-icon i {
  font-size: 1.5rem;
  color: var(--muted);
}

.empty-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--txt);
  margin: 0;
}

.empty-text {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 640px) {
  .registration-action {
    padding: 1rem;
  }
  
  .action-icon-circle {
    width: 2.25rem;
    height: 2.25rem;
  }
  
  .action-icon-circle i {
    font-size: 0.875rem;
  }
  
  .action-title {
    font-size: 0.875rem;
  }
  
  .action-subtitle {
    font-size: 0.6875rem;
  }
  
  .teams-stats {
    grid-template-columns: 1fr;
  }
  
  .stat-item {
    padding: 0.75rem;
  }
  
  .stat-icon {
    width: 2rem;
    height: 2rem;
  }
  
  .stat-icon i {
    font-size: 0.75rem;
  }
  
  .stat-value {
    font-size: 1rem;
  }
  
  .user-team-item,
  .team-item {
    padding: 0.625rem;
  }
  
  .user-team-logo,
  .team-logo {
    width: 2rem;
    height: 2rem;
  }
  
  .team-status {
    width: 0.875rem;
    height: 0.875rem;
  }
  
  .team-status i {
    font-size: 0.5rem;
  }
}