/* Public/checkout.css */

/* Global Styles */
body {
    background-color: #f8f9fa;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

  /* Card-style Sections */

  .container.py-5 {
    margin-top: 40px; 
  }
  
  .section-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #dee2e6;
  }
  
  .section-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
  }
  
  /* Payment Options Styling */
  .gcash-button {
    background-color: #fff;
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
  }
  
  .gcash-button img {
    max-height: 50px;
  }
  
  .gcash-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #e9ecef;
  }
  
  /* Separator with OR text */
  .separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: #6c757d;
    margin: 25px 0;
  }
  
  .separator::before,
  .separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dee2e6;
  }
  
  .separator span {
    padding: 0 15px;
    font-size: 1rem;
    font-weight: 500;
    background: #f8f9fa;
  }
  
  /* Form Controls */
  .form-control, .form-select {
    padding: 12px;
    border: 1px solid #ced4da;
    margin-bottom: 15px;
    border-radius: 20px;
  }
  
  .form-check {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
  }
  
  .form-check-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 15px;
    background-color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .plain-label {
    background: transparent !important;
    padding: 0 !important;
  }
  
  .form-check-input {
    margin-right: 8px;
    margin-bottom: -10px;
  }

  .form-check-input[type="radio"] {
    border: 2px solid #0d6efd;
  }
  
  .form-check-label:hover {
    background-color: #e9ecef;
  }
  
  .plain-label:hover {
    background: transparent !important;
  }
  
  .form-check-input:checked + .form-check-label {
    background-color: #e7f1ff;
    border: 1px solid #0d6efd;
  }
  
  .form-check-input:checked + .plain-label {
    background: transparent !important;
    border: none !important;
  }
  
  #regionSection {
    margin-top: 15px;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
  }
  
  /* Cart Item Styling */
  .cart-item {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
  }
  
.cart-item-image {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 8px;
    margin-right: 15px;
    flex-shrink: 0;
  }
  
  .cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  } 
  
  .cart-item-details {
    flex-grow: 1;
  }
  
  .quantity-control {
    display: flex;
    align-items: center;
    margin-top: 10px;
  }
  
.btn-quantity {
    background-color: #e9ecef;
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #000000; 
    color: rgb(0, 0, 0);
    font-weight: bold;
    font-size: 18px; 
  }

  /* Keep consistent styling when hovering */
  .btn-quantity:hover, .btn-quantity:focus, .btn-quantity:active {
    background-color: #d1e6ff;
    border-color: #0d6efd; /* Keep border visible */
  }
  
  /* Override any Bootstrap styles that might be affecting this */
  .btn-sm.btn-quantity {
    color: #000000 !important; /* Force text color */
    border: 2px solid #000000 !important; /* Force border */
  }

  .quantity-value {
    padding: 0 15px;
    font-weight: 500;
  }
  
  /* Discount and Totals */
  .discount-section {
    margin-bottom: 20px;
  }
  
  .totals-section {
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
  }
  
  .total-line {
    color: #0d6efd;
    font-weight: bold;
    margin-top: 10px;
  }
  
  /* Buttons */
  #payNowBtn {
    padding: 12px 24px;
    font-weight: 500;
    border-radius: 8px;
    width: 100%;
    margin-top: 15px;
    background-color: #0d6efd;
    color: white;
  }
  
  #arrangeShipment {
    padding: 12px 24px;
    font-weight: 500;
    border-radius: 8px;
    width: 100%;
    margin-top: 15px;
    background-color: #0d6efd;
    color: white;
  }
  
  /* Responsive adjustments */
  @media (min-width: 768px) {
    .container {
      max-width: 1140px;
    }
  }
  
  @media (max-width: 767.98px) {
    .cart-item {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .cart-item-image {
      width: 100%;
      height: 150px;
      margin-bottom: 15px;
      margin-right: 0;
    }
    
    .quantity-control {
      margin-bottom: 10px;
    }
    
    .cart-item-details {
      width: 100%;
    }
    
    .form-check-label {
      padding: 12px 10px;
    }
  }

.toast.toast-max-stock, .toast.toast-max-stock .toast-body {
  background-color: #ff9800 !important;
  color: #fff !important;
}
