

/* Start:/local/templates/real-2024/css/fastpay.css?177462032818897*/
    .ui-container--973 {
        width: 973px;
        margin: 0 auto;
    }

    .fast-pay-title {
        margin: 0;
        font-size: 46px;
        line-height: 46px;
        font-weight: 500;
    }

    .fast-pay-description {
        margin: 34px 0 0;
        font-size: 28px;
        line-height: 28px;
        font-weight: 400;
    }

    .fast-pay-form {
        margin-top: 48px;
        background: #F4F5FE;
        border-radius: 16px;
        padding: 42px;
    }

    .fast-pay-form-step {
        display: none;
    }

    .fast-pay-form-step.is-active {
        display: block;
    }

    .fast-pay-form-step__label {
        margin: 0;
        font-size: 24px;
        line-height: 24px;
        font-weight: 400;
    }

    .fast-pay-form-step__input-grid {
        margin-top: 40px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 14px;
    }

    .fast-pay-form-step__input-col,
    .fast-pay-form-step__select-col {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .fast-pay-form-step .fast-pay-input,
    .fast-pay-form-step select {
        width: 100%;
        height: 48px;
        border: none;
        border-radius: 12px;
        padding: 0 16px;
        background: #E5E6F5;
        font-size: 16px;
        line-height: 20px;
        font-weight: 400;
        color: #111111;
        appearance: none;
    }

    /* Телефон (как в bileti.php request modal) */
    .fast-pay-form .request-modal__phone-block {
        position: relative;
    }

    .fast-pay-form .request-modal__phone-wrap {
        width: 100%;
        height: 48px;
        border: none;
        background-color: #E5E6F5;
        border-radius: 12px;
        display: flex;
        align-items: center;
        padding: 0 16px;
        position: relative;
    }

    .fast-pay-form .request-modal__phone-prefix {
        display: flex;
        align-items: center;
        cursor: pointer;
        flex-shrink: 0;
    }

    .fast-pay-form .request-modal__phone-flag { width: 26px; height: auto; display: block; margin-right: 6px; }
    .fast-pay-form .request-modal__phone-arrow { width: 8px; height: auto; display: block; margin-right: 10px; }

    .fast-pay-form .request-modal__phone-code {
        font-size: 16px;
        line-height: 22px;
        font-weight: 400;
        color: #666666;
        margin-right: 5px;
        margin-top: 2px;
    }

    .fast-pay-form .request-modal__phone-input {
        flex: 1;
        border: none;
        outline: none;
        padding: 0 0 0 5px;
        font-size: 16px;
        line-height: 22px;
        font-weight: 400;
        min-width: 0;
        background: transparent;
        color: #111111;
        margin-top: 2px;
    }

    .fast-pay-form .request-modal__phone-input::placeholder {
        color: #666666;
        opacity: 0.7;
    }

    .fast-pay-form .request-modal__country-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin-top: 4px;
        background: #fff;
        border: 1px solid #CFD4E6;
        border-radius: 10px;
        padding: 8px 0;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        z-index: 10;
        display: none;
        min-width: 200px;
    }

    .fast-pay-form .request-modal__country-dropdown.is-open {
        display: block;
    }

    .fast-pay-form .request-modal__country-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 16px;
        cursor: pointer;
        transition: background 0.2s;
    }

    .fast-pay-form .request-modal__country-item:hover {
        background: #F4F5FE;
    }

    .fast-pay-form .request-modal__country-item img {
        width: 18px;
        height: auto;
    }

    .fast-pay-form-step select {
        background-image: linear-gradient(45deg, transparent 50%, #111111 50%), linear-gradient(135deg, #111111 50%, transparent 50%);
        background-position: calc(100% - 20px) calc(50% - 3px), calc(100% - 14px) calc(50% - 3px);
        background-size: 6px 6px, 6px 6px;
        background-repeat: no-repeat;
    }

    /* Кастомные селекты (как в bileti.php мобильный селект) */
    .fast-pay-select {
        position: relative;
        width: 100%;
    }

    .fast-pay-select__trigger {
        width: 100%;
        height: 48px;
        padding: 0 20px;
        background: #FFFFFF;
        border-radius: 12px;
        border: none;
        font-size: 16px;
        line-height: 20px;
        font-weight: 400;
        color: #111111;
        text-align: left;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .fast-pay-select__trigger:focus {
        outline: none;
    }

    .fast-pay-select__trigger-text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        padding-right: 12px;
    }

    .fast-pay-select__trigger-arrow {
        width: 10px;
        height: auto;
        flex-shrink: 0;
        transition: transform 0.2s;
    }

    .fast-pay-select.is-open .fast-pay-select__trigger-arrow {
        transform: rotate(180deg);
    }

    .fast-pay-select__list {
        position: absolute;
        top: calc(100% + 4px);
        left: 0;
        right: 0;
        background: #fff;
        border: 1px solid #CFD4E6;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        padding: 4px 0;
        z-index: 100;
        display: none;
        max-height: 280px;
        overflow-y: auto;
    }

    .fast-pay-select.is-open .fast-pay-select__list {
        display: block;
    }

    .fast-pay-select__item {
        padding: 12px 16px;
        font-size: 16px;
        line-height: 20px;
        font-weight: 400;
        color: #111111;
        cursor: pointer;
        transition: background-color 0.2s;
    }

    .fast-pay-select__item:hover {
        background: #F4F5FE;
    }

    .fast-pay-form-step__show-map-btn {
        width: max-content;
        margin-top: 4px;
        padding: 0;
        border: 0;
        border-bottom: 1px solid #111111;
        background: transparent;
        color: #111111;
        font-size: 16px;
        line-height: 16px;
        font-weight: 400;
        cursor: pointer;
    }

    .fast-pay-map-area {
        margin-top: 20px;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transform: translateY(-10px);
        transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.35s ease;
    }

    .fast-pay-map-area.is-open {
        max-height: 420px;
        opacity: 1;
        transform: translateY(0);
    }

    .fast-pay-map {
        width: 100%;
        height: 505px;
        border-radius: 12px;
        overflow: hidden;
        background: #e9ebf8;
    }

    .fast-pay-form-step__next-btn {
        margin-top: 54px;
        width: 273px;
        height: 56px;
        border: 0;
        border-radius: 12px;
        background: #0E26FF;
        color: #FFFFFF;
        font-size: 18px;
        line-height: 20px;
        font-weight: 500;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }

    .fast-pay-form-step__next-btn:hover {
        background: #000000;
    }

    .fast-pay-input.is-invalid,
    .fast-pay-form .request-modal__phone-wrap.is-invalid,
    .fast-pay-select.is-invalid .fast-pay-select__trigger {
        box-shadow: 0 0 0 2px #FF4D4F inset;
        animation: fastPayInvalidFade 2s ease forwards;
    }

    .fast-pay-installment-block__input.is-invalid {
        box-shadow: 0 0 0 2px #FF4D4F inset;
    }

    @keyframes fastPayInvalidFade {
        0% {
            box-shadow: 0 0 0 2px #FF4D4F inset;
        }
        100% {
            box-shadow: 0 0 0 0 rgba(255, 77, 79, 0) inset;
        }
    }

    .fast-pay-form-step__placeholder {
        margin: 0;
        font-size: 24px;
        line-height: 32px;
        font-weight: 400;
    }

    .fast-pay-step-back {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
        font-size: 18px;
        line-height: 18px;
        font-weight: 300;
        color: #111111;
    }

    .fast-pay-step-back img {
        width: 20px;
        height: 20px;
        display: block;
    }

    .fast-pay-step2-title {
        margin: 30px 0 0;
        font-size: 24px;
        line-height: 24px;
        font-weight: 400;
    }

    .fast-pay-step2-top {
        margin-top: 40px;
        display: grid;
        grid-template-columns: 360px 1fr;
        gap: 67px;
        align-items: start;
    }

    .fast-pay-step2-selects {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .fast-pay-step2-info {
        width: 424px;
        background: #FFFFFF;
        border-radius: 12px;
        padding: 22px 27px;
    }

    .fast-pay-step2-info-list {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .fast-pay-step2-info-list li {
        position: relative;
        padding-left: 21px;
        font-size: 16px;
        line-height: 20px;
        font-weight: 400;
        color: #111111;
    }

    .fast-pay-step2-info-list li::before {
        content: '';
        position: absolute;
        left: 0;
        top: 5px;
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: #000000;
    }

    .fast-pay-step2-payment-title {
        margin: 26px 0 0;
        font-size: 24px;
        line-height: 24px;
        font-weight: 400;
    }

    .fast-pay-step2-payment-grid {
        margin-top: 18px;
        display: grid;
        grid-template-columns: 360px 360px;
        gap: 67px;
        align-items: start;
    }

    .fast-pay-payment-methods {
        width: 360px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .fast-pay-installment-block {
        display: none;
        margin-top: 2px;
    }

    .fast-pay-installment-block.is-visible {
        display: block;
    }

    .fast-pay-installment-block__label {
        margin: 0;
        font-size: 16px;
        line-height: 20px;
        font-weight: 400;
        color: #111111;
    }

    .fast-pay-installment-block__input {
        margin-top: 12px;
        width: 360px;
        height: 48px;
        border: none;
        border-radius: 12px;
        background: #E5E6F5;
        padding: 0 16px;
        font-size: 16px;
        line-height: 20px;
        font-weight: 400;
        color: #111111;
        outline: none;
    }

    .fast-pay-installment-block__error {
        display: none;
        margin: 8px 0 0;
        font-size: 13px;
        line-height: 16px;
        font-weight: 400;
        color: #FF4D4F;
    }

    .fast-pay-installment-block__error.is-visible {
        display: block;
    }

    .fast-pay-payment-radio {
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        min-height: 52px;
        padding: 15px 18px 15px 15px;
        border: 1px solid #FFFFFF;
        border-radius: 10px;
        background: #FFFFFF;
        cursor: pointer;
        transition: border-color 0.2s ease;
        width: 360px;
        max-width: 100%;
    }

    .fast-pay-payment-radio:hover {
        border-color: #3D3BFF;
    }

    .fast-pay-payment-radio input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .fast-pay-payment-radio__dot {
        width: 10px;
        height: 10px;
        border: 1px solid #000000;
        border-radius: 50%;
        margin-right: 15px;
        flex-shrink: 0;
        position: relative;
    }

    .fast-pay-payment-radio__text {
        font-size: 16px;
        line-height: 20px;
        font-weight: 400;
        color: #000000;
    }

    

    .fast-pay-payment-radio input:checked + .fast-pay-payment-radio__dot {
        border: 4px solid #0E26FF
    }

    .fast-pay-payment-radio__bonus {
        position: absolute;
        top: 0;
        right: 0;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        background: #FFF705;
        padding: 4px 8px;
        border-bottom-left-radius: 6px;
        font-size: 10px;
        line-height: 20px;
        font-weight: 400;
        color: #000000;
    }

    .fast-pay-payment-radio__bonus img {
        width: 14px;
        height: auto;
    }

    .fast-pay-payment-radio__bonus-lightning {
        width: 14px;
        height: 14px;
        display: block;
    }

    .fast-pay-promo {
        width: 360px;
        display: flex;
        flex-direction: column;
        gap: 9px;
    }

    .fast-pay-promo__price-label {
        margin: 0 0 22px;
        font-size: 18px;
        line-height: 18px;
        font-weight: 500;
        color: #000000;
    }

    .fast-pay-promo__code-block {
        position: relative;
    }

    .fast-pay-promo__input {
        position: relative;
    }

    .fast-pay-promo__input input {
        width: 100%;
        border: none;
        background: #E5E6F5;
        border-radius: 12px;
        padding: 0 112px 0 18px;
        height: 48px;
        font-size: 16px;
        line-height: 16px;
        font-weight: 400;
        color: #111111;
        outline: none;
    }

    .fast-pay-promo__apply-btn {
        position: absolute;
        right: 9px;
        top: 9px;
        bottom: 9px;
        width: 90px;
        border: none;
        border-radius: 16px;
        background: #0E26FF;
        color: #FFFFFF;
        padding: 0;
        font-size: 12px;
        line-height: 12px;
        font-weight: 400;
        cursor: pointer;
        transition: background-color 0.15s ease;
    }

    .fast-pay-promo__apply-btn:active {
        background: #000000;
    }

    .fast-pay-promo__price-block {
        background: #E5E6F5;
        border-radius: 12px;
        padding: 18px 15px 18px 23px;
        position: relative;
    }

    .fast-pay-promo__price {
        margin-top: 0;
    }

    .fast-pay-promo__price-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 12px;
        gap: 10px;
    }

    .fast-pay-promo__old {
        font-size: 14px;
        line-height: 14px;
        font-weight: 400;
        text-decoration: line-through;
        color: #191919;
    }

    .fast-pay-promo__discount {
        position: absolute;
        top: 40px;
        right: 15px;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        background: #FFF705;
        border-radius: 30px;
        padding: 2px 8px;
        font-size: 12px;
        line-height: 20px;
        font-weight: 400;
    }

    .fast-pay-promo__new {
        font-size: 22px;
        line-height: 22px;
        font-weight: 500;
        color: #191919;
    }

    @media (max-width: 1023px) {
        .ui-container--973 {
            width: 100%;
            padding-left: 24px;
            padding-right: 24px;
        }

        .fast-pay-form {
            padding: 24px;
        }

        .fast-pay-map-area {
            margin-left: -24px;
            margin-right: -24px;
        }

        .fast-pay-map {
            height: 185px;
            border-radius: 0;
        }
    }

    @media (min-width: 768px) and (max-width: 1023px) {
        .fast-pay-step2-top,
        .fast-pay-step2-payment-grid {
            grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
            gap: 24px;
        }

        .fast-pay-step2-selects,
        .fast-pay-step2-info,
        .fast-pay-payment-methods,
        .fast-pay-promo,
        .fast-pay-payment-radio,
        .fast-pay-installment-block__input {
            width: 100%;
            max-width: 100%;
        }
    }

    @media (max-width: 767px) {
        .fast-pay-title {
            font-size: 28px;
            line-height: 32px;
        }

        .fast-pay-description {
            font-size: 16px;
            line-height: 18px;
            margin-top: 18px;
        }

        .fast-pay-form {
            padding: 30px 25px;
            margin-top: 24px;
        }
        
        .fast-pay-form-step__label {
            font-size: 18px;
            line-height: 18px;
        }

        .fast-pay-form-step__input-grid {
            grid-template-columns: 1fr;
            row-gap: 6px;
            margin-top: 18px;
        }
        
        .fast-pay-form-step__input-col, .fast-pay-form-step__select-col {
            gap: 6px;
        }

        .fast-pay-form-step__show-map-btn {
            margin-top: 18px;
        }

        .fast-pay-map-area {
            margin-top: 18px;
        }

        .fast-pay-form-step__next-btn {
            margin-top: 18px;
        }

        .fast-pay-form-step__next-btn {
            width: 100%;
        }

        .fast-pay-step2-top,
        .fast-pay-step2-payment-grid {
            grid-template-columns: 1fr;
            gap: 16px;
        }

        .fast-pay-step2-info {
            width: 100%;
        }

        .fast-pay-step2-selects,
        .fast-pay-payment-methods,
        .fast-pay-promo,
        .fast-pay-payment-radio,
        .fast-pay-installment-block__input {
            width: 100%;
            max-width: 100%;
        }

        .fast-pay-step-back {
            font-size: 14px;
            line-height: 16px;
            gap: 10px;
        }

        .fast-pay-step2-title {
            font-size: 18px;
            line-height: 18px;
        }
        
        .fast-pay-step2-top, .fast-pay-step2-payment-grid {
            margin-top: 18px;
            gap: 18px;
        }

        .fast-pay-step2-selects {
            gap: 6px;
        }

        .fast-pay-payment-radio__bonus {
            display: none;
        }

        .fast-pay-step2-info-list li {
            font-size: 14px;
            line-height: 16px;
        }

        .fast-pay-step2-info {
            padding: 18px 21px;
        }
        
        .fast-pay-step2-payment-title {
            margin-top: 36px;
            font-size: 18px;
            line-height: 18px;
        }

        .fast-pay-payment-methods {
            gap: 6px;
        }

        .fast-pay-promo {
            gap: 18px;
        }

        .fast-pay-promo__old {
            font-size: 12px;
            line-height: 12px;
        }

        .fast-pay-promo__new {
            font-size: 20px;
            line-height: 20px;
        }

        .fast-pay-installment-block {
            margin-top: 30px;
            margin-bottom: 18px;
        }

        .fast-pay-installment-block__label {
            font-size: 14px;
            line-height: 14px;
        }
    }

/* End */
/* /local/templates/real-2024/css/fastpay.css?177462032818897 */
