/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Logo Tint Effect */
.logo-tint {
  filter: brightness(0.75) contrast(1.2) saturate(1.3);
  transition: filter 0.3s ease;
}

.logo-tint:hover {
  filter: brightness(0.7) contrast(1.25) saturate(1.4);
}

/* Stripe Payment Elements - Enhanced Accessibility */
.stripe-card-element {
  background-color: #ffffff;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
}

.stripe-card-element--focus {
  border-color: #dfae7e;
  box-shadow: 0 0 0 3px rgba(223, 174, 126, 0.15);
  outline: none;
}

.stripe-card-element--invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Ensure Stripe iframe has proper dimensions */
#gift-card-payment-element iframe,
#payment-element iframe {
  min-height: 44px;
}

/* Stripe container styling for better visibility */
#gift-card-payment-element,
#payment-element {
  margin: 12px 0;
}

/* Make sure payment section is clearly visible */
.payment-section {
  background-color: #f9fafb;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  margin: 16px 0;
}
