.button-component__wrapper {
    display: flex;
    width: 100%;
    min-width: 0;
}

.button-component__wrapper--left {
    justify-content: flex-start;
}

.button-component__wrapper--center {
    justify-content: center;
}

.button-component__wrapper--right {
    justify-content: flex-end;
}

.button-component__wrapper--base-text_link,
.button-component__wrapper--base-white_text_link {
    display: inline-flex;
    width: auto;
    vertical-align: baseline;
}

.button-component {
    --button-bg: #57068C;
    --button-text: #FFFFFF;
    --button-border: #57068C;
    --button-hover-bg: #460573;
    --button-hover-text: #FFFFFF;
    --button-hover-border: #460573;
    --button-width: auto;
    --button-height: auto;
    --button-min-height: 66px;
    --button-padding-x: 42px;
    --button-padding-y: 0;
    --button-border-width: 2px;
    --button-font-size: 20px;
    --button-line-height: 26px;
    --button-font-weight: 500;
    --button-border-radius: 0;
    --button-box-shadow: none;
    --button-hover-box-shadow: var(--button-box-shadow);

    position: relative;
    isolation: isolate;
    box-sizing: border-box;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 100%;
    overflow: hidden;
    width: var(--button-width);
    height: var(--button-height);
    min-height: var(--button-min-height);
    padding: var(--button-padding-y) var(--button-padding-x);
    border: var(--button-border-width) solid var(--button-border);
    border-radius: var(--button-border-radius);
    background: var(--button-bg);
    box-shadow: var(--button-box-shadow);
    color: var(--button-text) !important;
    font-family: "NYU Perstare", system-ui, sans-serif !important;
    font-style: normal;
    font-size: var(--button-font-size);
    font-weight: var(--button-font-weight);
    line-height: var(--button-line-height);
    letter-spacing: -0.04em;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition:
        color 220ms ease,
        background-color 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease,
        transform 220ms ease;
}

.button-component:visited {
    color: var(--button-text) !important;
}

.button-component:hover,
.button-component:focus-visible {
    border-color: var(--button-hover-border);
    background: var(--button-hover-bg);
    box-shadow: var(--button-hover-box-shadow);
    color: var(--button-hover-text) !important;
    text-decoration: none !important;
}

.button-component:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--button-hover-border) 35%, transparent);
    outline-offset: 4px;
}

.button-component:active {
    transform: translateY(0) scale(0.99);
}

.button-component__label,
.button-component__icon {
    position: relative;
    z-index: 2;
}

.button-component__label {
    overflow: hidden;
    text-overflow: ellipsis;
}

.button-component__icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    transition: transform 220ms ease;
}

.button-component__icon--chevron_right,
.button-component__icon--chevron_left,
.button-component__icon--chevron_solid_right,
.button-component__icon--chevron_solid_left {
    width: 7px;
    height: 11px;
}

.button-component__icon--arrow_right,
.button-component__icon--arrow_left,
.button-component__icon--external {
    width: 20px;
    height: 20px;
}

.button-component__icon--chevron_left,
.button-component__icon--chevron_solid_left,
.button-component__icon--arrow_left {
    transform: rotate(180deg);
}

.button-component__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.button-component--size-small {
    --button-min-height: 48px;
    --button-padding-x: 24px;
    --button-padding-y: 0;
    --button-font-size: 16px;
    --button-line-height: 21px;
}

.button-component--size-medium {
    --button-min-height: 56px;
    --button-padding-x: 32px;
    --button-padding-y: 0;
    --button-font-size: 18px;
    --button-line-height: 23px;
}

.button-component--size-large {
    --button-min-height: 66px;
    --button-padding-x: 42px;
    --button-padding-y: 0;
    --button-font-size: 20px;
    --button-line-height: 26px;
}

.button-component--size-custom {
    min-height: var(--button-min-height);
}

.button-component--width-auto {
    --button-width: auto;
}

.button-component--width-standard {
    --button-width: 253px;
}

.button-component--width-wide {
    --button-width: 493px;
}

.button-component--width-full {
    --button-width: 100%;
}

.button-component--width-custom {
    width: var(--button-width);
}

.button-component--corners-slight {
    --button-border-radius: 3px;
}

.button-component--corners-custom {
    border-radius: var(--button-border-radius);
}

.button-component--shadow-slight {
    --button-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --button-hover-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.button-component--shadow-custom {
    box-shadow: var(--button-box-shadow);
}

.button-component--text_link,
.button-component--white_text_link,
.button-component--base-text_link,
.button-component--base-white_text_link {
    --button-min-height: 27px;
    --button-padding-x: 0;
    --button-padding-y: 0;
    --button-border-width: 0;
    --button-font-size: 16px;
    --button-line-height: 27px;
    --button-font-weight: 800;
    text-align: left;
    overflow: visible;
}

.button-component--text_link:hover,
.button-component--text_link:focus-visible,
.button-component--white_text_link:hover,
.button-component--white_text_link:focus-visible,
.button-component--base-text_link:hover,
.button-component--base-text_link:focus-visible,
.button-component--base-white_text_link:hover,
.button-component--base-white_text_link:focus-visible {
    background: transparent;
}

.button-component--spotlight {
    --button-font-size: 20px;
    --button-line-height: 26px;
}

.button-component--disabled,
.button-component[aria-disabled="true"] {
    pointer-events: none;
    cursor: not-allowed;
    user-select: none;
    box-shadow: none !important;
    transform: none !important;
}

.button-component--animation-shadow_lift:hover,
.button-component--animation-shadow_lift:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.button-component--animation-fill_slide::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: -2px;
    background: var(--button-hover-bg);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.button-component--animation-fill_slide:hover,
.button-component--animation-fill_slide:focus-visible {
    background: var(--button-bg);
}

.button-component--animation-fill_slide:hover::before,
.button-component--animation-fill_slide:focus-visible::before {
    transform: scaleX(1);
}

.button-component--animation-arrow_shift:hover .button-component__icon,
.button-component--animation-arrow_shift:focus-visible .button-component__icon {
    transform: translateX(5px);
}

.button-component--animation-arrow_shift:hover .button-component__icon--chevron_left,
.button-component--animation-arrow_shift:focus-visible .button-component__icon--chevron_left,
.button-component--animation-arrow_shift:hover .button-component__icon--chevron_solid_left,
.button-component--animation-arrow_shift:focus-visible .button-component__icon--chevron_solid_left,
.button-component--animation-arrow_shift:hover .button-component__icon--arrow_left,
.button-component--animation-arrow_shift:focus-visible .button-component__icon--arrow_left {
    transform: rotate(180deg) translateX(-5px);
}

.button-component--animation-arrow_shift_left:hover .button-component__icon,
.button-component--animation-arrow_shift_left:focus-visible .button-component__icon {
    transform: translateX(-5px);
}

.button-component--animation-arrow_shift_left:hover .button-component__icon--chevron_left,
.button-component--animation-arrow_shift_left:focus-visible .button-component__icon--chevron_left,
.button-component--animation-arrow_shift_left:hover .button-component__icon--chevron_solid_left,
.button-component--animation-arrow_shift_left:focus-visible .button-component__icon--chevron_solid_left,
.button-component--animation-arrow_shift_left:hover .button-component__icon--arrow_left,
.button-component--animation-arrow_shift_left:focus-visible .button-component__icon--arrow_left {
    transform: rotate(180deg) translateX(5px);
}

.button-component--animation-underline {
    overflow: visible;
}

.button-component--animation-underline::after {
    content: "";
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 220ms ease;
}

.button-component--animation-underline:hover::after,
.button-component--animation-underline:focus-visible::after {
    transform: scaleX(1);
}

.button-component--animation-scale:hover,
.button-component--animation-scale:focus-visible {
    transform: scale(1.025);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.button-component--animation-opacity:hover,
.button-component--animation-opacity:focus-visible {
    opacity: 0.75;
}

.button-component--animation-color_swap:hover,
.button-component--animation-color_swap:focus-visible {
    transform: none;
}

.button-component--animation-soft_shadow:hover,
.button-component--animation-soft_shadow:focus-visible {
    transform: translateY(-1px);
    box-shadow: var(--button-hover-box-shadow);
}

.button-component--animation-none,
.button-component--animation-none .button-component__icon {
    transition: none;
}

@media (max-width: 575px) {
    .button-component--width-standard,
    .button-component--width-wide {
        width: 100%;
    }

    .button-component--text_link.button-component--width-standard,
    .button-component--text_link.button-component--width-wide,
    .button-component--white_text_link.button-component--width-standard,
    .button-component--white_text_link.button-component--width-wide {
        width: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .button-component,
    .button-component::before,
    .button-component::after,
    .button-component__icon {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
