/* ================================
   Checkout Page Wrapper
================================ */

.checkout-page-wrapper {
  background-color: #151414;
 
}

.checkout-title {
  color: #fff;
  
}




/* ================================
   Card Sections
================================ */

.checkout-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
}

.checkout-card h5 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 16px !important;
  position: relative;
  z-index: 1;
}

.checkout-card .form-label {
  color: rgb(255, 255, 255);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}



.checkout-card .form-control {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.checkout-card .form-control:focus {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border-color: #ffc300;
  box-shadow: 0 0 0 3px rgba(255, 195, 0, 0.15);
}

.checkout-card .form-control::placeholder {
  color: rgba(255, 255, 255, 0.35) !important;
}

/* autofill এ browser নিজের সাদা bg + কালো text চাপিয়ে দেয় — সেটা override */
.checkout-card .form-control:-webkit-autofill,
.checkout-card .form-control:-webkit-autofill:focus,
.checkout-card .form-control:-webkit-autofill:hover {
  -webkit-text-fill-color: #ffffff !important;
  -webkit-box-shadow: 0 0 0px 1000px #1a1f2b inset !important;
  transition: background-color 9999s ease-in-out 0s;
}


.phone-input-group .phone-prefix {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-right: none;
}

.phone-input-group .form-control {
  border-left: none;
}


.checkout-card .form-control,
.checkout-card textarea {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border-radius: 10px;
  padding: 10px 14px;
}

.checkout-card .form-control:focus,
.checkout-card textarea:focus {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: #ff6b35 !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15) !important;
}

.checkout-card .form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.order-type-option {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  position: relative;
  flex: 1;
  min-width: 0;
}

.order-type-option:has(input:checked) {
  background: rgba(255, 107, 53, 0.1);
  border-color: #ff6b35;
}

.order-type-option input[type="radio"] {
  position: absolute;
  top: 18px;
  left: 16px;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #ff6b35;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.order-type-option label {
  display: block;
  color: #fff;
  cursor: pointer;
  padding-left: 30px;
  margin: 0;
}

.order-type-option .text-muted {
  color: rgba(255, 255, 255, 0.4) !important;
}
/* ================================
   Order Summary
================================ */

.checkout-summary {
  background: linear-gradient(145deg, #1a3a5c, #0d2238);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: 20px;
  padding: 24px;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.checkout-summary h5 {
  color: #fff;
  font-weight: 700;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px !important;
}

.checkout-item-row span:first-child {
  color: rgba(255, 255, 255, 0.65);
}

.checkout-item-row span:last-child {
  color: #fff;
  font-weight: 600;
}

.checkout-summary hr {
  border-color: rgba(255, 255, 255, 0.08);
  margin: 14px 0;
}

.checkout-summary .fs-5 span:first-child {
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 18px !important;
}

.checkout-summary .fs-5 .text-danger {
  color: #ff6b35 !important;
  font-size: 20px !important;
  font-weight: 800 !important;
}

.checkout-summary .text-success {
  color: #20c997 !important;
  font-weight: 700 !important;
}

.checkout-summary .text-muted {
  color: rgba(255, 255, 255, 0.3) !important;
}

/* ================================
   Submit Button
================================ */

.checkout-submit-btn {
  background: linear-gradient(135deg, #ff6b35, #e55a25) !important;
  border: none !important;
  font-weight: 700 !important;
  padding: 14px !important;
  font-size: 16px !important;
 
  transition: all 0.2s !important;
}

.checkout-submit-btn:hover {
  background: linear-gradient(135deg, #ce4611, #cf4513) !important;
  transform: translateY(-1px);
 
}



/* Order Type / Payment Method buttons — responsive */

/* Phone (≤576px): একটার নিচে একটা, ফুল উইথ */
@media (max-width: 576px) {
  .order-type-row {
    flex-direction: column;
  }
  .order-type-option {
    width: 100%;
  }
}

/* Mini iPad / small tablet (577px–768px): পাশাপাশি, ছোট gap */
@media (min-width: 577px) and (max-width: 768px) {
  .order-type-row {
    gap: 10px !important;
  }
  .order-type-option {
    flex: 1;
  }
}

/* iPad (769px–1024px): পাশাপাশি, স্বাভাবিক gap */
@media (min-width: 769px) and (max-width: 1024px) {
  .order-type-row {
    gap: 16px !important;
  }
  .order-type-option {
    flex: 1;
  }
}