/* ====================================
   Pricing and Booking Page Styles
   For Hajj & Umrah Website
   ==================================== */

/* Price Breakdown Card */
.price-breakdown-card {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.price-breakdown-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px;
}

.price-breakdown-header h5 {
  margin: 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-breakdown-body {
  padding: 20px;
}

.price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f8f9fa;
}

.price-line:last-child {
  border-bottom: none;
}

.price-label {
  color: #6c757d;
  font-size: 14px;
  font-weight: 500;
}

.price-value {
  color: #2c3e50;
  font-weight: 600;
  font-size: 15px;
}

.price-subtotal {
  background: #f8f9fa;
  margin: 10px -20px;
  padding: 15px 20px !important;
}

.price-discount .price-value {
  color: #28a745;
}

.price-breakdown-total {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px;
  margin: 0 -20px -20px -20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-label-total {
  font-weight: 600;
  font-size: 16px;
}

.price-value-total {
  font-size: 28px;
  font-weight: 700;
}

/* Simple Price Display */
.simple-price-display {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 10px;
  color: white;
}

.price-label-simple {
  display: block;
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 8px;
}

.price-amount-simple {
  display: block;
  font-size: 32px;
  font-weight: 700;
}

/* Bank Transfer Instructions */
.bank-transfer-instructions {
  background: white;
  border: 2px solid #dee2e6;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.instruction-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.instruction-header i {
  font-size: 28px;
}

.instruction-header h5 {
  margin: 0;
  font-weight: 600;
}

.instruction-body {
  padding: 25px;
}

.bank-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #f8f9fa;
}

.bank-detail:last-of-type {
  border-bottom: none;
}

.bank-detail label {
  color: #6c757d;
  font-weight: 500;
  margin: 0;
}

.bank-detail strong {
  color: #2c3e50;
  font-size: 16px;
}

.bank-detail.highlight {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  margin: 20px -25px;
  padding: 20px 25px !important;
  border-bottom: none;
}

.bank-detail.highlight label,
.bank-detail.highlight strong {
  color: white;
}

.amount-highlight {
  font-size: 28px !important;
  font-weight: 700 !important;
}

.copyable {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.copyable:hover {
  color: #667eea;
}

.copyable i {
  font-size: 14px;
}

.bank-note {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 15px;
  border-radius: 6px;
  margin-top: 20px;
  display: flex;
  gap: 12px;
  align-items: start;
}

.bank-note i {
  color: #ffc107;
  font-size: 18px;
  margin-top: 2px;
}

.bank-note small {
  flex: 1;
  line-height: 1.5;
}

/* Sticky Price Summary Sidebar */
.sticky-price-summary {
  position: sticky;
  top: 20px;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.sticky-price-summary h6 {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e9ecef;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Price Highlight Box */
.price-highlight-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.price-highlight-box .label {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-highlight-box .amount {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1;
}

.price-highlight-box .note {
  font-size: 12px;
  opacity: 0.85;
}

/* Payment Method Cards */
.payment-method-card {
  border: 3px solid #e9ecef;
  border-radius: 12px;
  padding: 30px 25px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 100%;
  background: white;
}

.payment-method-card:hover {
  border-color: #667eea;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
  transform: translateY(-5px);
}

.payment-method-card.selected {
  border-color: #667eea;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.08),
    rgba(118, 75, 162, 0.08)
  );
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
}

.payment-method-card i {
  font-size: 52px;
  color: #667eea;
  margin-bottom: 15px;
  transition: all 0.3s;
}

.payment-method-card:hover i {
  transform: scale(1.1);
}

.payment-method-card h5 {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 10px;
}

.payment-method-card p {
  color: #6c757d;
  margin: 0;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .price-breakdown-card,
  .sticky-price-summary {
    margin-bottom: 20px;
  }

  .price-highlight-box .amount {
    font-size: 28px;
  }

  .amount-highlight {
    font-size: 22px !important;
  }

  .bank-detail {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .payment-method-card {
    margin-bottom: 15px;
  }

  .sticky-price-summary {
    position: relative;
    top: 0;
  }
}

@media (max-width: 576px) {
  .price-breakdown-body,
  .instruction-body {
    padding: 15px;
  }

  .bank-detail.highlight {
    margin: 15px -15px;
    padding: 15px !important;
  }

  .price-highlight-box {
    padding: 20px;
  }

  .price-highlight-box .amount {
    font-size: 24px;
  }
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.price-breakdown-card,
.bank-transfer-instructions,
.payment-method-card {
  animation: fadeIn 0.4s ease-out;
}
