
/* 1. Базовая обёртка формы */
.t-form__wrapper {
    background: #ffffff !important;
    padding: 60px !important;
    border: 1px solid rgba(0,0,0,0.04) !important;
}

/* Адаптив для карточки */
@media (max-width: 768px) {
    .t-form__wrapper {
        padding: 30px 20px !important;
    }
}

/* 2. Поля ввода */
.t-input,
.t-select,
.t-textarea {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    padding: 12px 0 !important;
    color: #1c1c1c !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 0 !important;
    outline: none !important;
    transition: border-color 0.3s ease !important;
    box-shadow: none !important;
}

/* Текст внутри поля при вводе */
.t-input:focus,
.t-select:focus,
.t-textarea:focus {
    border-bottom: 1px solid #1c1c1c !important;
    box-shadow: none !important;
}

/* Плейсхолдеры */
.t-input::-webkit-input-placeholder,
.t-select::-webkit-input-placeholder,
.t-textarea::-webkit-input-placeholder {
    color: #aaa !important;
    font-weight: 300 !important;
}
.t-input:-ms-input-placeholder,
.t-select:-ms-input-placeholder,
.t-textarea:-ms-input-placeholder {
    color: #aaa !important;
    font-weight: 300 !important;
}
.t-input::placeholder,
.t-select::placeholder,
.t-textarea::placeholder {
    color: #aaa !important;
    font-weight: 300 !important;
}

/* 3. Выпадающий список (select) — кастомная стрелка */
.t-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    cursor: pointer !important;
}

/* Контейнер для select с кастомной стрелкой */
.t-inputgroup {
    position: relative;
}

.t-inputgroup .t-select {
    width: 100%;
}

.t-inputgroup::after {
    content: "↓" !important;
    font-size: 12px !important;
    color: #7a7a7a !important;
    position: absolute !important;
    right: 0 !important;
    bottom: 15px !important;
    pointer-events: none !important;
    font-family: 'Montserrat', sans-serif !important;
}

/* 4. Кнопка отправки */
.t-submit {
    display: inline-block !important;
    padding: 16px 38px !important;
    background: #1c1c1c !important;
    color: #fcfcfc !important;
    text-decoration: none !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    border: 1px solid #1c1c1c !important;
    border-radius: 0 !important;
    transition: 0.3s ease !important;
    cursor: pointer !important;
    width: 100% !important;
    margin-top: 15px !important;
    text-align: center !important;
}

.t-submit:hover {
    background: transparent !important;
    color: #1c1c1c !important;
    border-color: #1c1c1c !important;
}

/* 5. Заголовок формы */
.t-form__title {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 42px !important;
    font-weight: 400 !important;
    color: #1c1c1c !important;
    text-align: center !important;
    margin-bottom: 40px !important;
}

/* 6. Отступы между полями */
.t-form__inputs {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.t-input-wrapper {
    margin-bottom: 0 !important;
}

/* 7. Сообщение об успешной отправке */
.t-form__success-popup,
.t-form__success-message {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    color: #ff8562 !important;
    text-align: center !important;
}

/* 8. Адаптивность */
@media (max-width: 768px) {
    .t-form__wrapper {
        padding: 30px 20px !important;
    }
    .t-form__title {
        font-size: 32px !important;
    }
    .t-submit {
        padding: 14px 28px !important;
        font-size: 11px !important;
    }
}

/* 9. убираем лишние тени */
.t-form__builder {
    box-shadow: none !important;
    background: transparent !important;
}

.t-prefix_2 {
    padding-left: unset !important;
}

.t-col_8 {
    max-width: unset !important;
}
