/* Modern Payment Page Styles */

/* Page Header */
.payment-page-header {
  background: linear-gradient(135deg, #fef9f3 0%, #ffffff 100%);
  border-bottom: 1px solid #e5e7eb;
  padding: 3rem 0 2rem 0;
}

.payment-breadcrumb .breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1rem;
  justify-content: center;
}

.payment-breadcrumb .breadcrumb-item a {
  color: #cd743d;
  text-decoration: none;
  transition: color 0.2s ease;
}

.payment-breadcrumb .breadcrumb-item a:hover {
  color: #a0541f;
}

.payment-breadcrumb .breadcrumb-item.active {
  color: #6b7280;
}

.payment-title {
  font-family: "El Messiri", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 0.5rem;
}

.payment-subtitle {
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* Main Section */
.payment-main-section {
  background-color: #f9fafb;
  padding: 3rem 0;
  min-height: 80vh;
}

/* Payment Form Container */
.payment-form-container {
  background: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid #e5e7eb;
}

/* Security Badge */
.security-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.security-icons {
  display: flex;
  gap: 0.5rem;
  color: #059669;
  font-size: 1.2rem;
}

.security-text {
  display: flex;
  flex-direction: column;
}

.security-title {
  font-weight: 600;
  color: #065f46;
  font-size: 0.9rem;
}

.security-subtitle {
  font-size: 0.8rem;
  color: #059669;
}

/* Payment Provider */
.payment-provider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  background-color: #f9fafb;
  border-radius: 8px;
  margin-bottom: 2rem;
  border: 1px solid #e5e7eb;
}

.provider-logo img {
  height: 40px;
}

.provider-text {
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Modern Form */
.modern-payment-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-label i {
  color: #cd743d;
  font-size: 0.9rem;
}

.modern-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background-color: #ffffff;
}

.modern-input:focus {
  outline: none;
  border-color: #cd743d;
  box-shadow: 0 0 0 3px rgba(205, 116, 61, 0.1);
}

.modern-input::placeholder {
  color: #9ca3af;
}

.form-group.focused .form-label {
  color: #cd743d;
}

/* Card Types */
.card-types {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.card-types i {
  font-size: 1.5rem;
  color: #9ca3af;
  transition: color 0.2s ease;
}

.card-types i:hover {
  color: #6b7280;
}

/* Payment Button */
.payment-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #cd743d 0%, #b8632d 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(205, 116, 61, 0.3);
  margin-top: 1rem;
}

.payment-btn:hover {
  background: linear-gradient(135deg, #b8632d 0%, #a0541f 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 15px -3px rgba(205, 116, 61, 0.4);
}

.payment-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.payment-amount {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-weight: 700;
}

/* Alternative Payment */
.alternative-payment {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.divider {
  text-align: center;
  position: relative;
  margin-bottom: 1.5rem;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #e5e7eb;
}

.divider span {
  background-color: #ffffff;
  padding: 0 1rem;
  color: #9ca3af;
  font-size: 0.9rem;
}

.alt-payment-text {
  text-align: center;
}

.alt-payment-text p {
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.whatsapp-link {
  color: #25d366;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.whatsapp-link:hover {
  color: #1da851;
}

.support-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #f3f4f6;
  padding: 0.75rem;
  border-radius: 8px;
  color: #374151;
  font-size: 0.9rem;
}

.support-contact a {
  color: #cd743d;
  text-decoration: none;
  font-weight: 600;
}

/* Cart Summary Container */
.cart-summary-container {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  position: sticky;
  top: 2rem;
}

/* Cart Header */
.cart-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #fef9f3 0%, #ffffff 100%);
  border-bottom: 1px solid #e5e7eb;
}

.cart-summary-header h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "El Messiri", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #374151;
  margin: 0;
}

.cart-summary-header i {
  color: #cd743d;
}

.items-count {
  background-color: #cd743d;
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Edit Cart Section */
.edit-cart-section {
  padding: 1rem 2rem;
  border-bottom: 1px solid #e5e7eb;
  background-color: #fff;
}

.edit-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #cd743d;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border: 1px solid #cd743d;
  border-radius: 6px;
  transition: all 0.2s ease;
  background-color: transparent;
}

.edit-cart-btn:hover {
  background-color: #cd743d;
  color: #ffffff;
  text-decoration: none;
}

/* Cart Items */
.cart-items-list {
  padding: 1.5rem 2rem;
}

.cart-item-summary {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.cart-item-summary:last-child {
  border-bottom: none;
}

.item-image {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f9fafb;
  border: 2px solid #e5e7eb;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.item-title {
  font-weight: 600;
  color: #374151;
  font-size: 0.9rem;
  line-height: 1.3;
  margin: 0;
}

.item-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.item-weight {
  background-color: #f3f4f6;
  color: #6b7280;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

.item-quantity-info {
  margin-top: 0.25rem;
}

.item-quantity {
  background-color: #e5e7eb;
  color: #374151;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.item-pricing {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 0.5rem;
}

.item-price {
  color: #cd743d;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Discount Sections */
.discount-section,
.additional-discount {
  padding: 1rem 2rem;
  background-color: #fef3c7;
  border-top: 1px solid #fde68a;
  border-bottom: 1px solid #fde68a;
}

.discount-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.discount-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #92400e;
  font-weight: 600;
  font-size: 0.9rem;
}

.discount-label i {
  color: #f59e0b;
}

.discount-value {
  color: #92400e;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Price Breakdown */
.price-breakdown {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.price-row:last-child {
  margin-bottom: 0;
}

.price-row.subtotal span:first-child {
  color: #6b7280;
}

.price-row.discount .discount-amount {
  color: #059669;
  font-weight: 600;
}

.free-shipping {
  color: #059669;
  font-weight: 600;
}

/* Cart Total */
.cart-total {
  padding: 1.5rem 2rem;
  background-color: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.total-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: #374151;
}

.total-amount {
  font-size: 1.3rem;
  font-weight: 700;
  color: #cd743d;
  font-family: "El Messiri", serif;
}

.total-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-size: 0.8rem;
}

.total-note i {
  color: #9ca3af;
}

/* Security Features */
.security-features {
  padding: 1.5rem 2rem;
  background-color: #f9fafb;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.security-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #374151;
  font-size: 0.85rem;
  font-weight: 500;
}

.security-feature i {
  color: #059669;
  font-size: 1rem;
  width: 16px;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 991px) {
  .payment-main-section {
    padding: 2rem 0;
  }
  
  .payment-form-container,
  .cart-summary-container {
    margin-bottom: 2rem;
  }
  
  .cart-summary-container {
    position: static;
  }
  
  .payment-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .payment-page-header {
    padding: 2rem 0 1.5rem 0;
  }
  
  .payment-title {
    font-size: 1.8rem;
  }
  
  .payment-subtitle {
    font-size: 1rem;
  }
  
  .payment-form-container,
  .cart-summary-container {
    padding: 1.5rem;
    border-radius: 6px;
  }
  
  .cart-summary-header,
  .edit-cart-section,
  .cart-items-list,
  .price-breakdown,
  .cart-total,
  .security-features {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .security-badge {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .payment-provider {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .payment-btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  
  .cart-item-summary {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .item-image {
    align-self: flex-start;
    width: 50px;
    height: 50px;
  }
  
  .item-pricing {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .cart-items-list {
  }
  
  .security-features {
    flex-direction: column;
  }
  
  .payment-amount {
    font-size: 0.9rem;
  }
}

/* Mobile Responsive Classes */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

/* Mobile Sticky Bottom Bar */
.mobile-sticky-bottom {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1rem;
}

.sticky-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
  gap: 1rem;
}

.view-details-btn {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.875rem 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #374151;
  font-weight: 500;
}

.view-details-btn:hover {
  background: #f3f4f6;
  border-color: #cd743d;
  color: #cd743d;
}

.view-details-btn i {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.view-details-btn:hover i {
  transform: translateY(-2px);
}

.cart-summary-mobile {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.cart-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.cart-info .items-count {
  color: #6b7280;
  font-weight: 400;
  background-color: transparent;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
}

.cart-info .total-amount {
  font-size: 1.3rem !important;
  font-weight: 700;
  color: #cd743d;
  font-family: "El Messiri", serif;
}

/* Cart Modal (Bottom Sheet) */
.cart-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-modal-overlay.active {
  opacity: 1;
}

.cart-modal-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 16px 16px 0 0;
  max-height: 80vh;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cart-modal-overlay.active .cart-modal-content {
  transform: translateY(0);
}

.modal-header {
  position: relative;
  padding: 0.75rem 1.5rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.modal-handle {
  width: 40px;
  height: 4px;
  background: #d1d5db;
  border-radius: 2px;
  margin: 0 auto 1rem;
  flex-shrink: 0;
}

.modal-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.modal-title h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #374151;
  margin: 0;
}

.modal-title i {
  color: #cd743d;
}

.modal-title .items-count {
  background: #f3f4f6;
  color: #6b7280;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: #f3f4f6;
  color: #374151;
}

.modal-body {
  padding: 1rem 1.5rem 2rem;
  max-height: calc(80vh - 120px);
  overflow-y: auto;
}

/* Mobile Responsive Styles */
@media (max-width: 991px) {
  .desktop-only {
    display: none !important;
  }
  
  .mobile-only {
    display: block;
  }
  
  .mobile-sticky-bottom {
    display: block;
  }
  
  .payment-main-section {
    padding-bottom: 8rem; /* Space for sticky bottom bar */
  }
}

@media (max-width: 768px) {
  .sticky-content {
    gap: 0.75rem;
  }
  
  .view-details-btn {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
  
  .cart-info .total-amount {
    font-size: 1rem;
  }
  
  .modal-body {
    padding: 0.875rem 1.25rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .mobile-sticky-bottom {
    padding: 0.875rem;
  }
  
  .sticky-content {
    gap: 0.5rem;
  }
  
  .view-details-btn {
    padding: 0.625rem 0.875rem;
    font-size: 0.8rem;
  }
  
  .cart-info {
    gap: 0.5rem;
    font-size: 0.8rem;
  }
  
  .cart-info .total-amount {
    font-size: 0.95rem;
  }
  
  .modal-body {
    padding: 0.75rem 1rem 1.25rem;
  }
  
  .modal-title h3 {
    font-size: 1.125rem;
  }
}

/* Payment Modern Styles */
.payment-modern-container {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
  padding: 2rem 0;
}

.payment-form-section {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.payment-form-section:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.payment-cart-summary {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  position: sticky;
  top: 2rem;
  height: fit-content;
}

.payment-section-title {
  color: #2c3e50;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.payment-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #cd743d;
  border-radius: 2px;
}

.payment-form-group {
  margin-bottom: 1.5rem;
}

.payment-form-label {
  display: block;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.payment-form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.payment-form-control:focus {
  outline: none;
  border-color: #cd743d;
  background: white;
}

.payment-form-control.is-invalid {
  border-color: #e74c3c;
  background: #fdf2f2;
}

.payment-form-control.is-invalid:focus {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.payment-form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 1rem;
  background: #f8f9fa;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-form-select:focus {
  outline: none;
  border-color:#cd743d;
  background: white;
}

.payment-form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 1rem;
  background: #f8f9fa;
  resize: vertical;
  min-height: 100px;
  transition: all 0.3s ease;
}

.payment-form-textarea:focus {
  outline: none;
  border-color:#cd743d;
  background: white;
}

.payment-form-check {
  display: flex;
  align-items: center;
  margin: 1rem 0;
}

.payment-form-check-input {
  width: 20px;
  height: 20px;
  margin-right: 0.75rem;
  accent-color: #cd743d;
}

.payment-form-check-label {
  color: #2c3e50;
  font-size: 0.95rem;
  cursor: pointer;
}

.payment-btn {
  width: 100%;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.payment-btn-primary {
  background: #cd743d;
  color: white;
}

.payment-btn-primary:hover:not(:disabled) {
  background: #cd743d;
  transform: translateY(-2px);
}

.payment-btn-secondary {
  background: linear-gradient(135deg, #6c757d, #495057);
  color: white;
}

.payment-btn-secondary:hover {
  background: linear-gradient(135deg, #5a6268, #343a40);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 117, 125, 0.3);
}

.payment-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.payment-error-message {
  color: #e74c3c;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

.payment-info-box {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid #2196F3;
}

.payment-info-box p {
  margin: 0.5rem 0;
  color: #1565c0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.payment-logo-section {
  text-align: center;
  margin: 1rem 0;
}

.payment-logo-section img {
  max-width: 180px;
  height: auto;
}

.payment-contact-info {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.payment-contact-info p {
  margin: 0.5rem 0;
  color: #495057;
  font-size: 0.9rem;
}

.payment-contact-link {
  color: #cd743d !important;
  text-decoration: none;
  font-weight: 600;
}

.payment-contact-link:hover {
  color: #cd743d !important;
  text-decoration: underline;
}

.payment-price-display {
  background: #cd743d;
  color: white;
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  margin: 1.5rem 0;
}

.payment-price-display h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

/* Cart Summary Styles */
.cart-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #e9ecef;
}

.cart-summary-item:last-child {
  border-bottom: none;
}

.cart-item-info h6 {
  margin: 0 0 0.25rem 0;
  color: #2c3e50;
  font-weight: 600;
}

.cart-item-details {
  color: #6c757d;
  font-size: 0.875rem;
}

.cart-item-price {
  color: #2c3e50;
  font-weight: 600;
}

.cart-summary-divider {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, #e9ecef, #dee2e6, #e9ecef);
  margin: 1rem 0;
}

.cart-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  color: #495057;
}

.cart-price-row.discount {
  color: #e74c3c;
}

.cart-price-row.total {
  border-top: 2px solid #e9ecef;
  margin-top: 1rem;
  padding-top: 1rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: #2c3e50;
}

.cart-original-price {
  text-decoration: line-through;
  color: #6c757d;
  font-size: 0.9rem;
}

/* Summary Display Styles */
.payment-summary {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.payment-summary-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #dee2e6;
}

.payment-summary-item:last-child {
  border-bottom: none;
}

.payment-summary-label {
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.9rem;
}

.payment-summary-value {
  color: #495057;
  font-size: 0.9rem;
}

/* Card Form Styles */
.card-form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.card-form-col {
  flex: 1;
}

.card-form-col-4 {
  flex: 0 0 calc(33.333% - 0.667rem);
}

/* Loading Spinner */
.payment-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .payment-modern-container {
    padding: 1rem 0;
  }
  
  .payment-form-section,
  .payment-cart-summary {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .payment-cart-summary {
    position: static;
    margin-top: 2rem;
  }
  
  .card-form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .card-form-col-4 {
    flex: 1;
    margin-bottom: 1.5rem;
  }
  
  .payment-section-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 576px) {
  .payment-form-section,
  .payment-cart-summary {
    padding: 1rem;
    border-radius: 12px;
  }
  
  .payment-form-control,
  .payment-form-select,
  .payment-form-textarea {
    padding: 0.75rem;
  }
  
  .payment-btn {
    padding: 0.875rem 1.5rem;
  }
}

/* Animation for form transitions */
.payment-form-section {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Additional styles for enhanced UX */
.payment-step-indicator {
  background: #cd743d;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
}

.payment-breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 2rem;
}

.payment-breadcrumb .breadcrumb {
  background: white;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
} 