/* Search wrapper */
.search-wrapper {
  position: relative;
  max-width: 75%;
}

/* Search icon */
.search-wrapper .search-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #6c757d;
  font-size: 1.1rem;
}

/* Search input padding */
.search-input {
  padding-left: 45px !important;
}

.bg-grey {
  background-color: #E2E2E2 !important;
}

/* Blue accent */
.text-blue {
  color: #1E899B !important;
}

.active-rating {
  border: 4px solid #71dd37 !important;
}

/* Desktop responsiveness */
@media (min-width: 992px) {
  .search-wrapper {
    width: 420px;
  }

  .offcanvas-body {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between;
  }
}

/* Mobile */
@media (max-width: 991px) {
  .right-menu {
    margin-top: 10px;
  }

  .search-wrapper {
    width: 100%;
    max-width: 100%;
  }

  nav.nav {
    display: none !important;
  }
}

/* Nav kedua spacing */
nav.nav a.nav-link {
  padding: 12px 20px;
  font-weight: 500;
}

/* Outline button aqua bold */
.btn-outline-success {
  color: #1E899B !important;
  border-color: #1E899B !important;
  font-weight: 900 !important;
}

/* Hover aqua bold */
.btn-outline-success:hover {
  background-color: #1E899B !important;
  color: #fff !important;
  border-color: #27b5bb !important;
  box-shadow: 0 0 8px rgba(48, 200, 207, 0.65) !important;
}

.bg-green {
  background-color: #1E899B !important;
}

section {
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:60px 20px;
}

.swiper {
  width:100%;
  max-width:1800px;
}

@media (min-width: 768px) {
  .swiper {
    padding: 0 40px;
  }

  .swiper-slide {
    height: 460px;
    width: 760px !important;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 100px rgba(0,0,0,0.6);
  }

  .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .swiper-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,rgba(0,0,0,0.9),transparent 40%);
    z-index: 1;
  }

  .swiper-slide {
    filter: blur(2.5px);
    opacity: 0.85;
  }

  .swiper-slide-active {
    filter: blur(0);
    opacity: 1;
  }
}

@media (max-width: 767px) {
  section {
    padding: 0;
  }

  .swiper {
    padding:0 !important;
  }

  .swiper-slide {
    width:100vw !important;
    height:100vh !important;
    max-height:580px;
    border-radius:0 !important;
    box-shadow:none;
  }

  .swiper-slide img {
    width:100%;
    height:100%;
    object-fit:cover;
  }

  .swiper-slide::before {
    background:linear-gradient(to top,rgba(0,0,0,0.92),transparent 35%);
  }

  .swiper-slide span {
    top: env(safe-area-inset-top, 40px);
    top: constant(safe-area-inset-top, 40px);
    top: 40px;
    left:15px;
    padding:10px 25px;
    font-size:0.8rem;
    letter-spacing:2px;
  }

  .swiper-slide .content {
    padding:40px 30px;
    transform:none;
  }

  .swiper-slide h2 {
    font-size:2.2rem;
  }

  .swiper-slide p {
    font-size:1.1rem;
  }

  .swiper-pagination {
    bottom:40px !important;
  }
}

.swiper-slide {
  position:relative;
  transition:all 0.6s ease;
}

.swiper-slide img {
  display:block;
}

.swiper-slide span {
  position:absolute;
  top:30px;
  left:-10px;
  background:#1b7402;
  color:#fff;
  padding:11px 35px 11px 45px;
  font:600 0.9rem 'Open Sans',sans-serif;
  text-transform:uppercase;
  letter-spacing:3px;
  border-radius:0 35px 35px 0;
  z-index:3;
}

.category-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

.category-item {
  background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), #b9b9b9 !important;
  white-space: nowrap;
}

.category-wrapper {
  background-color: #cfcfcf;
}

.active-category {
  background: #1E899B !important;
  color: #ffffff !important;
}

.bg-warning-light {
  background-color: #fff7d4 !important;
  border: 1px solid #ffd159;
}

.card-input-element {
  display: none;
}

.card-input {
  margin: 10px;
  padding: 0px;
}

.card-input:hover {
  cursor: pointer;
}

.card-input-element:checked + .card-input {
  box-shadow: 0 0 1px 1px #1E899B;
}

.accordion-button:not(.collapsed) {
  background-color: transparent;
}

.accordion-button:focus {
  z-index: 3;
  outline: 0;
  box-shadow: none !important;
}

.accordion-button:after {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
}

.accordion-button.not-change-color:after {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
}

.label-payment-method {
  width: 100%;
}

#qrcode img, 
#qrcode canvas {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.section-wrapper {
  position: relative;
}

.floating-card {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  z-index: 5;
}

.floating-card-order {
  padding-top: 10em;
  padding-bottom: 3em;
}

@media (max-width: 768px) {
  .floating-card {
    position: relative;
    transform: none;
    top: -100px;
    left: auto;
    margin-top: -80px;
    padding-bottom: 40px;
  }

  .floating-card-order {
    padding-top: 0em;
  }

  .section-wrapper {
    margin-bottom: -8em;
  }
}

.custom-table tbody tr:nth-child(odd) td {
  background-color: #1E899B;
  color: #000000;
}

.custom-table tbody tr:nth-child(even) td {
  background-color: transparent;
}

.star-rating {
  font-size: 50px;
  cursor: pointer;
}

.star {
  color: lightgray;
  transition: color 0.2s;
}

.star.filled {
  color: gold;
}

#rating-text {
  margin-top: 20px;
  font-size: 24px;
}

.border-top-color-green {
  border-top: 5px solid #1E899B !important;
}

.icon-circle {
  width: 45px;
  height: 45px;
  background-color: #1E899B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle i {
  color: white;
  font-size: 28px;
}

.simply-countdown > .simply-section {
  background: #d71313 !important;
}

.simply-countdown > .simply-section .simply-amount {
  color: #FFFFFF !important;
}

.simply-countdown > .simply-section .simply-word {
  color: #FFFFFF !important;
}

.form-icon-right {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  color: #6c757d;
  pointer-events: none;
}

.input-icon-right {
  padding-right: 45px;
}

.text-bg-success-dark {
  color: #fff !important;
  background-color: rgb(49 107 18) !important;
}

.order-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 40px;
}

.order-steps::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 25px;
  right: 25px;
  height: 4px;
  background: #1E899B;
  z-index: 1;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step .icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.step .icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.step p {
  margin-top: 12px;
  font-size: 14px;
  max-width: 120px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
  word-wrap: break-word;
}

@media (max-width: 576px) {
  .order-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 30px;
    margin-top: 20px;
  }

  .order-steps::before {
    display: none;
  }

  .step::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 50%;
    right: -50%;
    height: 4px;
    background: #1E899B;
    z-index: 1;
  }

  .step:nth-child(3n)::before {
    display: none;
  }

  .step {
    text-align: center;
  }

  .step p {
    max-width: 100%;
    font-size: 13px;
  }
}

.custom-card {
  width: 100%;
  max-width: 600px !important;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .custom-card {
    width: 50%;
  }
}

.payment-radio {
  appearance: none;
  -webkit-appearance: none;
  width: 1.6em;
  height: 1.6em;
  border: 2px solid #6c757d;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}

.payment-radio:checked {
  background-color: #ff3e1d;
  border-color: #ff3e1d;
}

.payment-radio:checked::after {
  content: "✓";
  color: white;
  font-size: 1.2em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
}

.payment-radio:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
