/* ============ Etalase Section ============ */
.etalase-section {
  /* background: linear-gradient(180deg, rgba(43, 118, 136, 0) 0%, #294979 100%); */
  position: relative;
  overflow: hidden;
}

.etalase-ellipse {
  position: absolute;
  top: -500px;
  left: 50%;
  transform: translateX(-50%);
  width: 1017px;
  height: 693px;
  background-color: #03a6a6;
  opacity: 0.8;
  filter: blur(250px);
  border-radius: 50%;
  z-index: 0;
}

/* Card overlays */
.etalase-pattern {
  background-image: url("../assets/images/pattern-thumbnails-etalase.png");
  background-repeat: no-repeat;
  background-size: 55%;
  background-position: 50% 37%;
}

.etalase-pattern-success {
  background-image: url("../assets/images/pattern-thumbnails-etalase-success.png");
  background-repeat: no-repeat;
  background-size: 65%;
  background-position-x: center;
  background-position-y: 1.5rem;
}

.etalase-effect-selesai {
  background-color: rgba(25, 60, 71, 0.7);
}

.etalase-effect-prelisting {
  background: linear-gradient(90deg, #193c47 0%, rgb(4 43 100 / 0.2) 100%);
}

.etalase-effect-listing {
  background: linear-gradient(90deg, #193c47 0%, rgb(4 43 100 / 0.2) 50%, rgb(255 255 255 / 0) 100%);
}

/* Keen Slider etalase navigation dots */
.etalase-dots button {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: #e3e3e3;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.etalase-dots button.active {
  background-color: #04af93;
}

/* ============ Modals ============ */
.dm-modal {
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  pointer-events: none;
  display: flex !important; /* Always flex but invisible */
}

.dm-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dm-modal-content {
  transform: scale(0.95);
  transition: transform 0.3s ease-in-out;
}

.dm-modal.active .dm-modal-content {
  transform: scale(1);
}

/* ============ Skeleton Loading ============ */
.skeleton {
  background: #eee;
  background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
  border-radius: 5px;
  background-size: 200% 100%;
  animation: 1.5s shine linear infinite;
}

@keyframes shine {
  to {
    background-position-x: -200%;
  }
}

.skeleton-card {
  background: white;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.skeleton-image {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 2rem 2rem 0 0;
}

.skeleton-text {
  height: 1rem;
  margin-bottom: 0.5rem;
  border-radius: 0.25rem;
}

.skeleton-title {
  height: 1.5rem;
  width: 80%;
  margin: 1rem auto;
}

.skeleton-btn {
  height: 2.5rem;
  width: 60%;
  margin: 1rem auto;
  border-radius: 9999px;
}
