/* 
 * TRL Design System - Round Page Component 
 * Styling for the round show page with submissions and judging
 */

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

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

.round-page__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-page__subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.round-page__song-name {
  font-size: 32px;
  font-weight: 900;
  text-align: center;
  padding: 15px 20px;
  margin: 0;
  background: rgba(0, 0, 0, 0.4);
  color: var(--trl-accent);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.round-page__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; */
}

/* Countdown styles */
.round-page__countdown-container {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 24px;
  text-align: center;
  border: 1px solid rgba(255, 0, 0, 0.3);
}

.round-page__countdown-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.round-page__countdown {
  font-size: 28px;
  font-weight: 900;
  color: #ff5555;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
  animation: pulse 1s infinite alternate;
}

/* Submissions section */
.round-page__submissions-section {
  border-radius: 10px;
}

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

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

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

/* Status cards */
.round-page__status-card {
  display: flex;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.round-page__status-card--ready {
  background-color: rgba(255, 200, 0, 0.1);
  border-left: 4px solid var(--trl-accent);
}

.round-page__status-icon {
  font-size: 24px;
  margin-right: 16px;
  color: var(--trl-accent);
}

.round-page__status-message {
  flex: 1;
}

.round-page__status-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--trl-white);
}

.round-page__status-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* Judge prompt */
.round-page__judge-prompt {
  display: flex;
  align-items: center;
  padding: 16px;
  background-color: rgba(0, 164, 228, 0.1);
  border-left: 4px solid var(--trl-primary);
  margin-bottom: 16px;
}

.round-page__judge-prompt-icon {
  font-size: 24px;
  margin-right: 16px;
  color: var(--trl-primary);
}

.round-page__judge-prompt-text {
  flex: 1;
}

.round-page__judge-prompt-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--trl-white);
}

.round-page__judge-prompt-details {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* Judge actions */
.round-page__judge-action-card {
  background-color: rgba(0, 200, 100, 0.1);
  border-radius: 10px;
  padding: 16px;
  margin-top: 16px;
  text-align: center;
  border: 1px solid rgba(0, 200, 100, 0.3);
}

.round-page__judge-action-header {
  margin-bottom: 12px;
}

.round-page__judge-action-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

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

.round-page__judge-action-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
}

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

.round-page__judgment-button {
  display: inline-block;
  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;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

.round-page__judgment-button:hover {
  background-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 7px 0 rgba(0, 0, 0, 0.3);
  color: var(--trl-black);
  text-decoration: none;
}

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

.round-page__judge-waiting-card {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 16px;
  margin-top: 16px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.round-page__judge-waiting-icon {
  font-size: 28px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.5);
}

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

.round-page__judge-waiting-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* Submission cards */
/* Submissions list container */
.round-page__submissions-list {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin-bottom: 24px;
}

.round-page__submissions-list .round-page__submissions-header {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0 !important; /* Override inline style */
}

.round-page__submissions-list .round-page__submissions-icon {
  font-size: 20px;
  margin-right: 12px;
  color: var(--trl-accent);
}

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

.round-page__submissions-list ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.round-page__submissions-list li {
  color: #fff;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.round-page__submissions-list li:last-child {
  border-bottom: none;
}

.round-page__submissions-list .submission-status {
  display: flex;
  align-items: center;
}

.round-page__submissions-list .submission-status__content {
  flex: 1;
}

.round-page__submissions-list .submission-status__message {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-align: left;
}

.round-page__submission-card {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.round-page__submission-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.round-page__submission-card--winner {
  background-color: rgba(255, 221, 0, 0.1);
  border: 1px solid rgba(255, 221, 0, 0.3);
}

.round-page__submission-card--runnerup {
  background-color: rgba(100, 150, 255, 0.1);
  border: 1px solid rgba(100, 150, 255, 0.3);
}

.round-page__submission-content {
  display: flex;
  padding: 16px;
}

.round-page__submission-thumbnail {
  width: 120px;
  height: 80px;
  margin-right: 16px;
  flex-shrink: 0;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.round-page__submission-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.round-page__submission-badge {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.round-page__submission-badge--winner {
  background-color: var(--trl-accent);
  color: var(--trl-black);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.round-page__submission-badge--runnerup {
  background-color: rgba(100, 150, 255, 0.8);
  color: var(--trl-white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.round-page__submission-details {
  flex: 1;
}

.round-page__submission-header {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.round-page__submission-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  margin-right: 8px;
  color: var(--trl-white);
}

.round-page__submission-score {
  background-color: rgba(0, 0, 0, 0.3);
  color: var(--trl-white);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}

.round-page__submission-finalist {
  background-color: rgba(100, 150, 255, 0.2);
  color: var(--trl-accent);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 8px;
}

.round-page__submission-player {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 4px;
}

.round-page__submission-id {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.round-page__submission-link {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--trl-white);
  border: none;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  margin-top: 24px;
}

.round-page__submission-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--trl-white);
  text-decoration: none;
}

/* My submission section */
.round-page__submission-status {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  margin-bottom: 16px;
  border-radius: 8px;
}

.round-page__submission-status--submitted {
  background-color: rgba(0, 200, 0, 0.1);
  border: 1px solid rgba(0, 200, 0, 0.3);
}

.round-page__submission-status-icon {
  font-size: 20px;
  margin-right: 12px;
  color: rgba(0, 255, 0, 0.7);
}

.round-page__submission-status-text {
  font-size: 14px;
  color: var(--trl-white);
}

.round-page__my-submission {
  margin-bottom: 16px;
}

.round-page__my-submission-header {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 8px 16px;
  border-radius: 8px 8px 0 0;
}

.round-page__my-submission-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: var(--trl-white);
}

/* Judging status section */
.round-page__judging-status {
  background-color: rgba(255, 221, 0, 0.1);
  border: 1px solid rgba(255, 221, 0, 0.3);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  margin-top: 24px;
  animation: fadeInOut 2s infinite alternate;
  margin-bottom: 12px;
}

@keyframes fadeInOut {
  0% {
    background-color: rgba(255, 221, 0, 0.05);
  }
  100% {
    background-color: rgba(255, 221, 0, 0.15);
  }
}

.round-page__judging-icon {
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--trl-accent);
}

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

.round-page__judging-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

/* Footer section */
.round-page__footer {
  text-align: center;
  margin-top: 24px;
}

.round-page__back-link {
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.2);
  color: var(--trl-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
  text-decoration: none;
}

.round-page__back-link:hover {
  background-color: rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--trl-white);
  text-decoration: none;
}

/* Results view styles */
.round-page__judge-info {
  margin-bottom: 24px;
  text-align: center;
}

.round-page__judge-badge {
  display: inline-flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.round-page__judge-icon {
  font-size: 18px;
  margin-right: 8px;
  color: var(--trl-accent);
}

.round-page__judge-text {
  font-weight: 500;
  color: var(--trl-white);
}

.round-page__results-section {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
}

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

.round-page__results-icon {
  font-size: 20px;
  margin-right: 12px;
  color: var(--trl-accent);
}

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

/* Winner card */
.round-page__winner-card {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 221, 0, 0.1);
}

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

.round-page__trophy-icon {
  font-size: 20px;
  margin-right: 8px;
  color: var(--trl-accent);
}

.round-page__winner-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--trl-white);
  flex: 1;
}

.round-page__winner-points {
  background-color: var(--trl-accent);
  color: var(--trl-black);
  font-size: 14px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
}

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

.round-page__winner-by {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
}

.round-page__video-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Runner-up card */
.round-page__runnerup-card {
  background-color: rgba(100, 150, 255, 0.1);
}

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

.round-page__medal-icon {
  font-size: 20px;
  margin-right: 8px;
  color: #a0c0ff;
}

.round-page__runnerup-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--trl-white);
  flex: 1;
}

.round-page__runnerup-points {
  background-color: rgba(100, 150, 255, 0.3);
  color: var(--trl-white);
  font-size: 14px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
}

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

.round-page__runnerup-by {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
}

/* Next actions section */
.round-page__next-actions {
  text-align: center;
}

.round-page__next-button,
.round-page__final-button {
  display: inline-block;
  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;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

.round-page__next-button:hover,
.round-page__final-button:hover {
  background-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 7px 0 rgba(0, 0, 0, 0.3);
  color: var(--trl-black);
  text-decoration: none;
}

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

.round-page__next-judge-card {
  background-color: rgba(0, 200, 100, 0.1);
  border: 1px solid rgba(0, 200, 100, 0.3);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}

.round-page__next-judge-icon {
  font-size: 28px;
  margin-bottom: 8px;
  color: var(--trl-accent);
}

.round-page__next-judge-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--trl-white);
  margin-bottom: 16px;
}

.round-page__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-page__start-button:hover {
  background-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 7px 0 rgba(0, 0, 0, 0.3);
}

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

.round-page__waiting-judge-card {
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}

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

.round-page__waiting-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--trl-white);
  margin-bottom: 8px;
}

.round-page__waiting-details {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

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

  .round-page__song-name {
    font-size: 24px;
    padding: 12px 16px;
  }

  .round-page__content {
    padding: 16px;
  }

  .round-page__submission-content {
    flex-direction: column;
  }

  .round-page__submission-thumbnail {
    width: 100%;
    height: 120px;
    margin-right: 0;
    margin-bottom: 12px;
  }

  .round-page__video-container {
    aspect-ratio: 4 / 3;
  }
}
