.step-container {
    background-color: #fafafa;
    display: flex;
    width: 100%;
    flex: 1;
}

.step-component {
    max-width: max(40rem, 45%);
    margin: 0 auto;
    padding: clamp(2rem, 0.105rem + 2.11vw, 3rem) 1rem 0.5rem;
    gap: clamp(1rem, 0.526rem + 0.53vw, 1.25rem);
    height: 100%;
}

.step-form-container {
    flex: 2;
}

.step-form-heading {
    font-size: var(--font-size-6);
}

.form-blocks-wrapper {
    gap: 0.75rem;
    padding: clamp(1rem, 0.053rem + 1.05vw, 1.5rem);
}

.form-block {
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid #1d1c1a1f;
    border-radius: 0.5rem;
    gap: clamp(0.875rem, 0.401rem + 0.53vw, 1.125rem);
    user-select: none;
}

.form-block .form-title {
    font-size: var(--font-size-7);
    font-weight: 600;
}
.form-block .form-subtitle {
    font-size: clamp(0.875rem, 0.202rem + 0.75vw, 1.23rem);
    opacity: 0.64;
    user-select: none;
}

.form-subtitle.ticket-unique-capacity {
    text-align: right;
}

.form-bottom-line {
    justify-content: space-between;
    border-top: 1px solid #1d1c1a1f;
    padding: clamp(1rem, 0.053rem + 1.05vw, 1.5rem);
    align-items: center;
    gap: 0.875rem;
}

.form-bottom-line > div {
    align-items: center;
}

.form-bottom-line p {
    font-size: var(--font-size-7);
    font-weight: 600;
}

.form-bottom-line .dot {
    background-color: #b2b2b2;
    border-radius: 100%;
    width: 0.25rem;
    height: 0.25rem;
    margin: 0 0.563rem;
}

.form-block .form-input-number {
    align-items: center;
}
.form-block .form-input-number,
.form-block .form-input-number input {
    text-align: center;
    font-size: var(--font-size-7);
    font-weight: 600;
}
.form-block .form-input-number .input-control {
    --_icon-width: clamp(1.25rem, -0.171rem + 1.58vw, 2rem);
    padding: clamp(0.375rem, 0.138rem + 0.26vw, 0.5rem);
    cursor: pointer;
    background-color: #f2f2f2;
    border-radius: 0.25rem;
    line-height: 0;
}
.form-block .form-input-number input {
    --_negative-opacity: 0.3;
    width: 40px;
    outline: none;
    opacity: var(
        --_negative-opacity
    ); /* change to 1 on input event trigger via the component specific js code */
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-wrapper label {
    font-size: clamp(0.875rem, 0.202rem + 0.75vw, 1.23rem);
}

.checkbox-wrapper input {
    appearance: none;
    width: clamp(1.5rem, 0.742rem + 0.84vw, 1.9rem);
    height: clamp(1.5rem, 0.742rem + 0.84vw, 1.9rem);
    flex-shrink: 0;
    border: 1px solid #FFB700;
    border-radius: 3px;
    cursor: pointer;
    background: var(--color-base-1);
}

.checkbox-wrapper input:checked {
    background: #f9f2e0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 11'%3E%3Cpath d='M14.1668 0.833313L5.00016 9.99998L0.833496 5.83331' fill='none' stroke='%23ffb700' stroke-width='1.66667' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% 70% no-repeat;
}

.disclaimer {
    margin: 1rem;
    font-size: clamp(0.75rem, 0.039rem + 0.79vw, 1.125rem);
    color: #5d5d5d;
    font-weight: 600;
}

.form-error {
    margin-top: 0.125rem;
    color:var(--color-fail);
    font-size: clamp(0.875rem, 0.202rem + 0.75vw, 1.23rem);
}

.prev-step-summary {
    align-items: center;
    gap: 0.5rem;
}

.prev-step-summary > .form-text-field {
    width: unset;
    flex: 1;
}

.prev-step-summary-button {
    padding: 0.375rem 1rem;
}

.ticket-price,
.ticket-quantity {
    white-space: nowrap;
}

.ticket-total {
    text-align: right;
}

.ticket-price {
    text-align: right;
}

.ticket-price.promo {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: var(--color-success);
}
.ticket-price.promo s {
    font-size: clamp(0.875rem, 0.202rem + 0.75vw, 1.23rem);
    opacity: 0.5;
    color: var(--color-base-4);
}

@media only screen and (max-width: 768px) {
    /* mobile */
    .step-component {
        padding-top: 0.5rem;
        max-width: 100%;
    }

    .form-block {
        gap: 0.5rem;
    }

    .checkbox-wrapper input {
        width: clamp(1.125rem, 0.72rem + 1.62vw, 1.5rem);
        height: clamp(1.125rem, 0.72rem + 1.62vw, 1.5rem);
    }

    .ticket-price.promo {
        align-items: center;
    }

    #submit-button {
        width: 100%;
    }
}
