/* @import "tailwindcss"; */

@theme {
  --color-green-primary: #048a81;
  --color-green-secondary: #03665f;
  --color-green-primary-10: #048a811a;
  --color-blue-custom: #3290b4;
  --color-red-custom: #e03b37;
  --color-form: #ecececab;

  --tracking-spacing-5: 0.05em;
  --tracking-spacing-4: 0.04em;
  --tracking-spacing-3: 0.03em;
  --tracking-spacing-2: 0.02em;
  --tracking-spacing-1: 0.01em;

  --font-poppins: Poppins, sans-serif;
  --font-lexend: Lexend, sans-serif;
  --font-work-sans: Work Sans, sans-serif;
  --font-dm-sans: DM Sans, sans-serif;
}

body {
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  margin: 0;
  color: #131313 !important;
}

footer {
  position: relative; /* atau fixed, tergantung kebutuhan */
  bottom: 0;
}
.dot {
  height: 10px;
  width: 10px;
  background-color: #b4d89c;
  border: 2px solid black;
  border-radius: 50%;
  display: inline-block;
}

.group:hover .dropdown {
  display: block;
}

/* Animasi Fade Right */
.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease; /* Durasi 0.5 detik */
}

.fade-in {
  opacity: 0;
  transition: opacity 0.5s ease; /* Durasi 0.5 detik */
}

.rotate-180 {
  transform: rotate(180deg);
}
.transform {
  transition: transform 0.3s ease;
}
.transition-transform {
  transition: transform 0.3s ease-in-out;
}

.pdf-viewer {
  width: 100%;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="text"] {
  /*   border: none !important; */
}

input[type="number"] {
  -moz-appearance: textfield;
}

/* Adjust the footer when expanded */
#footer.expanded {
  padding-bottom: 370px;
}
.check-icon {
  display: none; /* Initially hidden */
}

.check-icon.hidden {
  display: none; /* Ensure hidden class keeps it hidden */
}
/* #btnCollapseDemarche {
  position: relative;
} */
#cta {
  background-image: url("/wp-content/uploads/images/bg-cta.png"); /* Ganti dengan path gambar kamu */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 359.2px;
}
.bg-content-pieces-default {
  background-color: #ffdd003b;
}
.bg-content-pieces {
  background-color: #048a811a;
}
/* #btnCollapseDemarche::after {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  transition: transform 0.2s ease-in-out;
} */
#linkDropdown a.active,
#mobileMenu a.active {
  color: #048a81; /* Warna sesuai kebutuhan */
  font-weight: bold;
}

/* Memutar ikon saat dropdown terbuka */
/* #btnCollapseDemarche[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(-90deg);
} */
header.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* .pagination-btn {
    transition: background-color 0.3s ease;
}

.pagination-btn.active {
    background-color: black; 
    border-color: black;
} */

/* .form-card {
  background-color: rgba(
    22,
    120,
    218,
    0.13
  ); 
  padding: 19px 30px;
  border-radius: 21px;
  width: 100%;
} */

/* .custom-shadow {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1),
    0 4px 10px rgba(0, 0, 0, 0.07); 
}
.nav-shadow {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05); 
}
 */
.img-cover-cta {
  background-image: url("/wp-content/uploads/images/cta-cover.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 305px;
}

embed {
  width: 100%;
  height: 500px; /* Atur sesuai kebutuhan untuk layar mobile */
}
.accordion-content {
  transition: max-height 0.3s ease-out;
  overflow: hidden;
}
.active-link {
  background-color: black;
  color: white;
}

.outer-circle-container {
  position: relative;
  width: 20px;
  height: 20px;
}

.outer-circle {
  width: 100%;
  height: 100%;
  border: none !important;
  border-radius: 50%;
  background-color: #ececec;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.inner-circle {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #061F65;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

input[type="radio"]:checked + .label-radio-list .outer-circle {
  background-color: white;
}

input[type="radio"]:checked + .label-radio-list .inner-circle {
  display: block;
}

.label-radio-list {
  position: relative;
  color: #000000;
  background-color: #ecececab;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 212.8px;
  padding: 15px 8px;
  border-radius: 10px;
  transition: background-color 0.3s, color 0.3s;
}
input[type="radio"]:checked + .label-radio-list,
.label-radio-list.active {
  background-color: #061F65;
  color: #ffffff;
}
.error {
  border: 1px solid black;
}
#slider {
  display: flex;
  height: auto;
}
/* Menambahkan style untuk hover */
.label-radio-list:hover {
  background-color: #d1d1d1;
}
.custom-select-icon {
  appearance: none; /* Hilangkan default arrow */
  background-image: url("/wp-content/uploads/images/icons/selec-icon.svg");
  background-repeat: no-repeat;
  background-position: right 1rem center; /* beri jarak ikon ke kanan */
  background-size: 1rem;
  padding-right: 2.5rem; /* beri jarak agar teks tidak mepet ikon */
}

.custom-checkbox {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  gap: 10px;
}
.custom-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-direction: row; /* pastikan ini */
  flex-wrap: nowrap; /* cegah teks turun jika tidak perlu */
}

/* input type date ada menjadikan bug ke bawaan wordpress */
/* input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  cursor: pointer;
  position: absolute;
  right: 0;
  width: 100%;
  height: 100%;
}

input[type="date"]::placeholder {
  color: transparent;
} */

.custom-checkbox input[type="checkbox"],
.custom-radio input[type="radio"] {
  position: absolute;
  opacity: 0; /* Hide default checkbox */
  width: 0;
  height: 0;
}

input[type="checkbox"]:checked + .outer-circle-container .outer-circle,
input[type="radio"]:checked + .outer-circle-container .outer-circle {
  background-color: white;
  border: 2px solid #061F65 !important;
}

input[type="checkbox"]:checked + .outer-circle-container .inner-circle,
input[type="radio"]:checked + .outer-circle-container .inner-circle {
  display: block;
}

.content-comment-ca {
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.icon-faq {
  transition: transform 0.3s ease-out;
}
.guide-wrapper{
  cursor: pointer;

}
.guide-wrapper:hover{
  transform: scale(1.1);
  transition: transform 0.3s ease-out;
}

input[type="radio"] {
  width: 20px;
  height: 20px;
  border: 2px solid #061F65 !important;
}
.after-title-contact {
  width: 100%;
  max-width: 845px;
}
@media (max-width: 1020px) {
  #mobileMenu {
    transition: transform 0.3s ease;
  }

  .mobile-menu-hidden {
    transform: translateX(100%);
  }

  .mobile-menu-visible {
    transform: translateX(0);
  }

  /* Hamburger button styles */
  .menu-icon {
    width: 31.5px;
    height: 3.16px;
    position: relative;
    transform: rotate(0deg);
    transition: 0.5s ease-in-out;
    cursor: pointer;
  }

  .menu-icon span {
    display: block;
    position: absolute;
    height: 3.16px;
    width: 100%;
    background: #333;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
  }

  .menu-icon span:nth-child(1) {
    top: -10px;
  }

  .menu-icon span:nth-child(2),
  .menu-icon span:nth-child(3) {
    top: 0px;
  }

  .menu-icon span:nth-child(4) {
    top: 10px;
  }

  /* Hamburger animation for open state */
  .menu-icon.open span:nth-child(1) {
    top: 8px;
    width: 0%;
    left: 50%;
  }

  .menu-icon.open span:nth-child(2) {
    transform: rotate(45deg);
  }

  .menu-icon.open span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .menu-icon.open span:nth-child(4) {
    top: 8px;
    width: 0%;
    left: 50%;
  }
}

@media (max-width: 768px) {
  .label-radio,
  .label-radio-2 {
    width: 100px;
    /*     background-color: #0042941C; */
    padding: 12px 7px;
  }
  #numero-de-commande::placeholder {
    font-size: 22.13px;
  }
  .custom-select-icon {
    background-size: 0.55rem;
  }

  embed {
    height: 400px; /* Sesuaikan tinggi di mobile */
  }
  .radio {
    display: none !important;
  }
  .label-radio-list {
    width: 111.93px;
    padding: 8px 4px;
    border-radius: 5px;
  }
  .label-radio-list-second {
    background-color: white;
    color: black;
    font-family: "Poppins", sans-serif;
    padding: 10px 18px;
    border-radius: 10px;
    width: 100px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
  }

  /* Ketika radio dipilih, label jadi seperti tombol aktif */
  .radio:checked + .label-radio-list-second {
    background-color: #3290b4;
    color: white;
    border-color: #3290b4;
  }

  .menu-button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    padding: 5px;
    transition: background-color 0.3s ease;
  }

  .menu-button:focus {
    outline: none;
  }

  .menu-icon {
    width: 31.62px;
    height: 22px;
    position: relative;
    transition: transform 0.3s ease;
  }

  .menu-icon span {
    display: block;
    position: absolute;
    height: 3.16px;
    width: 100%;
    background: currentColor;
    border-radius: 100px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.65s ease-in-out;
  }

  .menu-icon span:nth-child(1) {
    top: 0px;
  }

  .menu-icon span:nth-child(2),
  .menu-icon span:nth-child(3) {
    top: 9px;
  }

  .menu-icon span:nth-child(4) {
    top: 18px;
  }

  .menu-button.active {
    background-color: none;
  }

  .menu-button.active .menu-icon {
    transform: rotate(180deg);
  }

  .menu-button.active span {
    background: black;
  }

  .menu-button.active span:nth-child(1) {
    top: 4px;
    width: 0%;
    left: 50%;
  }

  .menu-button.active span:nth-child(2) {
    transform: rotate(45deg);
  }

  .menu-button.active span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .menu-button.active span:nth-child(4) {
    top: 4px;
    width: 0%;
    left: 50%;
  }

  #cta {
    background-image: url("/wp-content/uploads/images/bg-mb-cta.png"); /* Ganti dengan path gambar kamu */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 264px;
  }

  .img-cover-cta {
    background-size: cover;
    height: 233px;
  }
}
@media (max-width: 480px) {
  .custom-radio {
    flex-wrap: nowrap; /* ubah dari wrap ke nowrap */
    align-items: start;
  }

  .custom-radio p {
    flex: 1;
    white-space: normal;
    word-break: break-word;
  }
  #communes-data {
    width: 100%;
    max-width: 200px;
  }
  .bg-content-pieces {
    background-color: #048a81bf!important;
  }
  .bg-content-pieces p,
  .bg-content-pieces h5,
  .bg-content-pieces ul{
    color: white;
  }
  #btn-fire-mon{
    max-height: 26.56px;
  }
  .btn-pour-mineur{
    max-height: 39.84px;

  }
  #pieces-content{
    padding-top: 20px;
    padding-bottom: 20px;
  }
}
@media (max-width: 640px) {
  .outer-circle-container {
    display: inline-flex;
    width: 16px;
    height: 16px;
  }

  .outer-circle {
    width: 100%;
    height: 100%;
  }

  .inner-circle {
    width: 8px;
    height: 8px;
  }

  .custom-radio {
    flex-wrap: nowrap; /* ubah dari wrap ke nowrap */
    align-items: start;
  }

  .custom-radio p {
    font-size: 12px;
    line-height: 1.4;
  }

  .border-green-primary {
    padding: 1rem; /* smaller padding */
  }

  .icon-faq {
    transition: transform 0.3s ease-out;
  }
  .communes-after-title{
    width: 100%;
    max-width: 224.49px;
  }
}
/* Base styles for the progress bar container */
.agencify-multistep-form.progress-bar {
 
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between; 
  align-items: flex-start;
  padding: 0; 
  margin: 0; 
  width: 100%;
  max-width: 1060px !important;
}

/* Individual step styling */
.progress-step {
  flex: 1; 
  text-align: center;
  border-radius: 8px; 
  transition: all 0.3s ease-in-out;
  cursor: default; 

  /* Default (Inactive) State */
  background-color: transparent;
  color: #b0b0b0; 
  box-shadow: none; 
  font-weight: normal; 

  display: flex;
  flex-direction: column;
  gap: 8px; 
  align-items: center;
  justify-content: center;
  padding: 15px 10px; 
}

.progress-step .step-number {
  font-size: 1.2em; 
  font-weight: 500;
  color: #b0b0b0; 
  display: block; 
}

.progress-step .step-text {
  font-size: 1em;
  color: #b0b0b0; 
}

/* Checkmark Icon Styling (initially hidden) */
.checkmark-icon {
  display: none; 
  width: 24px; 
  height: 24px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230B486B"><path d="M0 0h24v24H0z" fill="none"/><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>'); /* Dark blue checkmark SVG */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 4px; 
}


/* Example CSS for your progress bar */

.progress-step {
  width: 40px; 
  height: 40px; 
  border: 2px solid #ccc;
  background-color: #fff;
  color: #ccc;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.progress-step.active {
  background-color: #e0f2f7; 
  border-color: #061F65 !important; 
  color: #061F65 !important; 
}

.progress-step.completed {
  background-color: #d4edda; 
  color: #061F65 !important;
}

.progress-step.completed i {
  font-size: 1.2em; /* Size for checkmark icon */
}

.steps-title p {
  color: #061F65 !important;
  transition: color 0.3s ease;
  
}

.steps-title p.active-text {
  color: #061F65 !important; /* Blue text for active step title */
  font-weight: bold;
}

.custom-dropdown {
  position: relative;
}

#dropdown-menu {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ccc;
  border-radius: 8px;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#dropdown-menu li {
  padding: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

#dropdown-menu li:hover {
  background-color: #f0f0f0;
}

#communes-data {
  width: 100%;
  max-width: 48rem;
}
.gradient-bg {
  background: linear-gradient(
    to bottom,
    #048a810d,
    #ffffff
  ); /* default: green-primary-opacity-5 to white */
}

@media (min-width: 768px) {
  .gradient-bg {
    background: linear-gradient(
      to bottom,
      #048a811a,
      #ffffff
    ); /* md+: green-primary-10 to white */
  }
}
