/* Custom CSS for Bengali Checkout Page with Bootstrap */

body {
  font-family: "Noto Sans Bengali", sans-serif;
  background-color: #f0fdf4;
  /* Light green background */
}

/* Gradient for Header */
.bg-gradient-sky {
  background: linear-gradient(to bottom, #0284c7, #e0f2fe);
}

/* Countdown Timer Styling */
.countdown-box {
  background: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  animation: pulse 2s infinite;
}

@media (min-width: 768px) {
  .countdown-box {
    min-width: 100px;
  }
}

@media (max-width: 767.98px) {
  .countdown-box {
    min-width: 45px;
    padding: 8px !important;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

/* Form Styling */
.border-dotted-2 {
  border: 2px dotted #d1d5db;
  /* gray-300 */
}

.form-control:focus,
.form-select:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Radio Button Styling */
.form-check-input {
  width: 18px;
  height: 18px;
}

.form-check-input:checked {
  background-color: #0d9488;
  border-color: #0d9488;
}

/* Reviews Carousel Styling */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

button[onclick*="scrollReviews"] {
  transition: all 0.3s ease;
}

button[onclick*="scrollReviews"]:hover {
  background-color: rgba(0, 0, 0, 0.8) !important;
  transform: scale(1.1);
}

.hover-bg-opacity-75:hover {
  background-opacity: 0.75;
}

/* Order Summary Styling */
.order-summary {
  position: sticky;
  top: 20px;
}

@media (max-width: 991.98px) {
  .order-summary {
    position: static;
  }
}

/* Button Styling */
.btn-teal {
  background-color: #0d9488;
  color: white;
}

.btn-teal:hover {
  background-color: #0a7c71;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.4);
}

/* SVG Animations */
.relative-inline {
  position: relative;
  display: inline-block;
}

.svg-absolute {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 40px;
  pointer-events: none;
}

.svg-wave {
  top: auto;
  bottom: -20px;
  height: 40px;
}

.animate-draw path.line1,
.animate-draw path.line2,
.svg-wave path.wave-draw {
  fill: none;
  stroke: currentColor;
  stroke-width: 12;
}

.animate-draw path.line1 {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine1 3s ease-in-out infinite;
}

.animate-draw path.line2 {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine2 3s ease-in-out infinite;
}

.svg-wave path.wave-draw {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: waveLoop 3s ease-in-out infinite;
}

@keyframes drawLine1 {
  0% {
    stroke-dashoffset: 1000;
    opacity: 1;
  }

  20% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  50% {
    opacity: 1;
  }

  70% {
    opacity: 0;
  }

  100% {
    opacity: 0;
    stroke-dashoffset: 1000;
  }
}

@keyframes drawLine2 {

  0%,
  15% {
    stroke-dashoffset: 1000;
    opacity: 0;
  }

  30% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  50% {
    opacity: 1;
  }

  70% {
    opacity: 0;
  }

  100% {
    opacity: 0;
    stroke-dashoffset: 1000;
  }
}

@keyframes waveLoop {
  0% {
    stroke-dashoffset: 1000;
  }

  50% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: 1000;
  }
}

/* Space Utility for Lists */
.space-y-3>li+li {
  margin-top: 0.75rem;
}

.space-y-4>div+div {
  margin-top: 1rem;
}

.cart-icon {
  width: 30px;
  height: 30px;
}

.list-icon {
  min-width: 24px;
  min-height: 24px;
  color: white;
  margin-right: 0.5rem;
}

.bg-purple-800 {
  background-color: rgb(107 33 168);
}

.bg-teal-600 {
  background-color: rgb(13 148 136);
}

.bg-green-50 {
  background-color: rgb(240 253 244);
}

.qty-cart .quantity {
  position: relative;
  border: 1px solid #ddd;
  height: 46px;
  overflow: hidden;
  margin: 20px 0;
}

.qty-cart {
  width: 150px;
}

.quantity input {
  position: relative;
  text-align: center;
  font-size: 16px;
  height: 100%;
  width: 100%;
  pointer-events: none;
  font-weight: 500;
}

.quantity .minus {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 9;
  height: 45px;
  line-height: 45px;
  width: 45px;
  border: none;
  border-right: 1px solid #ddd;
  text-align: center;
  font-size: 40px;
  cursor: pointer;
}

.quantity input {
  position: relative;
  text-align: center;
  font-size: 16px;
  height: 100%;
  width: 100%;
  pointer-events: none;
  font-weight: 500;
  border: 0;
}

.quantity .plus {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 9;
  height: 45px;
  line-height: 45px;
  width: 45px;
  border: none;
  border-left: 1px solid #ddd;
  text-align: center;
  font-size: 26px;
  cursor: pointer;
}

.review-slider-wrap button {
  width: 40px;
  height: 40px;
}

.fade-slider {
  position: relative;
  width: 100%;
  max-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fade-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out;
}

.fade-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.form_sec a {
  text-decoration: none;
  color: inherit;
}
.cam-btn-group span {
    color: white;
    font-size: 16px;
    display: block;
    width: 100%;
    background: #0d9488;
    padding: 6px 0px;
    margin: 2px 0px;
    transition: 0.5s;
    border-radius: 5px;
}

.cam-btn-group span:hover {
    background: #0a7c71;
}