.calio-advanced-button-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calio-btn-helper {
  display: inline-flex;
  font-size: 12px;
  color: #667085;
}

.calio-btn-helper.is-inside {
  margin-bottom: 6px;
}

.calio-btn-helper.is-below {
  opacity: .88;
}

.calio-advanced-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #0f172a;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.calio-advanced-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s ease, opacity .3s ease;
  z-index: -1;
}

.calio-advanced-button.is-full {
  width: 100%;
}

.calio-btn-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}

.calio-btn-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.calio-btn-text-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.calio-btn-text {
  line-height: 1.1;
}

.calio-btn-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.calio-btn-subtext {
  font-size: 12px;
  line-height: 1.2;
  opacity: .82;
}

.calio-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 16px;
  transition: transform .25s ease, color .25s ease, background-color .25s ease, border-radius .25s ease;
}

.calio-advanced-button.icon-shape-pill .calio-btn-icon {
  border-radius: 999px;
}

.calio-advanced-button.icon-shape-rounded .calio-btn-icon {
  border-radius: 14px;
}

.calio-advanced-button.icon-shape-square .calio-btn-icon {
  border-radius: 4px;
}

.calio-btn-icon svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.calio-btn-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: .72;
  transition: transform .25s ease, opacity .25s ease;
}

.calio-advanced-button.layout-split {
  justify-content: space-between;
}

.calio-advanced-button.layout-block {
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
}

.calio-advanced-button.layout-block .calio-btn-main,
.calio-advanced-button.layout-split .calio-btn-main {
  flex: 1 1 auto;
}

.calio-advanced-button.layout-block .calio-btn-content {
  width: 100%;
}

.calio-advanced-button.preset-arrow {
  padding-right: 16px;
}

.calio-advanced-button.preset-arrow .calio-btn-hint,
.calio-advanced-button.has-arrow-hint:hover .calio-btn-hint {
  opacity: 1;
}

.calio-advanced-button.preset-stacked {
  align-items: stretch;
  padding-top: 14px;
  padding-bottom: 14px;
}

.calio-advanced-button.preset-stacked .calio-btn-content {
  gap: 4px;
}

.calio-advanced-button.preset-compact {
  padding: 10px 14px;
  gap: 8px;
}

.calio-advanced-button.chrome-raised {
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.16);
}

.calio-advanced-button.chrome-glow {
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 0 24px rgba(59, 130, 246, 0.22);
}

.calio-advanced-button.skin-soft {
  background: #e8eefc;
  color: #16325c;
}

.calio-advanced-button.skin-outline {
  background: transparent;
  border-color: currentColor;
  color: #0f172a;
}

.calio-advanced-button.skin-glass {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(10px);
  color: #0f172a;
}

.calio-advanced-button.effect-none:hover {
  transform: none;
}

.calio-advanced-button.effect-lift:hover {
  transform: translateY(-3px);
}

.calio-advanced-button.effect-fill:hover::after {
  opacity: .14;
  transform: scaleX(1);
}

.calio-advanced-button.effect-slide:hover .calio-btn-icon.left {
  transform: translateX(-3px);
}

.calio-advanced-button.effect-slide:hover .calio-btn-icon.right,
.calio-advanced-button.effect-slide:hover .calio-btn-hint {
  transform: translateX(3px);
}

.calio-advanced-button.effect-pulse:hover {
  animation: calio-btn-pulse .55s ease;
}

.calio-advanced-button.icon-anim-slide:hover .calio-btn-icon.left {
  transform: translateX(-3px);
}

.calio-advanced-button.icon-anim-slide:hover .calio-btn-icon.right {
  transform: translateX(3px);
}

.calio-advanced-button.icon-anim-rotate:hover .calio-btn-icon {
  transform: rotate(16deg);
}

.calio-advanced-button.icon-anim-pop:hover .calio-btn-icon {
  transform: scale(1.12);
}

@keyframes calio-btn-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

@media (max-width: 767px) {
  .calio-advanced-button {
    width: 100%;
  }

  .calio-advanced-button-wrap {
    width: 100%;
  }

  .calio-advanced-button.layout-split,
  .calio-advanced-button.layout-block {
    align-items: center;
  }
}


.calio-btn-note {
  font-size: 11px;
  line-height: 1.25;
  opacity: .76;
}

.calio-advanced-button.density-compact {
  padding-top: 10px;
  padding-bottom: 10px;
}

.calio-advanced-button.density-compact .calio-btn-content {
  gap: 1px;
}

.calio-advanced-button.density-hero {
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 14px;
}

.calio-advanced-button.density-hero .calio-btn-text {
  font-size: 1.06em;
}

.calio-advanced-button.density-hero .calio-btn-subtext,
.calio-advanced-button.density-hero .calio-btn-note {
  opacity: .9;
}

.calio-advanced-button.preset-cta .calio-btn-note {
  max-width: 28ch;
}

.calio-advanced-button.preset-stacked .calio-btn-note {
  margin-top: 2px;
}

.calio-btn-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #64748b;
}

.calio-btn-side-note {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
}

.calio-advanced-button.layout-split .calio-btn-text-row,
.calio-advanced-button.layout-block .calio-btn-text-row {
  width: 100%;
}

.calio-advanced-button.preset-cta .calio-btn-kicker {
  opacity: .86;
}

.calio-advanced-button.preset-stacked .calio-btn-kicker {
  margin-bottom: 8px;
}

.calio-advanced-button.density-hero .calio-btn-kicker {
  font-size: 11px;
}


.calio-advanced-button:active {
  transform: translateY(0);
  box-shadow: inset 0 2px 10px rgba(15, 23, 42, 0.16);
}

.calio-advanced-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.calio-advanced-button:hover {
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
}

.calio-advanced-button:focus-visible,
.calio-advanced-button-wrap:focus-within .calio-advanced-button {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14), 0 16px 32px rgba(15, 23, 42, 0.12);
}

.calio-advanced-button:hover .calio-btn-badge,
.calio-advanced-button:focus-visible .calio-btn-badge {
  transform: translateY(-1px);
}

.calio-advanced-button:hover .calio-btn-side-note,
.calio-advanced-button:focus-visible .calio-btn-side-note,
.calio-advanced-button-wrap:focus-within .calio-btn-helper,
.calio-advanced-button-wrap:focus-within .calio-btn-note {
  opacity: 1;
}

.calio-btn-badge,
.calio-btn-side-note,
.calio-btn-helper,
.calio-btn-note {
  transition: opacity .2s ease, transform .2s ease, color .2s ease, background-color .2s ease;
}
