.credits-page {
  padding: 2rem 0;
  min-height: calc(100vh - 120px);
}

.credit-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  height: 100%;
  transition: transform 0.2s ease;
}

  .credit-card:hover {
    transform: translateY(-2px);
  }

  .credit-card.events {
    border-left: 4px solid #007bff;
  }

  .credit-card.promotions {
    border-left: 4px solid #ffc107;
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    color: white;
  }

    .credit-card.promotions h3,
    .credit-card.promotions .credit-amount,
    .credit-card.promotions p {
      color: white;
    }

  .credit-card.featured {
    border-left: 4px solid #dc3545;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
  }

    .credit-card.featured h3,
    .credit-card.featured .credit-amount,
    .credit-card.featured p {
      color: white;
    }

  .credit-card.newsletter {
    border-left: 4px solid #6c757d;
    background: linear-gradient(135deg, #6c757d 0%, #545b62 100%);
    color: white;
  }

    .credit-card.newsletter h3,
    .credit-card.newsletter .credit-amount,
    .credit-card.newsletter p {
      color: white;
    }

  .credit-card.status {
    border-left: 4px solid #ffc107;
  }

  .credit-card.places {
    border-left: 4px solid #17a2b8;
  }

.credit-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.credit-card h3 {
  font-size: 1.2rem;
  color: #495057;
  margin-bottom: 0.5rem;
}

.credit-amount {
  font-size: 2.5rem;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 0.5rem;
}

  .credit-amount .unlimited {
    color: #28a745;
  }

  .credit-amount small {
    display: block;
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: normal;
  }

.status-text .available {
  color: #28a745;
  font-weight: bold;
}

.status-text .used {
  color: #6c757d;
}

.promo-section .card {
  border: 2px dashed #dee2e6;
  background: #f8f9fa;
}

.empty-state {
  text-align: center;
  padding: 3rem;
  color: #6c757d;
}

  .empty-state h4 {
    color: #495057;
  }

/* Sekcja historii wykorzystanych kodów promocyjnych */
.promo-usages-section {
  margin-top: 3rem;
}

  .promo-usages-section h3 {
    margin-bottom: 1.5rem;
    color: #495057;
  }

  .promo-usages-section .table {
    background: white;
  }

  .promo-usages-section .badge {
    font-size: 0.875rem;
    padding: 0.35em 0.65em;
  }

@media (max-width: 768px) {
  .credit-card {
    margin-bottom: 1rem;
  }

  .credit-amount {
    font-size: 2rem;
  }

  .credit-card.places {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
  }

    .credit-card.places .credit-icon {
      color: rgba(255, 255, 255, 0.9);
    }

  /* Wydarzenia cykliczne */
  .credit-card.recurring-events {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
  }

    .credit-card.recurring-events .credit-icon {
      background: rgba(255, 255, 255, 0.2);
    }

    .credit-card.recurring-events:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    }
}
