
.t-align_center {
    align-items: center;
    justify-content: center;
}

/* Success popup — переопределение стандартного зелёного окна Tilda под стиль страницы */
/* !important нужен: правила Tilda (tilda-forms-1.0.min.css) той же специфичности
   и грузятся позже custom.css, поэтому побеждают в каскаде без !important */
.t-form-success-popup__wrapper {
    background-color: #fcf2d9 !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 60px rgba(41, 9, 9, 0.35) !important;
    padding: 40px 30px !important;
}

/* контур/иконка успеха: бордовый круг вместо стандартного зелёного */
.t-form-success-popup__content-icon-background {
    fill: #5a0f0f !important;
}

.t-form-success-popup__content-icon-check {
    stroke: #fcf2d9 !important;
}

.t-form-success-popup__title {
    font-family: 'Jost', Arial, sans-serif !important;
    color: #5a0f0f !important;
}

.t-form-success-popup__text {
    font-family: 'Jost', Arial, sans-serif !important;
    color: #292929 !important;
}

.t-form-success-popup__button {
    font-family: 'Jost', Arial, sans-serif !important;
    background-color: #5a0f0f !important;
    color: #fcf2d9 !important;
    border-radius: 1000px !important;
    transition: background-color 0.2s ease;
}

.t-form-success-popup__button:hover {
    background-color: #290a0a !important;
}

/* крестик закрытия — в тон бордового вместо чёрного */
.t-form-success-popup__close-icon svg path {
    fill: #5a0f0f !important;
}