/* ---------------------------------------- */
/* Уведомления для формы обратной связи      */
/* ---------------------------------------- */

.form-notification-container {
    margin-top: 25px;
    width: 100%;
}

.form-notification {
    gap: 8px;
    line-height: 1;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: -0.05em;
    padding: 17px 25px;
    text-transform: none;
    color: var(--tp-common-white);
    font-family: var(--tp-ff-sequel-bold-head);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #007aff;
    /* Всегда черный */
    border-radius: 12px;
    width: auto;
    min-width: 200px;
    margin-bottom: 0;
    border: none;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.form-notification.show {
    opacity: 1;
    transform: translateY(0);
}

/* Оба состояния с черным фоном, отличаются только текстом */
.form-notification-success {
    background-color: #007aff;
}

.form-notification-error {
    background-color: #007aff;
}

/* Убираем иконки полностью */
.form-notification .notification-icon {
    display: none;
}

/* Убираем старый p.ajax-response */
.ajax-response {
    display: none;
}

/* Стили чекбокса согласия */
.tp-contact-form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.tp-contact-checkbox {
    display: none;
}

.tp-contact-check-label {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-left: 28px;
    font-family: var(--tp-ff-inter);
}

.tp-contact-check-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.2s ease;
}

.tp-contact-check-label::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 5px;
    width: 8px;
    height: 6px;
    border-left: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    transform: rotate(-45deg);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.tp-contact-checkbox:checked + .tp-contact-check-label::before {
    background: var(--tp-theme-primary);
    border-color: var(--tp-theme-primary);
}

.tp-contact-checkbox:checked + .tp-contact-check-label::after {
    opacity: 1;
}

.tp-contact-check-label a {
    color: var(--tp-theme-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.2s ease;
}

.tp-contact-check-label a:hover {
    opacity: 0.7;
}