/*
 * Sullivan Gift Card – Balance Lookup (shortcode: [gift_card_lookup])
 * This file mirrors the original lookup styles that previously lived in assets/sv-giftcard.css.
 */

.alert,
.apply-gift-card-msg {
  font-size: var(--text);
  font-weight: 600;
  line-height: 1.3;
}

.success {
  color: var(--success, #2CC01C);
}

.error {
  color: var(--danger, #FF2D2D);
}

.info {
  color: var(--info, #0dcaf0);
}
/* ==========================================================================
   Gift Card Balance Lookup (shortcode: [gift_card_lookup])
   ========================================================================== */

.sv-gc-balance-lookup .balance-check-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.sv-gc-balance-lookup .balance-check-loader img {
  width: 44px;
  height: 44px;
  opacity: 0.75;
  animation: sv-gc-spin 0.9s linear infinite;
}

@keyframes sv-gc-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.sv-gc-balance-lookup .sv-gc-balance-label {
  display: inline-block;
  margin-bottom: 6px;
  font-size: var(--text-s);
  color: var(--base);
  font-weight: 600;
}

.sv-gc-balance-lookup .sv-gc-balance-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.sv-gc-balance-lookup .sv-gc-balance-input {
  border-radius: var(--radius);
  font-size: 16px;
}

.sv-gc-balance-lookup .sv-gc-balance-input::placeholder {
  font-size: 16px;
}

.sv-gc-lookup-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.sv-gc-lookup-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.sv-gc-lookup-label {
  font-size: var(--text-s);
  color: var(--base);
  font-weight: 600;
}
