:root {
  --pie-primary-color: #de324c;
  --pie-accent-color: #de324c;
  --accent-color: #de324c; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --bs-primary: #de324c;
}



input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}



.pie-timeline3-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;


  
  /* max-height: 80vh;
  overflow: auto; */
}

.pie-timeline3-container::before {
  content: "";
  position: absolute;
  inset: 0;
  /* margin-top: 10px; */
  margin-left: 1.25rem;
  transform: translateX(-1px);
  height: 100%;
  width: 2px;
  background: linear-gradient(to bottom, #cbd5e1, transparent);
}

@media (min-width: 768px) {
  .pie-timeline3-container::before {
    margin-left: 8.75rem;
    transform: translateX(0);
  }
}

.pie-timeline3-item {
  position: relative;
}

.pie-timeline3-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  /* flex-wrap: wrap; */
}

@media (min-width: 768px) {
  .pie-timeline3-header {
    flex-direction: row;
    /* align-items: center; */
    align-items: flex-start;
  }
}

.pie-timeline3-meta {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .pie-timeline3-meta {
    width: auto;
    flex-shrink: 0;
    flex-direction: row-reverse;
    gap: 0.5rem;
  }
}

.pie-timeline3-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  align-self: flex-start;
  display: flex;
  align-items: center;
  justify-content: center;
  order: 1;
}

.pie-timeline3-date {
  font-weight: 500;
  font-size: 1rem;
  min-width: 7rem;
  order: 2;
  text-align: right;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

@media (min-width: 768px) {
  .pie-timeline3-date {
    max-width: min-content;
    flex-direction: column;
    gap: 0;
  }
}

.pie-timeline3-content {
  width: 100%;
  color: #64748b;
  padding-left: 3.5rem;
}

@media (min-width: 768px) {
  .pie-timeline3-content {
    padding-left: 1.2rem;
    flex: 1;
    min-width: 0;
  }
}

.pie-timeline3-title .name {
  font-weight: bold;
  color: #0f172a;
}

.pie-timeline3-card {
  background-color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  color: #64748b;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  /* margin-left: 3.5rem; */
}

@media (min-width: 768px) {
  /* .pie-timeline3-card {
    margin-left: 11rem;
  } */
}

.pie-timeline3-icon i {
  color: #fff;
  font-size: 20px;
}

.pie-timeline3-icon .icon-green {
  color: #10b981;
}

.pie-timeline3-icon .icon-red {
  color: #ef4444;
}

.pie-timeline3-icon .icon-gray-light {
  color: #cbd5e1;
}

.pie-timeline3-icon .icon-gray-dark {
  color: #64748b;
}

.pie-timeline3-icon .icon-accent {
  color: rgb(93, 87, 244);
}



.aduan-hero-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.aduan-hero-image img {
  width: 100%;
  transition: transform 0.6s;
}

.aduan-hero-image:hover img {
  transform: scale(1.05);
}

.pie-aduan-detail-attachment {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  background-color: transparent;
}

.pie-aduan-detail-attachment .swiper-attachment-detail {
  width: 100%;
  height: 100%;
}

.swiper-attachment-detail .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-attachment-detail > .swiper-wrapper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}




.pie-progress-attachment {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  background-color: transparent;
}

.pie-progress-attachment .swiper-progress-attachment {
  width: 100%;
  height: 100%;
}

.swiper-progress-attachment .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-progress-attachment > .swiper-wrapper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-progress-attachment-button-prev,
.swiper-progress-attachment-button-next {
  width: 48px;
  height: 48px;
}

.swiper-progress-attachment-button-prev:after,
.swiper-progress-attachment-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  /* background-color: rgba(0, 0, 0, 0.15); */
  background-color: color-mix(in srgb, var(--accent-color), transparent 25%);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.swiper-progress-attachment-button-prev:hover:after,
.swiper-progress-attachment-button-next:hover:after {
  /* background-color: rgba(0, 0, 0, 0.3); */
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%)
}



.btn-close-white-custom {
  filter: invert(0) grayscale(100%) brightness(200%);;
}



.loader-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  backdrop-filter: saturate(100%) blur(5px);
  background-color: rgba(0, 0, 0, 0.4);
  transition: all 0.6s ease-out;
}

.loader-backdrop:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-loader-backdrop 1.5s linear infinite;
}

@keyframes animate-loader-backdrop {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.pie-profile-menu {
  list-style: none;
}

.pie-profile-menu li {
  margin-bottom: 20px;
}

.pie-profile-menu li h3 {
  text-align: right;
}

.pie-profile-menu li.active h3 {
  font-weight: bold;
  position: relative;
  padding-bottom: 20px;
  color: var(--accent-color);
}

.pie-profile-menu li.active h3::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  right: 0;
  bottom: 0;
}

.pie-heading-title {
  margin-bottom: 20px;
}

.pie-heading-title::before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.pie-heading-title::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}



ol.stepper {
  --default-b: lightgrey;
  --default-c: black;
  --active-b: var(--accent-color);
  --active-c: white;
  --circle-w: 3.5em; /* size of circle */
  --b: 5px; /* line thickness */
  
  display: flex;
  list-style: none;
  justify-content: space-between;
  background: 
    linear-gradient(var(--default-b) 0 0) no-repeat
    50% calc((var(--circle-w) - var(--b))/2)/100% var(--b);
  margin: 20px;
  padding: 0;
  font-size: 22px;
  font-weight: bold;
  overflow: hidden;
}

ol.stepper li {
  display: grid;
  place-items: center;
  gap: 5px;
  font-family: sans-serif;
  position: relative;
}

ol.stepper .stepper-icon {
  display: grid;
  place-content: center;
  aspect-ratio: 1;
  height: var(--circle-w);
  border: 5px solid #fff;
  box-sizing: border-box;
  background: var(--active-b);
  color: var(--active-c);
  border-radius: 50%;
  font-family: monospace;
  z-index: 1;
}

ol.stepper li.active ~ li .stepper-icon {
  background: var(--default-b);
  color: var(--default-c);
}

ol.stepper li.active::after {
  content: "";
  position: absolute;
  height: var(--b);
  right: 100%;
  top: calc((var(--circle-w) - var(--b))/2);
  width: 100vw;
  background: var(--active-b);
}


@media (max-width: 600px) {
  ol.stepper {
    display: grid;
    gap: 20px;
    background: 
      linear-gradient(var(--default-b) 0 0) no-repeat
      calc((var(--circle-w) - var(--b))/2) 50%/ var(--b) 100%;
  }
  ol.stepper li {
    display: flex;
  }
  ol.stepper li.active::after {
    content: "";
    position: absolute;
    width: var(--b);
    bottom: 100%;
    left: calc((var(--circle-w) - var(--b))/2);
    top: auto;
    right: auto;
    height: 100vw;
    background: var(--active-b);
  }
}



:root {
  --circle-size: clamp(1.5rem, 5vw, 3rem);
  --stepper-spacing: clamp(0.25rem, 2vw, 0.5rem);
}

.c-stepper {
  display: flex;
  flex-direction: row;
}

.c-stepper__item {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
}

.c-stepper__icon {
  --size: 3rem;
  display: block;
  width: var(--circle-size);
  height: var(--circle-size);
  border-radius: 50%;
  background-color: var(--accent-color);
  margin: 0 auto 1rem;
  align-content: center;
  color: white;
}

.c-stepper__content {
  flex: 1;
}

.c-stepper__item.active ~ .c-stepper__item .c-stepper__icon {
  background-color: lightgray;
}

.c-stepper__item:not(:last-child):after {
  content: "";
  position: relative;
  top: calc(var(--circle-size) / 2);
  width: calc(100% - var(--circle-size) - calc(var(--stepper-spacing) * 2));
  left: calc(50% + calc(var(--circle-size) / 2 + var(--stepper-spacing)));
  height: 2px;
  background-color: var(--accent-color);
  order: -1;
}

.c-stepper__item.active:after,
.c-stepper__item.active ~ .c-stepper__item:after {
  background-color: lightgray;
}

.c-stepper__title {
  font-weight: bold;
  font-size: clamp(1rem, 4vw, 1.25rem);
  margin-bottom: 0.5rem;
}

.c-stepper__desc {
  color: grey;
  font-size: clamp(0.85rem, 2vw, 1rem);
  padding-left: var(--stepper-spacing);
  padding-right: var(--stepper-spacing);
}

@media (max-width: 600px) {
  .c-stepper {
    flex-direction: column;
  }

  .c-stepper__icon {
    width: 3rem;
    height: 3rem;
  }

  .c-stepper__item {
    flex-direction: row;
  }

  .c-stepper__item:after {
    display: none;
  }

  .c-stepper__desc {
    padding-left: 0;
  }

  .c-stepper__content {
    padding-top: 0.6rem;
    margin-left: 1rem;
    text-align: left;
  }
}



.panduan-container {
  color: #000;
  font-size: 14px;
}



/* ====== Default Styling for WYSIWYG Content ====== */
.wysiwyg {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* Headings */
.wysiwyg h1,
.wysiwyg h2,
.wysiwyg h3,
.wysiwyg h4,
.wysiwyg h5,
.wysiwyg h6 {
  font-weight: 600;
  margin: 1.2em 0 0.6em;
  line-height: 1.3;
}

.wysiwyg h1 { font-size: 2em; }
.wysiwyg h2 { font-size: 1.75em; }
.wysiwyg h3 { font-size: 1.5em; }
.wysiwyg h4 { font-size: 1.25em; }
.wysiwyg h5 { font-size: 1.1em; }
.wysiwyg h6 { font-size: 1em; }

/* Paragraphs */
.wysiwyg p {
  margin: 0 0 1em;
}

/* Links */
.wysiwyg a {
  color: #0066cc;
  text-decoration: underline;
}
.wysiwyg a:hover {
  color: #004999;
  text-decoration: none;
}

/* Lists */
.wysiwyg ul,
.wysiwyg ol {
  margin: 0 0 1em 2em;
}
.wysiwyg li {
  margin: 0.3em 0;
}

/* Blockquote */
.wysiwyg blockquote {
  margin: 1em 0;
  padding: 0.6em 1em;
  border-left: 4px solid #ccc;
  color: #555;
  background: #f9f9f9;
  font-style: italic;
}

/* Tables */
.wysiwyg table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
}
.wysiwyg th,
.wysiwyg td {
  border: 1px solid #ddd;
  padding: 0.6em;
  text-align: left;
}
.wysiwyg th {
  background: #f2f2f2;
  font-weight: 600;
}

/* Images */
.wysiwyg img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1em auto;
}

/* Code */
.wysiwyg code {
  background: #f4f4f4;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.95em;
}

/* Preformatted text */
.wysiwyg pre {
  background: #f4f4f4;
  padding: 1em;
  border-radius: 4px;
  overflow-x: auto;
  font-family: monospace;
  font-size: 0.95em;
}

/* Horizontal Rule */
.wysiwyg hr {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 2em 0;
}

.ql-snow .ql-editor h1 {
  font-size: 2em !important;
}

.ql-snow .ql-editor h2 {
  font-size: 1.75em !important;
}

.ql-snow .ql-editor h3 {
  font-size: 1.5em !important;
}

.ql-snow .ql-editor h4 {
  font-size: 1.25em !important;
}

.ql-snow .ql-editor h5 {
  font-size: 1.1em !important;
}

.ql-snow .ql-editor h6 {
  font-size: 1em !important;
}



/* HTML: <div class="loader"></div> */
.pie-backdrop {
  background-color: rgba(0, 0, 0, 0.5);
  /* backdrop-filter: blur(5px); */
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2500;
  display: none;
  overflow: hidden;
  transition: all 1s ease-out;
}

.pie-backdrop-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 1s ease-out;
}

.pie-loader {
  width: 150px;
  height: 150px;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pie-loader-icon {
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: 
    radial-gradient(farthest-side,var(--pie-primary-color) 94%,#0000) top/8px 8px no-repeat,
    conic-gradient(#0000 30%,var(--pie-primary-color));
  -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 8px),#000 0);
  animation: l13 1s infinite linear;
}
@keyframes l13{ 
  100%{transform: rotate(1turn)}
}



.select2-dropdown-width {
  width: 300px !important;
}


.form-mix-container {
  position: relative;
}

.form-mix-container .form-mix-button {
  position: absolute;
  right: 15px;
  top: 0px;
}



.lampiran-lain-container {
  width: 100%;
}



.map-container {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  background-color: transparent;
}

.map-canvas {
  width: 100%;
  height: 100%;
}



.pre-line {
  white-space: pre-line;
}