.enlazar-toggle-switcher {
    --enlazar-toggle-color-base: #16106b;
    --enlazar-toggle-color-left-active: #16106b;
    --enlazar-toggle-color-right-active: #16106b;
    --enlazar-toggle-bg-left-active: #16106b;
    --enlazar-toggle-bg-right-active: #16106b;
    --enlazar-toggle-transition-duration: 220ms;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.enlazar-toggle-switcher__price-wrap {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-bottom: 4px;
}

.enlazar-toggle-switcher__price-item {
    display: flex;
    flex-direction: column;
    align-items: inherit;
    gap: 4px;
    color: #16106b;
}

.enlazar-toggle-switcher__price-item.is-active {
    font-weight: 700;
    animation: enlazar-toggle-fade-up var(--enlazar-toggle-transition-duration) ease;
}

.enlazar-toggle-switcher__price-item[hidden] {
    display: none !important;
}

.enlazar-toggle-switcher__price-previous {
    align-self: center;
    text-align: center;
    font-size: 0.8em;
    line-height: 1.2;
    font-weight: 400;
    opacity: 0.7;
    text-decoration: line-through;
}

.enlazar-toggle-switcher__price-previous .enlazar-curso-precio-arg__amount-row,
.enlazar-toggle-switcher__price-previous .enlazar-curso-precio-arg__amount {
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.enlazar-toggle-switcher__price-previous .enlazar-curso-precio-arg__info,
.enlazar-toggle-switcher__price-previous .enlazar-curso-precio-arg__info-icon,
.enlazar-toggle-switcher__price-previous .enlazar-curso-precio-arg__tooltip {
    text-decoration: none;
}

.enlazar-toggle-switcher__price-current {
    line-height: 1.2;
}

.enlazar-toggle-switcher__price-item .enlazar-curso-precio-arg__tooltip {
    text-transform: none !important;
    letter-spacing: normal;
}

.enlazar-toggle-switcher__price-badge-wrap {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: -6px;
}

.enlazar-toggle-switcher__price-badge-wrap[hidden] {
    display: none !important;
}

.enlazar-toggle-switcher__price-badge-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f7bf10;
    color: #16106b;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.enlazar-toggle-switcher__price-badge-item:not([hidden]) {
    animation: enlazar-toggle-fade-up var(--enlazar-toggle-transition-duration) ease;
}

.enlazar-toggle-switcher__price-badge-item[hidden] {
    display: none !important;
}

.enlazar-toggle-switcher__controls {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border: 1px solid #d7dbe0;
    border-radius: 999px;
    background: #f5f7fa;
    width: fit-content;
    max-width: 100%;
}

.enlazar-toggle-switcher__button {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--enlazar-toggle-color-base);
    border-radius: 999px;
    cursor: pointer;
    padding: 12px 20px;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.enlazar-toggle-switcher__button.is-active {
    background: #ffffff;
    color: var(--enlazar-toggle-color-left-active);
    box-shadow: 0 8px 18px rgba(19, 34, 56, 0.12);
    font-weight: 700 !important;
}

.enlazar-toggle-switcher__controls.is-right-active .enlazar-toggle-switcher__button.is-active {
    color: var(--enlazar-toggle-color-right-active);
}

.enlazar-toggle-switcher__button:focus-visible {
    outline: 2px solid var(--enlazar-toggle-color-base);
    outline-offset: 2px;
}

.enlazar-toggle-switcher__switch-hit {
    display: none;
}

.enlazar-toggle-switcher__panel-wrap {
    border-radius: 24px;
}

.enlazar-toggle-switcher__panel {
    display: none;
    padding: 24px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.enlazar-toggle-switcher__panel.is-active {
    display: block;
    animation: enlazar-toggle-fade-up var(--enlazar-toggle-transition-duration) ease;
}

.enlazar-toggle-switcher__panel > :first-child {
    margin-top: 0;
}

.enlazar-toggle-switcher__panel > :last-child {
    margin-bottom: 0;
}

.enlazar-toggle-switcher__panel-button-wrap {
    display: flex;
    margin-top: 20px;
}

.enlazar-toggle-switcher__panel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 999px;
    background: #f7bf10;
    color: #16106b;
    text-decoration: none;
    transition: all 0.2s ease;
}

.enlazar-toggle-switcher__panel-button:hover {
    filter: brightness(0.96);
}

.enlazar-toggle-switcher__panel-legal {
    margin-top: 10px;
    color: rgba(22, 16, 107, 0.85);
}

.enlazar-toggle-switcher--style-pricing {
    gap: 20px;
}

.enlazar-toggle-switcher--style-pricing .enlazar-toggle-switcher__controls {
    display: grid;
    grid-template-columns: minmax(0, auto) 72px minmax(0, auto);
    align-items: center;
    column-gap: 12px;
    row-gap: 0;
    border: 0;
    box-shadow: none;
    width: auto;
    position: relative;
}

.enlazar-toggle-switcher--style-pricing .enlazar-toggle-switcher__controls::before {
    content: '';
    grid-column: 2;
    grid-row: 1;
    width: 72px;
    height: 38px;
    border-radius: 999px;
    background: var(--enlazar-toggle-color-base);
}

.enlazar-toggle-switcher--style-pricing .enlazar-toggle-switcher__switch-hit {
    display: block;
    grid-column: 2;
    grid-row: 1;
    width: 72px;
    height: 38px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    z-index: 2;
}

.enlazar-toggle-switcher--style-pricing .enlazar-toggle-switcher__switch-hit:focus-visible {
    outline: 2px solid var(--enlazar-toggle-color-base);
    outline-offset: 2px;
}

.enlazar-toggle-switcher--style-pricing .enlazar-toggle-switcher__controls.is-left-active::before {
    background: var(--enlazar-toggle-bg-left-active);
}

.enlazar-toggle-switcher--style-pricing .enlazar-toggle-switcher__controls.is-right-active::before {
    background: var(--enlazar-toggle-bg-right-active);
}

.enlazar-toggle-switcher--style-pricing .enlazar-toggle-switcher__controls::after {
    content: '';
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    width: 28px;
    height: 28px;
    margin-left: 5px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(22, 16, 107, 0.2);
    transition: transform 0.22s ease;
    pointer-events: none;
}

.enlazar-toggle-switcher--style-pricing .enlazar-toggle-switcher__controls.is-right-active::after {
    transform: translateX(34px);
}

.enlazar-toggle-switcher--style-pricing .enlazar-toggle-switcher__button {
    min-width: 0;
    color: var(--enlazar-toggle-color-base);
    letter-spacing: -0.01em;
    box-shadow: none;
    white-space: nowrap;
}

.enlazar-toggle-switcher--style-pricing .enlazar-toggle-switcher__button:first-child {
    grid-column: 1;
    justify-self: end;
}

.enlazar-toggle-switcher--style-pricing .enlazar-toggle-switcher__button:last-child {
    grid-column: 3;
    justify-self: start;
}

.enlazar-toggle-switcher--style-pricing .enlazar-toggle-switcher__button.is-active {
    background: transparent;
    color: var(--enlazar-toggle-color-left-active);
    box-shadow: none;
    font-weight: 700 !important;
}

.enlazar-toggle-switcher--style-pricing .enlazar-toggle-switcher__controls.is-right-active .enlazar-toggle-switcher__button.is-active {
    color: var(--enlazar-toggle-color-right-active);
}

.enlazar-toggle-switcher--style-pricing .enlazar-toggle-switcher__panel-wrap {
    border-top: 1px solid #16106b;
    padding-top: 8px;
}

.enlazar-toggle-switcher--style-pricing .enlazar-toggle-switcher__panel {
    color: #16106b;
}

@media (max-width: 767px) {
    .enlazar-toggle-switcher__controls {
        width: 100%;
    }

    .enlazar-toggle-switcher__button {
        flex: 1 1 50%;
        text-align: center;
    }

    .enlazar-toggle-switcher--style-pricing .enlazar-toggle-switcher__controls {
        grid-template-columns: 1fr 72px 1fr;
        width: 100%;
    }

    .enlazar-toggle-switcher--style-pricing .enlazar-toggle-switcher__button {
        min-width: 0;
        white-space: normal;
    }
}

@keyframes enlazar-toggle-fade-up {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
