/* 
 * TRL Design System - Round Setup Component 
 * Styling for the round setup page with player readiness and round start
 */

.round-setup {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, var(--trl-primary), var(--trl-secondary));
  overflow: hidden;
}

.round-setup .trl-app-menu {
  width: 100%;
  max-width: none;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 0;
}

.round-setup__header {
  padding: 20px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  width: 100%;
}

.round-setup__title {
  font-size: 28px;
  font-weight: 900;
  margin: 0 0 5px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.round-setup__subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.round-setup__content {
  width: 100%;
  padding: 24px;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--trl-primary), var(--trl-secondary));
  border-radius: 0 0 15px 15px;
  overflow-y: scroll;
}

/* Round information card styling */
.round-setup__info-card {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
}

.round-setup__info-header {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
}

.round-setup__info-icon {
  font-size: 20px;
  margin-right: 12px;
}

.round-setup__info-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  color: var(--trl-white);
}

.round-setup__info-body {
  padding: 16px;
}

.round-setup__info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.round-setup__info-item:last-child {
  border-bottom: none;
}

.round-setup__info-label {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  font-size: 14px;
}

.round-setup__info-value {
  font-weight: 500;
  color: var(--trl-white);
  display: flex;
  align-items: center;
}

.round-setup__info-badge {
  background-color: var(--trl-accent);
  color: var(--trl-black);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Player card styling */
.round-setup__player-card {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
}

.round-setup__player-header {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
}

.round-setup__player-icon {
  font-size: 20px;
  margin-right: 12px;
}

.round-setup__player-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  color: var(--trl-white);
}

.round-setup__player-list {
  padding: 8px;
}

.round-setup__player-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  margin-bottom: 8px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.round-setup__player-item--ready {
  background-color: rgba(0, 200, 0, 0.1);
  border: 1px solid rgba(0, 200, 0, 0.2);
}

.round-setup__player-info {
  display: flex;
  align-items: center;
}

.round-setup__judge-indicator {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 18px;
}

.round-setup__player-avatar {
  width: 32px;
  height: 32px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--trl-white);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.round-setup__player-name {
  font-weight: 500;
  color: var(--trl-white);
  display: flex;
  align-items: center;
}

.round-setup__player-you {
  background-color: rgba(255, 255, 255, 0.2);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  color: var(--trl-white);
}

.round-setup__player-status {
  display: flex;
  align-items: center;
}

.round-setup__status-badge {
  display: flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.round-setup__status-badge--ready {
  background-color: rgba(0, 200, 0, 0.3);
  color: rgba(255, 255, 255, 0.9);
}

.round-setup__status-badge--waiting {
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

.round-setup__status-icon {
  margin-right: 4px;
}

.round-setup__ready-button {
  background-color: var(--trl-accent);
  color: var(--trl-black);
  border: none;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.round-setup__ready-button:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
}

.round-setup__ready-button:active {
  transform: translateY(0);
}

/* Ready notification styles */
.round-setup__ready-notification {
  background-color: rgba(0, 200, 0, 0.1);
  border: 1px solid rgba(0, 200, 0, 0.2);
  padding: 16px;
  margin-top: 16px;
  text-align: center;
}

.round-setup__ready-icon {
  font-size: 28px;
  margin-bottom: 8px;
  color: rgba(0, 255, 0, 0.7);
}

.round-setup__ready-message {
  font-size: 18px;
  font-weight: 700;
  color: var(--trl-white);
  margin-bottom: 8px;
}

.round-setup__judge-prompt {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
}

.round-setup__start-action {
  margin-top: 12px;
}

.round-setup__start-button {
  background-color: var(--trl-accent);
  color: var(--trl-black);
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

.round-setup__start-button:hover {
  background-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 7px 0 rgba(0, 0, 0, 0.3);
}

.round-setup__start-button:active {
  transform: translateY(1px);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
}

.round-setup__waiting-message {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 8px 0;
  font-style: italic;
}

/* Animation for player entry */
@keyframes playerEnter {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.round-setup__player-item {
  animation: playerEnter 0.3s ease-out;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .round-setup__title {
    font-size: 24px;
  }

  .round-setup__content {
    padding: 16px;
  }

  .round-setup__info-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
  }

  .round-setup__info-value {
    margin-top: 4px;
  }

  .round-setup__player-item {
    padding: 10px;
  }
}
