/* Scoped under .aby-dc with pseudo-class selectors at 0,3,0 so the Elementor kit's a/button :hover and :focus rules do not leak in. */
.aby-dc,
.aby-dc * {
  box-sizing: border-box;
}

.aby-dc {
  width: min(440px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  color: #fff;
  font-family: "Heebo", system-ui, sans-serif;
  background: linear-gradient(180deg, #0D2847 0%, #2F1C47 100%);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(5, 16, 34, .45);
}

.aby-dc::backdrop {
  background: rgba(0, 0, 0, .6);
}

html:has(.aby-dc[open]) {
  overflow: hidden;
}

.aby-dc[open],
.aby-dc[open]::backdrop {
  animation: aby-dc-in .18s ease-out;
}

@keyframes aby-dc-in {
  from { opacity: 0; }
}

.aby-dc__panel {
  position: relative;
  padding: 28px 24px 24px;
}

.aby-dc .aby-dc__close {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: rgba(255, 255, 255, .75);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.aby-dc .aby-dc__close:focus {
  color: rgba(255, 255, 255, .75);
  background: transparent;
}

.aby-dc .aby-dc__close:is(:hover, :focus-visible) {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.aby-dc .aby-dc__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.aby-dc .aby-dc__title {
  margin: 0 0 6px;
  padding-inline-end: 40px;
  color: #fff;
  font-family: "Karantina", "Heebo", sans-serif;
  font-size: 46px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.aby-dc .aby-dc__lead {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, .72);
  font-size: 16px;
  line-height: 1.45;
}

.aby-dc__options {
  display: grid;
  gap: 12px;
}

.aby-dc .aby-dc__option {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 72px;
  padding: 14px 16px;
  color: #fff;
  text-align: start;
  text-decoration: none;
  background: linear-gradient(275deg, rgba(41, 86, 139, .44) 0%, rgba(88, 60, 123, .44) 100%);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 6px;
  transition: border-color .15s ease, background-color .15s ease;
}

.aby-dc .aby-dc__option:is(:hover, :focus-visible) {
  color: #fff;
  background-color: rgba(255, 255, 255, .08);
  border-color: #fff;
}

.aby-dc .aby-dc__option:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.aby-dc__badge {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #583C7B 0%, #29568B 100%);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
}

.aby-dc__text {
  display: grid;
  flex: 1;
  gap: 2px;
  min-width: 0;
}

.aby-dc__text strong {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.aby-dc__text span {
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  line-height: 1.4;
}

.aby-dc__chev {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .8;
}

.aby-dc[dir="rtl"] .aby-dc__chev {
  transform: scaleX(-1);
}

@media (max-width: 600px) {
  .aby-dc {
    width: 100%;
    max-height: calc(100dvh - 24px);
    margin: auto 0 0;
    border-width: 1px 0 0;
    border-radius: 12px 12px 0 0;
  }

  .aby-dc__panel {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .aby-dc[open],
  .aby-dc[open]::backdrop {
    animation: none;
  }
}
