/* --- Verlierer-Avatare (runde Bilder mit Schatten und Hover-Zoom) --- */
.verlierer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: flex-end;
  margin-top: 10px;
}

.tipploser-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
}

.tipploser-bild {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18), 0 1.5px 4px rgba(0,0,0,0.10);
  transition: transform 0.18s cubic-bezier(.4,1.3,.6,1), box-shadow 0.18s;
  border: 2px solid #fff;
  background: #eee;
}

.tipploser-bild:hover {
  transform: scale(1.11);
  box-shadow: 0 8px 24px rgba(0,0,0,0.22), 0 2px 8px rgba(0,0,0,0.13);
  z-index: 2;
}

.tipploser-name {
  margin-top: 3px;
  font-size: 0.98em;
  color: #555;
  text-align: center;
  word-break: break-word;
  max-width: 120px;
  font-weight: bold;
}


/* ### SPIELTAG NAVIGATION ### */
.spieltag-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.spieltag-navigation > div:first-child,
.spieltag-navigation > div:last-child {
  width: 180px;
}

.spieltag-navigation > div:first-child {
  text-align: right;
}

.spieltag-navigation > div:last-child {
  text-align: left;
}

.spieltag-nav-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background-color: #6c757d;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.spieltag-nav-button svg {
  flex-shrink: 0;
}

.spieltag-nav-button:hover {
  background-color: #5a6268;
  color: white;
}

.spieltag-nav-spacer {
  display: inline-block;
  width: 0;
}

.spieltag-dropdown-container {
  min-width: 150px;
}

.spieltag-dropdown-form {
  margin: 0;
}

.spieltag-dropdown {
  width: 100%;
  padding: 8px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

.spieltag-dropdown:hover {
  border-color: #adb5bd;
}

.spieltag-dropdown:focus {
  outline: none;
  border-color: #FF8C19;
  box-shadow: 0 0 0 0.2rem rgba(255, 140, 25, 0.25);
}

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

.tipp-team-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.tipp-team-name {
  display: inline-block;
}

/* Team-Namen: Standardmäßig lange Namen anzeigen */
.tipp-team-name-long {
  display: inline-block;
}

.tipp-team-name-short {
  display: none;
}



.tipp-vs {
  margin: 0 8px;
  color: #666;
  font-weight: 600;
  vertical-align: middle;
}


/* View-Mode Toggle Switch */
.view-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.view-toggle-label {
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.view-toggle-switch {
  display: inline-flex;
  background: #f5f5f5;
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}

.toggle-option {
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #999;
  background: transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.toggle-option:hover {
  color: #666;
}

.toggle-option.active {
  background: #ffffff;
  color: #333;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

main h2 {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 12px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0e0e0;
}

/* Mobile Ansicht - nur Pfeile zeigen */
@media (max-width: 768px) {
  .spieltag-navigation {
    margin-top: 0;
  }
  .nav-button-text {
    display: none;
  }
  
  .spieltag-navigation > div:first-child,
  .spieltag-navigation > div:last-child {
    width: 50px;
  }
  
  .spieltag-nav-button {
    padding: 8px 12px;
  }
  
  .spieltag-dropdown-container {
    min-width: 120px;
  }
}


/* ### LOGIN FORM ### */
.login-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 500px;
}

.login-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 40px;
  width: 100%;
  max-width: 420px;
}

.login-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.login-subtitle {
  font-size: 14px;
  color: #666;
  margin: 0 0 32px 0;
  text-align: center;
}

/* ### GENERIC CARD ### */
.card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.card-container.card-inline {
  align-items: stretch;
  padding: 10px 0;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 24px;
  width: 100%;
  max-width: 420px;
}

.card-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px 0;
  text-align: center;
}

.card-subtitle {
  font-size: 14px;
  color: #666;
  margin: 0 0 16px 0;
  text-align: center;
}

.card-button-center {
  text-align: center;
  margin-top: 16px;
}

.button-group {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  flex: 1;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Ensure anchor buttons render like real buttons */
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

a.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background-color: #FF8C19;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #e67d14;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 140, 25, 0.3);
}

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

.btn-danger {
  background-color: #d9534f;
  color: #ffffff;
}

.btn-danger:hover {
  background-color: #c9302c;
}

.btn-compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  text-decoration: none;
}

/* Admin Actions Box */
.admin-actions-box {
  margin-top: 30px;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 4px;
  border-left: 4px solid #FF8C19;
}

.admin-actions-box h3 {
  margin-top: 0;
}

.admin-actions-description {
  color: #666;
  margin-bottom: 15px;
}

.admin-actions-box .btn-compact {
  display: inline-block;
  padding: 10px 20px;
}

.btn-secondary {
  background-color: #f5f5f5;
  color: #666;
}

.btn-secondary:hover {
  background-color: #e0e0e0;
}

.button-group form {
  flex: 1;
  display: flex;
}

.button-group form .btn {
  width: 100%;
}

.button-group a.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Alert Messages */
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  background: #f7f7f7;
  color: #333;
  border: 1px solid #e0e0e0;
}

.alert-success {
  background-color: #eef8ed;
  color: #155724;
  border: 1px solid #cfe8c9;
}

.alert-warning {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.alert-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.alert-info {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.alert-link-success {
  color: #155724;
  text-decoration: underline;
}

.alert-link-success:hover {
  color: #0f3d18;
}

.alert a,
.alert-link {
  color: #FF8C19;
  font-weight: 700;
  text-decoration: none;
}

.alert a:hover,
.alert-link:hover {
  text-decoration: underline;
}

.alert-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #FF8C19;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  margin-left: 10px;
  border: none;
  box-shadow: 0 4px 10px rgba(255, 140, 25, 0.25);
  transition: all 0.2s ease;
}

.alert-button:hover {
  background: #e67d14;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(255, 140, 25, 0.3);
}

.alert-button:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(255, 140, 25, 0.2);
}

/* Tipp-Result Cell with Live Badge */
.tipp-result-cell {
  text-align: center;
}

.result-container {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.result-number {
  line-height: 1;
}

.result-value {
  display: inline-block;
}

.result-datetime {
  font-size: 0.85em;
  color: #666;
}

.result-live-badge {
  background: #FF8C19;
  color: white;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: bold;
  line-height: 1;
  animation: pulse-live 2s ease-in-out infinite;
}

@keyframes pulse-live {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.result-warning-icon {
  display: inline-block;
  cursor: help;
  line-height: 0;
}

.result-warning-icon svg {
  display: block;
  animation: pulse-warning 2s ease-in-out infinite;
}

@keyframes pulse-warning {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.badge-new {
  background: #28a745;
  color: white;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
}

.badge-change {
  background: #ffc107;
  color: black;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
}

.badge-unchanged {
  background: #e9ecef;
  color: #495057;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
}

.status-final {
  color: green;
}

.status-live {
  color: orange;
}

.status-none {
  color: gray;
}

@media (max-width: 480px) {
  .login-card {
    padding: 30px 20px;
  }
  
  .button-group {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* ### TIPP-EINGABEMASKE ### */
.tipp-eingabemaske-container {
  max-width: 800px;
  margin: 0 auto;
}

.tipp-info-box {
  background-color: #f5f5f5;
  border-left: 4px solid #FF8C19;
  padding: 10px 16px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.tipp-info-box h2 {
  background-color: transparent;
  color: #333;
  margin-top: 0;
  margin-bottom: 10px;
  text-align: left;
}

.tipp-info-box p {
  color: #555;
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}

.tipp-info-header {
  background-color: #f5f5f5;
  padding: 8px 12px;
  margin-bottom: 12px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tipp-info-header h2 {
  background-color: transparent;
  color: #333;
  margin-top: 0;
  margin-bottom: 4px;
  text-align: left;
  font-size: 16px;
}

.tipp-info-header p {
  color: #555;
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  flex: 1;
  text-align: center;
}

.tipp-info-header .postponed-info {
  margin-top: 10px;
}

.info-header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.info-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #ffffff;
  color: #666;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.info-action-icon:hover {
  background: #FF8C19;
  color: white;
  box-shadow: 0 2px 6px rgba(255, 140, 25, 0.3);
  transform: translateY(-1px);
}

.info-action-icon.disabled {
  opacity: 0.4;
  cursor: default;
}

.info-action-icon svg {
  display: block;
}

.tipp-eingabe-form {
  background: #ffffff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tipp-eingabe-form h2 {
  margin: 0 0 16px 0;
  font-size: 1.3em;
  border-bottom: 3px solid #FF8C19;
  padding-bottom: 10px;
}

.tipp-eingabe-liste {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.tipp-eingabe-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

.tipp-eingabe-item:hover {
  border-color: #FF8C19;
  background-color: #fafafa;
}

.tipp-eingabe-item.disabled {
  background-color: #f5f5f5;
  border-color: #ddd;
  opacity: 0.7;
}

.tipp-match-info {
  flex: 1;
  min-width: 0;
}

.tipp-team-names {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
  font-weight: 600;
  font-size: 14px;
  color: #333;
  flex-wrap: wrap;
}

.tipp-home-team {
  flex: 0 1 auto;
  word-break: break-word;
}

.tipp-vs {
  flex: 0 0 auto;
  color: #666;
  font-size: 12px;
  font-weight: 600;
  margin: 0 8px;
}

.tipp-away-team {
  flex: 0 1 auto;
  word-break: break-word;
}

.tipp-match-time {
  font-size: 11px;
  color: #666;
  margin-bottom: 0;
}

.tipp-match-status {
  font-size: 11px;
  color: #d9534f;
  font-style: italic;
}

.tipp-eingabe-field {
  width: 80px;
  min-width: 70px;
  padding: 10px 12px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
}

.tipp-eingabe-field:focus {
  outline: none;
  border-color: #FF8C19;
  box-shadow: 0 0 0 3px rgba(255, 140, 25, 0.1);
}

.tipp-eingabe-field::placeholder {
  color: #bbb;
  font-weight: normal;
}

.tipp-eingabe-item.disabled .tipp-eingabe-field {
  background-color: #f0f0f0;
  cursor: not-allowed;
  color: #999;
}

.tipp-buttons-group {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
}

.tipp-buttons-group input[type="radio"] {
  display: none;
}

.tipp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 2px solid #b0b0b0;
  border-radius: 4px;
  background-color: #e0e0e0;
  color: #333333;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-shadow: 0 1px 2px rgba(255,255,255,0.7);
}

.tipp-button:hover:not(.disabled) {
  border-color: #FF8C19;
  background-color: #e0e0e0;
  color: #333333;
  box-shadow: 0 2px 4px rgba(255, 140, 25, 0.2);
}

.tipp-radio:checked + .tipp-button,
.tipp-button-selected {
  background-color: #FF8C19;
  border-color: #FF8C19;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(255, 140, 25, 0.3);
}

.tipp-button:active {
  transform: scale(0.95);
}

@media (max-width: 480px) {
  .tipp-buttons-group {
    width: 100%;
    order: 2;
    gap: 6px;
  }
  
  .tipp-button {
    flex: 1;
    width: auto;
    height: 40px;
  }
  
  .tipp-match-info {
    width: 100%;
    order: 1;
    margin-bottom: 8px;
  }
  
  .tipp-form-buttons {
    flex-direction: column;
  }
  
  .tipp-form-buttons .btn {
    width: 100%;
  }
}

.tipp-form-buttons .btn-secondary:hover {
  background-color: #d0d0d0;
}

/* Responsive Design für Tipp-Eingabemaske */
@media (max-width: 768px) {
  .tipp-eingabe-item {
    flex-wrap: wrap;
  }
  
  .tipp-eingabe-field {
    width: 100%;
  }
  
  .tipp-match-info {
    width: 100%;
  }
  
  .tipp-form-buttons {
    flex-direction: column;
  }
  
  .tipp-form-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 630px) {
    .tipp-eingabe-liste {
    gap: 0;
  }

  .tipp-eingabe-item {
    padding: 10px 0;
    gap: 0;
    border:0;
    border-radius: 0;
  }

  .tipp-eingabe-liste .tipp-eingabe-item:not(:first-child) {
    border-top: 1px solid #e0e0e0;
  }

  .tipp-eingabe-item:hover {
    border-color: #e0e0e0;
    background-color: #fff;
  }
  .tipp-match-info {
    padding: 0 2px;
  }
  
  .tipp-team-names {
    font-size: 14px;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .tipp-team-names .tipp-vs {
    display: none;
  }
     .tipp-buttons-group {
    gap: 4px;
  }
  
  .tipp-button {
    height: 38px;
    font-size: 16px;
  }
}

/* Zusammenfassungs-Box */
.data-info {
  text-align: center;
  color: #999;
  font-size: 0.85rem;
  margin: 10px 0 20px 0;
  font-style: italic;
}

.auszahlung-summary {
  margin-top: 30px;
  padding: 0;
}

.summary-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.summary-card {
  flex: 0 1 auto;
  max-width: 280px;
  min-width: 220px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #FF8C19;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.summary-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-label {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.card-value {
  font-size: 1.6rem;
  color: #FF8C19;
  font-weight: 700;
  line-height: 1;
}

/* Responsive Optimierungen für Cards bei Auszahlung */
@media (max-width: 768px) {
  .summary-title {
    font-size: 1.1rem;
  }
  
  .summary-cards {
    gap: 15px;
    padding: 0 20px;
  }
  
  .summary-card {
    min-width: calc(100% - 40px);
    padding: 20px;
  }
  
  .card-value {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {  
  .summary-card {
    padding: 15px;
  }
  
  .card-value {
    font-size: 1.5rem;
  }
}

.confirm-form {
  margin-top: 20px;
}

/* Tipploser */
.tipploser-tabs {
    display: flex;
    gap: 2px;
    margin: 20px 0;
    border-bottom: 2px solid #e0e0e0;
}

.tipploser-tab {
    padding: 12px 24px;
    background-color: #f5f5f5;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    text-align: center;
}

@media (max-width: 768px) {
    .tipploser-tab {
        padding: 10px 8px;
        font-size: 12px;
        flex: 1;
    }
}

.tipploser-tab:hover {
    background-color: #e8e8e8;
    color: #333;
}

.tipploser-tab.active {
    background-color: #FFE8CC;
    color: #333;
    border-bottom-color: #FF8C19;
}

.tipploser-content {
    margin-top: 20px;
}

.tipploser-section {
    display: none;
}

.tipploser-section.active {
    display: block;
}

.tipploser-section h3 {
    margin-top: 0;
    color: #333;
}

/* Basis-Kachel Styling */
.kachel h2 {
  margin: 0 0 16px 0;
  font-size: 1.3em;
  border-bottom: 3px solid #FF8C19;
  padding-bottom: 10px;
}

.kachel p {
  color: #555;
  line-height: 1.6;
}

.kachel ul {
  margin: 12px 0;
  padding-left: 20px;
  color: #555;
  line-height: 1.6;
}

.kachel ul li {
  margin: 12px 0;
}

.kachel-meta {
  font-size: 0.9em;
  color: #888;
  font-style: italic;
  margin-top: 16px;
}


/* ### HINWEIS-KACHEL ### */
.hinweis-liste {
  margin: 15px 0;
  padding-left: 20px;
  line-height: 1.8;
}

.hinweis-aktion {
  margin-top: 20px;
}

.btn-hinweis {
  display: inline-block;
  padding: 10px 20px;
}

/* ### COUNTDOWN IN KACHEL ### */
.countdown-matchday {
  font-size: 1.6em !important;
  font-weight: 700;
  color: #333;
  margin: 16px 0 8px 0;
}

.countdown-matchday strong {
  font-size: inherit;
}

.countdown-date {
  font-size: 1em !important;
  color: #666;
  margin-bottom: 20px;
}

.tipp-status {
  margin: 15px 0;
}

.status-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.status-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.status-warning {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.countdown-timer {
  margin: 20px 0;
}

.countdown-unit {
  background: linear-gradient(135deg, #495057 0%, #343a40 100%) !important;
  color: white !important;
  padding: 10px 12px;
  border-radius: 8px;
  min-width: 45px;
  box-shadow: 0 2px 8px rgba(73, 80, 87, 0.3);
  transition: transform 0.2s ease;
}

.countdown-unit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(73, 80, 87, 0.4);
}

.countdown-value {
  display: block;
  font-size: 1.5em !important;
  font-weight: bold;
  line-height: 1;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  color: white !important;
}

.countdown-label {
  display: block;
  font-size: 0.7em;
  margin-top: 4px;
  opacity: 0.95;
  letter-spacing: 0.5px;
  color: white !important;
}

.countdown-loading,
.countdown-expired {
  font-size: 1.1em;
  padding: 20px;
  color: #666;
}

.countdown-action {
  margin-top: 20px;
}

.countdown-action .btn-compact {
  background: #FF8C19 !important;
  color: white !important;
  padding: 12px 35px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(255, 140, 25, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9em;
}

.countdown-action .btn-compact:hover {
  background: #ff9f3d !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 140, 25, 0.4);
}

.countdown-content {
  text-align: center;
}

.countdown-matchday {
  font-size: 1.8em;
  margin-bottom: 10px;
}

.countdown-date {
  font-size: 1.1em;
  opacity: 0.9;
  margin-bottom: 20px;
}

.countdown-timer {
  margin: 20px 0;
}

.countdown-units {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.countdown-unit {
  background: rgba(255,255,255,0.15);
  padding: 15px 20px;
  border-radius: 8px;
  min-width: 40px;
  backdrop-filter: blur(10px);
}

.countdown-value {
  display: block;
  font-size: 2em;
  font-weight: bold;
  line-height: 1;
}

.countdown-label {
  display: block;
  font-size: 0.85em;
  margin-top: 5px;
  opacity: 0.9;
}

.countdown-loading,
.countdown-expired {
  font-size: 1.2em;
  padding: 20px;
}

.countdown-action {
  margin-top: 20px;
}

.countdown-action .btn-compact {
  background: white;
  color: #667eea;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
}

.countdown-action .btn-compact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Saison-Statistik Styles */
.back-link {
  margin-bottom: 20px;
}

.back-link a {
  color: #007bff;
  text-decoration: none;
}

.back-link a:hover {
  text-decoration: underline;
}

.btn-archive {
  background-color: #d9534f;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

.info-box {
  margin-top: 20px;
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 4px;
}


.link-primary {
  color: #007bff;
  text-decoration: none;
}

.link-primary:hover {
  text-decoration: underline;
}


/* SQL Code Details (Aufklappbereich) */
.sql-details {
  margin-top: 15px;
}

.sql-details summary {
  cursor: pointer;
  font-weight: bold;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 4px;
}

.sql-details summary:hover {
  background: #e9ecef;
}

.sql-details pre {
  background: #2d2d2d;
  color: #f8f8f2;
  padding: 15px;
  border-radius: 4px;
  overflow-x: auto;
  margin-top: 10px;
}

.sql-details pre code {
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  line-height: 1.5;
}

.sql-details-hint {
  margin-top: 10px;
  font-style: italic;
  color: #666;
}
