.ab-gifts-list {
  border-top: 1px solid var(--border-color, #e5e5e5);
  margin-top: 0;
  padding-top: 0;
}

.ab-gifts-list .ab-gifts-header {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color, #e5e5e5);
}

.ab-gifts-list .ab-gift-item {
  padding: 12px 0;
  gap: 12px;
  position: relative;
}

.ab-gifts-list .ab-gift-image {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  overflow: hidden;
}

.ab-gifts-list .ab-gift-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ab-gifts-list .ab-gift-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ab-gifts-list .ab-gift-name {
  font-size: 14px;
  line-height: 1.4;
}

.ab-gifts-list .ab-gift-price {
  font-size: 14px;
  color: var(--text-secondary, #666);
  margin: 0;
}

.ab-unlock-gift-btn {
  white-space: nowrap;
  padding: 8px 16px;
  font-size: 14px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.ab-unlock-gift-btn:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

/* Animacja ładowania dla przycisku */
.ab-unlock-gift-btn.is-loading {
  position: relative;
  color: transparent;
}

.ab-unlock-gift-btn.is-loading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  margin-left: -8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: ab-gift-spin 0.6s linear infinite;
}

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

/* Komunikaty błędu */
.ab-gift-error {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 4px;
  padding: 6px 8px;
  background: #d32f2f;
  color: #fff;
  font-size: 12px;
  border-radius: 3px;
  white-space: nowrap;
  z-index: 100;
  font-weight: 500;
}
