.credit-shop-container {
  padding: 20px;
}

.credit-shop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
}

.credit-points-display {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.credit-points-display i {
  font-size: 20px;
  color: #ff9800;
}

.credit-item-card {
  background: white;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.credit-item-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.credit-item-type {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  margin-top: 10px;
}

.credit-item-type.virtual {
  background: #e8f5e9;
  color: #2e7d32;
}

.credit-item-type.physical {
  background: #e3f2fd;
  color: #1565c0;
}

.credit-history-button {
  padding: 8px 16px;
  background: #6c757d;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.credit-history-button:hover {
  background: #5a6268;
}

.credit-admin-container {
  padding: 20px;
}

.credit-admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.credit-stat-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
}

.credit-stat-value {
  font-size: 32px;
  font-weight: bold;
  color: #ffd700;
  margin-bottom: 10px;
}

.credit-stat-label {
  font-size: 14px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.credit-virtual-config {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-top: 15px;
  border: 1px dashed #dee2e6;
}

.credit-virtual-config label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 8px;
  display: block;
}

.credit-value-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ced4da;
  border-radius: 5px;
  font-size: 14px;
}

.credit-value-input:focus {
  border-color: #ffd700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}