@import url("css/base.css");
@import url("css/layout.css");
@import url("css/components.css");
@import url("css/features/league-table.css");
@import url("css/features/players.css");
@import url("css/features/games.css");
@import url("css/features/goal-modal.css");
@import url("css/features/goal-getter.css");

/* Inline style replacements */
.team-img {
  width: var(--team-img-size, 20px);
  height: var(--team-img-size, 20px);
  object-fit: cover;
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: middle;
}

.player-columns {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.player-team-column {
  flex: 1;
  min-width: 220px;
  border: 1px solid #eee;
  padding: 8px;
  border-radius: 6px;
  background: #fafafa;
}

.player-team-column--unassigned {
  background: #fff;
}

.player-team-title {
  margin: 4px 0 8px 0;
}

.player-team-count {
  color: #666;
  font-weight: normal;
}

.player-team-empty {
  color: #666;
  padding: 8px 0;
}

.game-message {
  padding: 16px;
}

.game-message--warning {
  color: #e74c3c;
  font-weight: bold;
}

.game-details-message {
  padding: 8px;
}

.game-details-message--error {
  color: #c0392b;
}

.game-details-message--empty {
  color: #999;
}

.game-details-message--no-goals {
  padding: 12px;
  color: #666;
}

.btn-goal {
  margin-left: auto;
  padding: 4px 12px;
  font-size: 13px;
  background: #667eea;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
}

.goalgetter-empty-message {
  padding: 16px;
  color: #666;
}

.goalgetter-panels {
  display: flex;
  gap: 1rem;
  padding: 0.8rem;
  flex-wrap: wrap;
}

.goalgetter-panel {
  flex: 1;
}

.goalgetter-block {
  margin-bottom: 24px;
}

.goalgetter-title {
  margin-bottom: 12px;
  font-weight: bold;
}

.goalgetter-empty {
  color: #666;
  text-align: center;
  padding: 16px;
}

.goalgetter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background 0.2s;
}

.goalgetter-row:hover {
  background: #f5f5f5;
}

.goalgetter-rank {
  width: 40px;
  text-align: center;
  font-weight: bold;
  color: #667eea;
}

.goalgetter-count {
  width: 36px;
  text-align: center;
  font-weight: bold;
  color: #222;
}

.goalgetter-player {
  display: flex;
  align-items: center;
  gap: 8px;
}

.goalgetter-player-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.goalgetter-player-name {
  font-weight: 500;
  color: #222;
}

.goalgetter-team {
  display: flex;
  align-items: center;
  gap: 6px;
}

.goalgetter-team-img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  object-fit: cover;
}

.goalgetter-team-name {
  font-size: 12px;
  color: #666;
}

.goalgetter-more {
  text-align: center;
  margin-top: 12px;
}

.goalgetter-more-btn {
  padding: 6px 16px;
  font-size: 13px;
}

.goalgetter-popup-content {
  max-width: 400px;
}

.goalgetter-popup-close {
  cursor: pointer;
  float: right;
  font-size: 24px;
  font-weight: bold;
  color: #999;
}

.goalgetter-popup-body {
  padding: 16px;
}

.goalgetter-popup-title {
  margin: 0 0 12px 0;
  font-weight: bold;
}

.goalgetter-popup-list {
  max-height: 400px;
  overflow-y: auto;
}

.goalgetter-popup-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px;
  background: #f9f9f9;
  border-radius: 6px;
}

.goalgetter-popup-row--solo {
  margin-bottom: 8px;
}

.goalgetter-popup-flex {
  flex: 1;
}

.goalgetter-popup-date {
  font-size: 12px;
  color: #999;
}

.goalgetter-popup-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.goalgetter-popup-name {
  font-size: 13px;
  color: #222;
}

.goalgetter-popup-footer {
  margin-top: 16px;
  text-align: right;
}

.goalgetter-popup-close-btn {
  padding: 6px 16px;
}

.goal-modal-team {
  text-align: center;
  flex: 1;
}

.goal-modal-team-name {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}

.goal-modal-team-score {
  font-size: 32px;
  font-weight: bold;
  color: #333;
}

.goal-modal-vs {
  flex: 1;
  text-align: center;
  color: #667eea;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.league-copy-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.checkbox-compact {
  width: auto;
  margin: 0;
}

.team-image-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.help-text {
  display: block;
  margin-top: 4px;
  color: #666;
}

.team-image-preview {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  object-fit: cover;
}

.player-name-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.checkbox-row {
  display: flex;
  align-items: center;
  height: 38px;
}

.player-image-preview {
  max-width: 100%;
  max-height: 240px;
  display: block;
  border: 1px solid #ddd;
  padding: 6px;
  background: #fff;
}

.upload-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}
