/* ============================================
   PRICING CARD BUTTONS - PROFESSIONAL REDESIGN
   Focus on UX, clarity, and professional appearance
   ============================================ */

/* ============================================
   1. BUTTON CONTAINER - IMPROVED SPACING
   ============================================ */

.pricing-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: clamp(0.75rem, 1.2vw, 1rem) !important;
  margin-top: auto !important;
  padding-top: clamp(1.25rem, 2vw, 1.5rem) !important;
  width: 100% !important;
}

/* ============================================
   2. BASE BUTTON STYLES - PROFESSIONAL DESIGN
   ============================================ */

.btn-view-details,
.btn-pay {
  padding: clamp(0.875rem, 1.4vw, 1rem) clamp(1.5rem, 2.5vw, 2rem) !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  font-size: clamp(0.875rem, 1.2vw, 0.9375rem) !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: none !important;
  text-transform: none !important; /* Remove uppercase for better readability */
  letter-spacing: 0.01em !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(0.5rem, 0.8vw, 0.75rem) !important;
  min-height: clamp(44px, 5.5vw, 48px) !important; /* Touch-friendly minimum */
  box-sizing: border-box !important;
  margin: 0 !important;
  position: relative !important;
  overflow: hidden !important;
  text-decoration: none !important;
  line-height: 1.5 !important;
}

/* ============================================
   3. VIEW DETAILS BUTTON - SECONDARY ACTION
   ============================================ */

.btn-view-details {
  background: #FFFFFF !important;
  color: #1E293B !important; /* Dark gray/black text for better readability */
  border: 2px solid #2563EB !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1) !important;
}

.btn-view-details:hover {
  background: #F8FAFF !important;
  color: #0F172A !important; /* Darker on hover */
  border-color: #1D4ED8 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2) !important;
}

.btn-view-details:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15) !important;
}

/* ============================================
   4. PAY/PRIMARY BUTTON - MAIN ACTION
   ============================================ */

.btn-pay {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 
    0 4px 16px rgba(37, 99, 235, 0.25),
    0 2px 8px rgba(37, 99, 235, 0.15) !important;
  position: relative !important;
  overflow: hidden !important;
  border: 2px solid transparent !important;
  font-weight: 700 !important; /* Slightly bolder for primary action */
}

/* Shimmer effect on hover */
.btn-pay::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent) !important;
  transition: left 0.6s ease !important;
  z-index: 1 !important;
}

.btn-pay:hover::before {
  left: 100% !important;
}

.btn-pay:hover {
  background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%) !important;
  transform: translateY(-3px) !important;
  box-shadow: 
    0 8px 24px rgba(37, 99, 235, 0.35),
    0 4px 12px rgba(37, 99, 235, 0.2) !important;
}

.btn-pay:active {
  transform: translateY(-1px) !important;
  box-shadow: 
    0 4px 16px rgba(37, 99, 235, 0.3),
    0 2px 8px rgba(37, 99, 235, 0.2) !important;
}

/* Ensure text is above shimmer */
.btn-pay,
.btn-pay span,
.btn-pay i {
  position: relative !important;
  z-index: 2 !important;
}

/* ============================================
   5. LITE/RECOMMENDED BUTTON - HIGHLIGHTED
   ============================================ */

.lite-pay-btn {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  box-shadow: 
    0 4px 16px rgba(16, 185, 129, 0.3),
    0 2px 8px rgba(16, 185, 129, 0.2) !important;
  border: 2px solid transparent !important;
}

.lite-pay-btn::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
}

.lite-pay-btn:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  transform: translateY(-3px) !important;
  box-shadow: 
    0 8px 24px rgba(16, 185, 129, 0.4),
    0 4px 12px rgba(16, 185, 129, 0.25) !important;
}

.lite-pay-btn:active {
  transform: translateY(-1px) !important;
  box-shadow: 
    0 4px 16px rgba(16, 185, 129, 0.35),
    0 2px 8px rgba(16, 185, 129, 0.25) !important;
}

/* ============================================
   6. BUTTON ICONS - PROFESSIONAL STYLING
   ============================================ */

.btn-view-details i,
.btn-pay i {
  font-size: clamp(0.875rem, 1.1vw, 1rem) !important;
  transition: transform 0.3s ease !important;
}

.btn-view-details:hover i,
.btn-pay:hover i {
  transform: translateX(2px) !important;
}

/* ============================================
   7. BUTTON TEXT - IMPROVED READABILITY
   ============================================ */

.btn-view-details,
.btn-pay,
.btn-view-details span,
.btn-pay span {
  color: inherit !important;
  font-family: inherit !important;
  white-space: nowrap !important;
}

/* Ensure text colors are properly applied */
.btn-view-details,
.btn-view-details * {
  color: #1E293B !important;
}

.btn-view-details:hover,
.btn-view-details:hover * {
  color: #0F172A !important;
}

.btn-pay,
.btn-pay *,
.lite-pay-btn,
.lite-pay-btn * {
  color: #FFFFFF !important;
}

/* ============================================
   8. FOCUS STATES - ACCESSIBILITY
   ============================================ */

.btn-view-details:focus,
.btn-pay:focus {
  outline: none !important;
  box-shadow: 
    0 0 0 3px rgba(37, 99, 235, 0.3),
    0 4px 16px rgba(37, 99, 235, 0.2) !important;
}

.btn-view-details:focus-visible,
.btn-pay:focus-visible {
  outline: 2px solid #2563EB !important;
  outline-offset: 2px !important;
}

/* ============================================
   9. DISABLED STATES
   ============================================ */

.btn-view-details:disabled,
.btn-pay:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  transform: none !important;
  pointer-events: none !important;
}

/* ============================================
   10. MOBILE OPTIMIZATIONS
   ============================================ */

@media (max-width: 768px) {
  .pricing-actions {
    gap: 0.875rem !important;
    padding-top: 1.25rem !important;
  }

  .btn-view-details,
  .btn-pay {
    padding: 1rem 1.5rem !important;
    min-height: 48px !important; /* Larger touch target on mobile */
    font-size: 0.9375rem !important;
  }
}

@media (max-width: 480px) {
  .btn-view-details,
  .btn-pay {
    padding: 0.875rem 1.25rem !important;
    min-height: 44px !important;
    font-size: 0.875rem !important;
  }
}

/* ============================================
   11. LOADING STATE (if needed)
   ============================================ */

.btn-pay.loading,
.btn-view-details.loading {
  position: relative !important;
  color: transparent !important;
  pointer-events: none !important;
}

.btn-pay.loading::after,
.btn-view-details.loading::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 20px !important;
  height: 20px !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  border-top: 2px solid #FFFFFF !important;
  border-radius: 50% !important;
  animation: spin 0.8s linear infinite !important;
  z-index: 3 !important;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ============================================
   12. ENTERPRISE BUTTON (Contact Sales)
   ============================================ */

.btn-view-details[href*="contact"],
.btn-view-details[href*="contact"]:hover {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
  color: #FFFFFF !important;
  border-color: transparent !important;
}

/* ============================================
   13. SMOOTH TRANSITIONS
   ============================================ */

.btn-view-details *,
.btn-pay * {
  transition: all 0.3s ease !important;
}

