.rfc-rules-note {
  margin-top: 12px;
  font-size: 12px;
  color: #666;
  text-align: center;
}

/* IRT RFC Plugin - Modern Sports/Fantasy Design */
/* Dynamic, engaging design inspired by modern sports platforms */

:root {
  /* Color Palette - Blue Theme */
  --rfc-primary: #1b3f8b;
  --rfc-secondary: #e31e26;
  --rfc-accent: #000000;
  --rfc-text-primary: #333333;
  --rfc-text-secondary: #666666;
  --rfc-text-light: #999999;
  --rfc-background: #ffffff;
  --rfc-surface: #f8f9fa;
  --rfc-surface-light: #f1f3f4;
  --rfc-border-light: #e1e5e9;
  --rfc-border: #d1d5db;
  --rfc-error: #dc3545;
  --rfc-success: #28a745;
  --rfc-warning: #ffc107;

  /* Gradients */
  --rfc-gradient-primary: linear-gradient(135deg, #1b3f8b 0%, #2d5aa0 100%);
  --rfc-gradient-secondary: linear-gradient(135deg, #e31e26 0%, #f44336 100%);
  --rfc-gradient-surface: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  --rfc-gradient-gold: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  --rfc-gradient-silver: linear-gradient(135deg, #c0c0c0 0%, #e5e5e5 100%);
  --rfc-gradient-bronze: linear-gradient(135deg, #cd7f32 0%, #daa520 100%);

  /* Shadows */
  --rfc-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --rfc-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --rfc-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --rfc-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Border Radius */
  --rfc-radius-sm: 0.375rem;
  --rfc-radius-md: 0.5rem;
  --rfc-radius-lg: 0.75rem;
  --rfc-radius-xl: 1rem;

  /* Transitions */
  --rfc-transition: 0.2s ease-in-out;
  --rfc-transition-slow: 0.4s ease-in-out;

  /* Layout */
  --rfc-container-max-width: 1200px;
  --rfc-container-padding: 2rem;
  --rfc-section-spacing: 3rem;
  --rfc-card-spacing: 1.5rem;
  --rfc-grid-gap: 1.5rem;
}

/* Base styles */
.rfc-container {
  font-family: inherit;
  line-height: 1.6;
  color: var(--rfc-text);
  background: var(--rfc-background);
  max-width: var(--rfc-container-max-width);
  margin: 0 auto;
  padding: 0 var(--rfc-container-padding);
}

/* Layout Grid System */
.rfc-grid {
  display: grid;
  gap: var(--rfc-grid-gap);
}

.rfc-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.rfc-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.rfc-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Tournament Form - Improved Layout */
.rfc-tournament-form {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--rfc-background);
  border-radius: var(--rfc-radius-xl);
  box-shadow: var(--rfc-shadow-lg);
  border: 1px solid var(--rfc-border-light);
  position: relative;
  overflow: hidden;
}

.rfc-tournament-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--rfc-gradient-primary);
}

/* Tournament Header with Image */
.rfc-tournament-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rfc-border-light);
}

.rfc-tournament-image {
  flex-shrink: 0;
}

.rfc-tournament-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--rfc-radius-lg);
  box-shadow: var(--rfc-shadow-md);
  border: 3px solid var(--rfc-border-light);
  transition: var(--rfc-transition);
}

.rfc-tournament-img:hover {
  transform: scale(1.05);
  box-shadow: var(--rfc-shadow-xl);
}

.rfc-tournament-title {
  flex: 1;
}

.rfc-tournament-title h2 {
  color: var(--rfc-accent);
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.rfc-tournament-form h2 {
  color: var(--rfc-accent);
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  position: relative;
}

.rfc-tournament-form h2::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--rfc-gradient-primary);
  border-radius: 2px;
}

/* Info Cards Layout */
.rfc-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.rfc-tournament-description {
  background: var(--rfc-gradient-surface);
  padding: 1.5rem;
  border-radius: var(--rfc-radius-md);
  border-left: 4px solid var(--rfc-primary);
  font-size: 1rem;
  line-height: 1.7;
  position: relative;
  grid-column: 1 / -1;
}

.rfc-tournament-description::before {
  content: "🏆";
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 2rem;
  opacity: 0.1;
}

.rfc-tournament-info {
  background: var(--rfc-surface);
  padding: 1.5rem;
  border-radius: var(--rfc-radius-md);
  border: 1px solid var(--rfc-border);
  position: relative;
  margin-bottom: 3rem;
}

.rfc-tournament-info::before {
  content: "📋";
  position: absolute;
  top: -8px;
  left: 20px;
  background: var(--rfc-background);
  padding: 0 0.5rem;
  font-size: 1rem;
}

.rfc-tournament-info p {
  margin: 0.5rem 0;
  font-weight: 500;
  color: var(--rfc-text);
  font-size: 0.95rem;
}

/* Pick sections - Improved Grid Layout */
.rfc-picks-container {
  margin-bottom: 2rem;
}

.rfc-picks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.rfc-pick-section {
  background: var(--rfc-background);
  border-radius: var(--rfc-radius-lg);
  border: 2px solid var(--rfc-border-light);
  transition: var(--rfc-transition-slow);
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
}

.rfc-pick-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--rfc-gradient-secondary);
  transform: scaleX(0);
  transition: var(--rfc-transition-slow);
}

.rfc-pick-section h3 {
  color: var(--rfc-secondary);
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rfc-pick-section h3::before {
  content: "🎯";
  font-size: 1.25rem;
}

.rfc-pick-instruction {
  color: var(--rfc-text-light);
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-style: italic;
  padding: 0.75rem;
  background: var(--rfc-surface);
  border-radius: var(--rfc-radius);
  border-left: 3px solid var(--rfc-warning);
}

/* Player Cards Grid Layout */
.rfc-players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.rfc-player-card {
  background: var(--rfc-background);
  border: 2px solid var(--rfc-border-light);
  border-radius: var(--rfc-radius-lg);
  overflow: hidden;
  transition: var(--rfc-transition-slow);
  cursor: pointer;
  position: relative;
}

.rfc-player-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--rfc-shadow-lg);
  border-color: var(--rfc-secondary);
}

.rfc-player-option {
  display: block;
  cursor: pointer;
  margin: 0;
  padding: 0;
}

.rfc-player-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rfc-player-content {
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.rfc-player-image {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--rfc-surface-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rfc-player-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.rfc-player-info {
  flex: 1;
  min-width: 0;
}

.rfc-player-name {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--rfc-text-primary);
  line-height: 1.2;
}

.rfc-player-stats {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.rfc-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  line-height: 1.2;
}

.rfc-stat-label {
  color: var(--rfc-text-secondary);
  font-weight: 500;
}

.rfc-stat-value {
  color: var(--rfc-text-primary);
  font-weight: 600;
}

/* Selected state */
.rfc-player-option input[type="radio"]:checked + .rfc-player-content {
  background: var(--rfc-gradient-surface);
  border-radius: var(--rfc-radius-lg);
}

.rfc-player-option input[type="radio"]:checked ~ .rfc-player-card {
  border-color: var(--rfc-secondary);
  box-shadow: 0 0 0 3px rgba(27, 63, 139, 0.1);
}

.rfc-player-option input[type="radio"]:checked ~ .rfc-player-card::before {
  content: "✓";
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 24px;
  height: 24px;
  background: var(--rfc-secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
}

/* Error state */
.rfc-pick-section.error {
  border: 2px solid var(--rfc-error);
  border-radius: var(--rfc-radius-lg);
  padding: 1rem;
  background: rgba(220, 53, 69, 0.05);
}

.rfc-pick-section.error h3 {
  color: var(--rfc-error);
}

.rfc-pick-section.error::after {
  content: "Please select a player from this tier";
  display: block;
  color: var(--rfc-error);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Selected card state */
.rfc-player-card.selected {
  border-color: var(--rfc-secondary);
  box-shadow: 0 0 0 3px rgba(27, 63, 139, 0.1);
}

/* Multi-Step Form Styles */
.rfc-progress-indicator {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--rfc-surface);
  border-radius: var(--rfc-radius-lg);
  border: 1px solid var(--rfc-border-light);
}

.rfc-progress-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.rfc-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
  transition: var(--rfc-transition);
}

.rfc-progress-step.active {
  opacity: 1;
}

.rfc-progress-step.completed {
  opacity: 0.8;
}

.rfc-step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--rfc-border-light);
  color: var(--rfc-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--rfc-transition);
}

.rfc-progress-step.active .rfc-step-number {
  background: var(--rfc-secondary);
  color: white;
}

.rfc-progress-step.completed .rfc-step-number {
  background: var(--rfc-success);
  color: white;
}

.rfc-step-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--rfc-text-secondary);
  text-align: center;
}

.rfc-progress-step.active .rfc-step-label {
  color: var(--rfc-text-primary);
  font-weight: 600;
}

.rfc-progress-bar {
  height: 4px;
  background: var(--rfc-border-light);
  border-radius: 2px;
  overflow: hidden;
}

.rfc-progress-fill {
  height: 100%;
  background: var(--rfc-gradient-primary);
  transition: width var(--rfc-transition-slow);
}

/* Form Steps */
.rfc-form-step {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.rfc-form-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rfc-step-header {
  text-align: center;
  margin-bottom: 2rem;
}

.rfc-step-header h3 {
  color: var(--rfc-secondary);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.rfc-step-header p {
  color: var(--rfc-text-secondary);
  font-size: 1rem;
}

/* Step Actions */
.rfc-step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rfc-border-light);
}

.rfc-prev-btn,
.rfc-next-btn,
.rfc-submit-btn {
  padding: 0.875rem 2rem;
  border: 2px solid var(--rfc-border);
  border-radius: var(--rfc-radius);
  background: var(--rfc-background);
  color: var(--rfc-text-primary);
  font-weight: 600;
  cursor: pointer;
  transition: var(--rfc-transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  min-width: 140px;
  line-height: 1.2;
  white-space: nowrap;
}

.rfc-prev-btn:hover,
.rfc-next-btn:hover,
.rfc-submit-btn:hover {
  border-color: var(--rfc-secondary);
  background: var(--rfc-secondary);
  color: white;
  transform: translateY(-1px);
}

.rfc-next-btn,
.rfc-submit-btn {
  background: var(--rfc-secondary);
  color: white;
  border-color: var(--rfc-secondary);
}

.rfc-next-btn:hover,
.rfc-submit-btn:hover {
  background: var(--rfc-primary);
  border-color: var(--rfc-primary);
}

.rfc-next-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Review Summary */
.rfc-review-summary {
  background: var(--rfc-surface);
  border-radius: var(--rfc-radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}

.rfc-review-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rfc-border-light);
}

.rfc-review-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.rfc-review-section h4 {
  color: var(--rfc-secondary);
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.rfc-review-pick {
  background: var(--rfc-background);
  border: 2px solid var(--rfc-border-light);
  border-radius: var(--rfc-radius);
  padding: 1rem;
  min-height: 60px;
  display: flex;
  align-items: center;
}

.rfc-review-placeholder {
  color: var(--rfc-text-light);
  font-style: italic;
}

.rfc-review-pick.has-selection {
  border-color: var(--rfc-success);
  background: rgba(40, 167, 69, 0.05);
}

/* Message Styles */
.rfc-message {
  padding: 1rem;
  border-radius: var(--rfc-radius);
  margin: 1rem 0;
  font-weight: 500;
  display: none;
}

.rfc-message-success {
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid var(--rfc-success);
  color: var(--rfc-success);
}

.rfc-message-error {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid var(--rfc-error);
  color: var(--rfc-error);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .rfc-progress-steps {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .rfc-step-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .rfc-prev-btn,
  .rfc-next-btn {
    width: 100%;
    justify-content: center;
  }

  .rfc-players-grid {
    grid-template-columns: 1fr;
  }
}

/* Form elements - Better Layout */
.rfc-form-group {
  margin-bottom: 1rem;
}

.rfc-player-select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--rfc-border);
  border-radius: var(--rfc-radius);
  font-size: 1rem;
  background: var(--rfc-background);
  transition: var(--rfc-transition);
  font-weight: 500;
}

.rfc-player-select:focus {
  outline: none;
  border-color: var(--rfc-secondary);
  box-shadow: 0 0 0 3px rgba(27, 63, 139, 0.1);
  transform: translateY(-1px);
}

.rfc-player-select:disabled {
  background: var(--rfc-surface);
  cursor: not-allowed;
  opacity: 0.7;
}

.rfc-submit-btn {
  background: var(--rfc-gradient-primary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--rfc-radius-lg);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--rfc-transition-slow);
  width: 100%;
  text-transform: none;
  letter-spacing: normal;
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
}

.rfc-submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: var(--rfc-transition-slow);
}

.rfc-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--rfc-shadow-xl);
}

.rfc-submit-btn:hover::before {
  left: 100%;
}

.rfc-submit-btn:disabled {
  background: var(--rfc-text-light);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Tournament selection - Enhanced Cards with Images */
.rfc-tournament-selection {
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem;
}

.rfc-tournament-selection h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--rfc-text-primary);
  margin-bottom: 0.5rem;
  text-align: center;
  background: var(--rfc-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rfc-tournament-selection p {
  text-align: center;
  color: var(--rfc-text-secondary);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.rfc-tournament-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 100%;
}

/* Ensure maximum of 3 cards per row */
@media (min-width: 1200px) {
  .rfc-tournament-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .rfc-tournament-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .rfc-tournament-list {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.rfc-tournament-item {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.2s ease-in-out;
  border: 1px solid var(--rfc-border-light);
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.rfc-tournament-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.rfc-tournament-image {
  height: 140px;
  overflow: hidden;
  position: relative;
  background: var(--rfc-surface-light);
}

.rfc-tournament-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease-in-out;
}

.rfc-tournament-item:hover .rfc-tournament-img {
  transform: scale(1.02);
}

.rfc-tournament-content {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.rfc-tournament-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rfc-text-primary);
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
}

.rfc-tournament-description {
  color: var(--rfc-text-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0 0 1rem 0;
  flex: 1;
}

.rfc-tournament-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 1.25rem 0;
  gap: 0.75rem;
}

.rfc-tournament-dates {
  color: var(--rfc-text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0;
}

.rfc-tournament-submissions {
  color: var(--rfc-text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0;
}

.rfc-submission-count {
  color: var(--rfc-primary);
  font-weight: 700;
  font-size: 1rem;
}

.rfc-select-tournament-btn {
  background: var(--rfc-gradient-primary);
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s ease-in-out;
  border: none;
  cursor: pointer;
  display: inline-block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  align-self: flex-end;
  margin-top: auto;
}

.rfc-select-tournament-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  color: white;
  text-decoration: none;
}

.rfc-select-tournament-btn:active {
  transform: translateY(0);
}

/* No tournaments available message */
.rfc-no-tournaments {
  text-align: center;
  padding: 3rem 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--rfc-border-light);
  max-width: 500px;
  margin: 2rem auto;
}

.rfc-no-tournaments-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.rfc-no-tournaments h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rfc-text-primary);
  margin: 0 0 1rem 0;
}

.rfc-no-tournaments p {
  color: var(--rfc-text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

.rfc-no-tournaments-actions {
  margin-top: 1.5rem;
}

.rfc-secondary-btn {
  background: var(--rfc-gradient-secondary);
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s ease-in-out;
  border: none;
  cursor: pointer;
  display: inline-block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.rfc-secondary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  color: white;
  text-decoration: none;
}

.rfc-secondary-btn:active {
  transform: translateY(0);
}

.rfc-tournament-item h4 {
  margin: 0 0 1rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--rfc-secondary);
  letter-spacing: -0.025em;
}

.rfc-select-tournament-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--rfc-gradient-secondary);
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: var(--rfc-radius-lg);
  font-weight: 600;
  transition: var(--rfc-transition-slow);
  position: relative;
  overflow: hidden;
  align-self: flex-start;
}

.rfc-select-tournament-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: var(--rfc-transition-slow);
}

.rfc-select-tournament-btn:hover {
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--rfc-shadow-xl);
}

.rfc-select-tournament-btn:hover::before {
  left: 100%;
}

.rfc-select-tournament-btn::after {
  content: "→";
  font-size: 1.125rem;
  transition: var(--rfc-transition);
}

.rfc-select-tournament-btn:hover::after {
  transform: translateX(3px);
}

/* Leaderboard - Completely Redesigned */
.rfc-leaderboard {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

.rfc-leaderboard h2 {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 2rem;
  font-weight: 800;
  color: #1f2937;
  letter-spacing: -0.025em;
}

.rfc-leaderboard-subtitle {
  text-align: center;
  margin-bottom: 2.5rem;
  color: #6b7280;
  font-size: 1.1rem;
  font-weight: 500;
}

/* Leaderboard Grid Layout - Replacing Table */
.rfc-leaderboard-table {
  background: #f9fafb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
  position: relative;
}

.rfc-leaderboard-table::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #374151;
}

.rfc-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.rfc-table th {
  background: #374151;
  color: white;
  padding: 1.25rem 1rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  border: none;
}

.rfc-table td {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
  background: white;
}

.rfc-table tbody tr:hover td {
  background: #f8fafc;
}

.rfc-table tbody tr:last-child td {
  border-bottom: none;
}

/* Rank column styling */
.rfc-rank {
  font-weight: 800;
  color: #374151;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.rfc-medal {
  font-size: 1.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Top 3 styling */
.rfc-top-1 td {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
  border-left: 4px solid #f59e0b;
}

.rfc-top-2 td {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%) !important;
  border-left: 4px solid #9ca3af;
}

.rfc-top-3 td {
  background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 100%) !important;
  border-left: 4px solid #d97706;
}

/* Score styling */
.rfc-score {
  font-weight: 800;
  color: #1f2937;
  font-size: 1.5rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.rfc-picks {
  font-size: 0.875rem;
}

.rfc-picks-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  width: 100%;
  min-width: 180px;
}

.rfc-pick {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  padding: 0.5rem 0.625rem;
  border-radius: 6px;
  font-size: 0.8rem;
  color: #374151;
  font-weight: 600;
  border: 1px solid #d1d5db;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-align: center;
  position: relative;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.rfc-pick::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: #374151;
}

.rfc-pick:nth-child(1)::before {
  background: #f59e0b;
}

.rfc-pick:nth-child(2)::before {
  background: #10b981;
}

.rfc-pick:nth-child(3)::before {
  background: #3b82f6;
}

.rfc-pick:nth-child(4)::before {
  background: #8b5cf6;
}

.rfc-pick:hover {
  background: #374151;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Tournament links - Redesigned */
.rfc-tournament-links {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 2px solid #e5e7eb;
}

.rfc-tournament-links h3 {
  text-align: center;
  margin-bottom: 2rem;
  color: #1f2937;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.rfc-tournament-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.rfc-tournament-link {
  display: flex;
  flex-direction: column;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  color: #374151;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 120px;
  justify-content: space-between;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.rfc-tournament-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #374151;
  transform: scaleX(0);
  transition: all 0.3s ease;
}

.rfc-tournament-link:hover {
  border-color: #374151;
  background: #f8fafc;
  text-decoration: none;
  color: #374151;
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.rfc-tournament-link:hover::before {
  transform: scaleX(1);
}

.rfc-tournament-name {
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1f2937;
  font-size: 1.1rem;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.rfc-tournament-status {
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-align: center;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  align-self: flex-start;
  transition: all 0.2s ease;
}

.rfc-tournament-status.active {
  background: #10b981;
  color: white;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.rfc-tournament-status.completed {
  background: #6b7280;
  color: white;
  box-shadow: 0 2px 4px rgba(107, 114, 128, 0.2);
}

/* Leaderboard header and navigation */
.rfc-leaderboard-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.rfc-leaderboard-header h2 {
  margin-bottom: 0.5rem;
}

.rfc-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #374151;
  color: white;
  padding: 0.875rem 1.75rem;
  text-decoration: none;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.rfc-back-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.3s ease;
}

.rfc-back-link:hover {
  color: white;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.rfc-back-link:hover::before {
  left: 100%;
}

.rfc-back-link::after {
  content: "";
  font-size: 1.25rem;
  transition: all 0.2s ease;
}

.rfc-back-link:hover::after {
  transform: translateX(-4px);
}

/* No data styling */
.rfc-no-data {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  margin: 2rem 0;
  position: relative;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.rfc-no-data::before {
  content: "📊";
  font-size: 3rem;
  display: block;
  margin-bottom: 1.5rem;
  opacity: 0.6;
}

.rfc-no-data p {
  margin: 0;
  color: #6b7280;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.6;
}

.rfc-leaderboard-footer {
  text-align: center;
  margin-top: 2rem;
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

/* Loading states */
.rfc-loading {
  text-align: center;
  padding: 2.5rem;
  color: var(--rfc-text-light);
  font-size: 1rem;
  font-weight: 500;
}

.rfc-loading::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--rfc-border);
  border-radius: 50%;
  border-top-color: var(--rfc-primary);
  animation: spin 1s ease-in-out infinite;
  margin-left: 0.5rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Success/Error messages */
.rfc-message {
  padding: 1rem;
  border-radius: var(--rfc-radius-lg);
  margin-bottom: 1rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.rfc-message::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: currentColor;
  opacity: 0.3;
}

.rfc-message.success {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  color: #155724;
  border: 1px solid #c3e6cb;
}

.rfc-message.error {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.rfc-message.warning {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  color: #856404;
  border: 1px solid #ffeaa7;
}

/* Responsive adjustments for tournament selection */
@media (max-width: 767px) {
  .rfc-tournament-selection {
    padding: 1.5rem;
  }

  .rfc-tournament-item {
    min-height: auto;
    max-width: 400px;
    margin: 0 auto;
  }

  .rfc-tournament-image {
    height: 120px;
  }

  .rfc-tournament-content {
    padding: 1rem;
  }

  .rfc-tournament-content h4 {
    font-size: 1rem;
  }

  .rfc-tournament-description {
    font-size: 0.85rem;
  }

  .rfc-tournament-dates {
    font-size: 0.8rem;
  }

  .rfc-tournament-submissions {
    font-size: 0.8rem;
  }

  .rfc-submission-count {
    font-size: 0.9rem;
  }

  .rfc-select-tournament-btn {
    padding: 0.625rem 1rem;
    font-size: 0.85rem;
  }
}

/* Print styles */
@media print {
  .rfc-tournament-form,
  .rfc-leaderboard-table {
    box-shadow: none;
    border: 1px solid #ccc;
  }

  .rfc-submit-btn,
  .rfc-select-tournament-btn,
  .rfc-back-link {
    display: none;
  }
}

/* User Picks Page */
.rfc-user-picks {
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem;
}

.rfc-user-picks-header {
  text-align: center;
  margin-bottom: 2rem;
}

.rfc-user-picks-header h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--rfc-text-primary);
  margin-bottom: 0.5rem;
  background: var(--rfc-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rfc-user-picks-header p {
  color: var(--rfc-text-secondary);
  font-size: 1.1rem;
}

.rfc-user-picks-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.rfc-user-pick-item {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  border: 1px solid var(--rfc-border-light);
  transition: all 0.2s ease-in-out;
}

.rfc-user-pick-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.rfc-user-pick-image {
  height: 160px;
  overflow: hidden;
  background: var(--rfc-surface-light);
}

.rfc-user-pick-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  background: var(--rfc-surface-light);
}

.rfc-user-pick-content {
  padding: 1.25rem;
}

.rfc-user-pick-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rfc-text-primary);
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.rfc-user-pick-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.rfc-user-pick-dates {
  color: var(--rfc-text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0;
}

.rfc-user-pick-status {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rfc-user-pick-status.active {
  background: #d4edda;
  color: #155724;
}

.rfc-user-pick-status.completed {
  background: #cce5ff;
  color: #004085;
}

.rfc-user-pick-status.draft {
  background: #f8f9fa;
  color: #6c757d;
}

.rfc-user-pick-selections {
  margin-bottom: 0.5rem;
}

.rfc-user-pick-selections h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--rfc-text-primary);
  margin: 0 0 0.5rem 0;
}

.rfc-user-pick-players {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 0.5rem;
}

.rfc-user-pick-player {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  background: var(--rfc-surface-light);
  border-radius: 6px;
}

.rfc-user-pick-tier {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--rfc-text-secondary);
}

.rfc-user-pick-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--rfc-text-primary);
}

.rfc-player-points {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rfc-primary);
  margin-left: 0.5rem;
}

.rfc-user-pick-score {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: var(--rfc-gradient-primary);
  color: white;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.rfc-user-pick-score-label {
  font-size: 0.9rem;
  font-weight: 600;
}

.rfc-user-pick-score-value {
  font-size: 1rem;
  font-weight: 700;
}

.rfc-user-pick-submitted {
  text-align: center;
  padding-top: 0.75rem;
  border-top: 1px solid var(--rfc-border-light);
}

.rfc-user-pick-submitted small {
  color: var(--rfc-text-light);
  font-size: 0.8rem;
}

.rfc-user-picks-footer {
  text-align: center;
  margin-top: 2rem;
}

/* No picks states */
.rfc-no-picks {
  text-align: center;
  padding: 3rem 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--rfc-border-light);
  max-width: 500px;
  margin: 2rem auto;
}

.rfc-no-picks-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.rfc-no-picks h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rfc-text-primary);
  margin: 0 0 1rem 0;
}

.rfc-no-picks p {
  color: var(--rfc-text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

.rfc-no-picks-actions {
  margin-top: 1.5rem;
}

/* Responsive adjustments for user picks */
@media (max-width: 767px) {
  .rfc-user-picks {
    padding: 1.5rem;
  }

  .rfc-user-picks-list {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .rfc-user-pick-item {
    max-width: 400px;
    margin: 0 auto;
  }

  .rfc-user-pick-content {
    padding: 1rem;
  }

  .rfc-user-pick-content h4 {
    font-size: 1rem;
  }

  .rfc-user-pick-players {
    grid-template-columns: 1fr;
  }

  .rfc-user-pick-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* Responsive adjustments for tournament grid */
@media (max-width: 997px) {
  .rfc-tournament-grid,
  .rfc-user-picks-list {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem;
  }
}

/* Responsive adjustments for leaderboard */
@media (max-width: 768px) {
  .rfc-leaderboard {
    padding: 1.5rem;
    margin: 0 1rem;
  }

  .rfc-leaderboard h2 {
    font-size: 1.75rem;
  }

  .rfc-leaderboard-subtitle {
    font-size: 1rem;
  }

  .rfc-table th,
  .rfc-table td {
    padding: 0.75rem 0.5rem;
  }

  .rfc-rank {
    font-size: 1rem;
    gap: 0.25rem;
  }

  .rfc-medal {
    font-size: 1.25rem;
  }

  .rfc-score {
    font-size: 1.25rem;
  }

  .rfc-picks {
    min-width: 150px;
  }

  .rfc-picks-summary {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    max-width: 150px;
  }

  .rfc-pick {
    font-size: 0.7rem;
    padding: 0.25rem 0.375rem;
  }

  .rfc-tournament-grid,
  .rfc-user-picks-list {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
}

/* Responsive table improvements */
@media (max-width: 768px) {
  .rfc-leaderboard {
    padding: 1rem;
  }

  .rfc-leaderboard h2 {
    font-size: 1.5rem;
  }

  .rfc-leaderboard-subtitle {
    font-size: 1rem;
  }

  .rfc-table {
    font-size: 0.875rem;
  }

  .rfc-table th,
  .rfc-table td {
    padding: 0.75rem 0.5rem;
  }

  .rfc-table th:first-child,
  .rfc-table td:first-child {
    width: 60px;
  }

  .rfc-table th:nth-child(3),
  .rfc-table th:nth-child(4),
  .rfc-table td:nth-child(3),
  .rfc-table td:nth-child(4) {
    width: 80px;
  }

  .rfc-rank {
    font-size: 1rem;
    gap: 0.25rem;
  }

  .rfc-medal {
    font-size: 1.25rem;
  }

  .rfc-score {
    font-size: 1.25rem;
  }

  .rfc-tournament-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .rfc-table {
    grid-template-columns: 50px 1fr 60px 60px;
  }

  .rfc-table th,
  .rfc-table td {
    padding: 0.5rem 0.25rem;
  }

  .rfc-rank {
    font-size: 0.875rem;
  }

  .rfc-medal {
    font-size: 1rem;
  }

  .rfc-score {
    font-size: 1rem;
  }
}

/* Ensure table layout is consistent */
.rfc-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  table-layout: fixed;
  min-width: 600px;
}

.rfc-leaderboard-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Fix any potential flexbox conflicts */
.rfc-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 0;
}

.rfc-rank > * {
  flex-shrink: 0;
}

/* Leaderboard Button Styles */
.rfc-leaderboard-btn {
  display: inline-block;
  background: var(--rfc-gradient-primary);
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--rfc-radius-md);
  font-weight: 500;
  font-size: 0.8rem;
  text-align: center;
  transition: var(--rfc-transition);
  border: none;
  cursor: pointer;
  box-shadow: var(--rfc-shadow-sm);
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.rfc-leaderboard-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--rfc-shadow-md);
  color: white;
  text-decoration: none;
}

.rfc-leaderboard-btn:active {
  transform: translateY(0);
}

.rfc-small-btn {
  font-size: 0.75rem !important;
  padding: 0.375rem 0.75rem !important;
}

.rfc-user-pick-actions {
  margin-top: 0.5rem;
}

/* My Score Section - Matching Your Picks Structure */
.rfc-user-pick-score-display {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.rfc-user-pick-score-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: var(--rfc-surface-light);
  border-radius: var(--rfc-radius-md);
  border: 1px solid var(--rfc-border-light);
}

.rfc-user-pick-score-label {
  font-weight: 600;
  color: var(--rfc-text-primary);
  min-width: 80px;
  font-size: 0.875rem;
}

.rfc-user-pick-score-value {
  font-weight: 700;
  color: var(--rfc-primary);
  font-size: 1rem;
  margin-left: auto;
}

.rfc-score-note {
  font-size: 0.7rem;
  color: var(--rfc-text-secondary);
  font-style: italic;
  flex: 1;
  text-align: center;
}

.rfc-no-score .rfc-user-pick-score-value {
  color: var(--rfc-text-secondary);
}

.rfc-tournament-not-started .rfc-user-pick-score-value {
  color: var(--rfc-text-secondary);
}

/* RFC User Pick Dates spacing */
.rfc-user-pick-dates {
  margin-bottom: 0 !important;
}

/* CSS Reset for Leaderboard Table */
/* CSS Reset for Leaderboard Grid */
.rfc-leaderboard .rfc-table {
  display: grid !important;
  grid-template-columns: 80px 1fr 120px 120px !important;
  background: white !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.rfc-leaderboard .rfc-table thead,
.rfc-leaderboard .rfc-table tbody {
  display: contents !important;
}

.rfc-leaderboard .rfc-table thead tr,
.rfc-leaderboard .rfc-table tbody tr {
  display: contents !important;
}

.rfc-leaderboard .rfc-table th,
.rfc-leaderboard .rfc-table td {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.25rem 1rem !important;
  border: none !important;
  margin: 0 !important;
  background: white !important;
}

.rfc-leaderboard .rfc-table th {
  background: #374151 !important;
  color: white !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.rfc-leaderboard .rfc-table th:nth-child(2),
.rfc-leaderboard .rfc-table td:nth-child(2) {
  justify-content: flex-start !important;
  text-align: left !important;
}

.rfc-leaderboard .rfc-table td {
  border-bottom: 1px solid #f3f4f6 !important;
}

.rfc-leaderboard .rfc-table tbody tr:last-child td {
  border-bottom: none !important;
}

.rfc-leaderboard .rfc-rank {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  font-weight: 800 !important;
  color: #374151 !important;
  font-size: 1.25rem !important;
  width: 100% !important;
}

.rfc-leaderboard .rfc-medal {
  font-size: 1.5rem !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)) !important;
}

.rfc-leaderboard .rfc-score {
  font-weight: 800 !important;
  color: #1f2937 !important;
  font-size: 1.5rem !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}
