/* =====================================================
   Tailor Made Form — Premium Green Theme
   Plugin: Travel Form Blocks
   ===================================================== */

.tfb-tailor-made-form {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--wp--preset--spacing--80);
    /*background: var(--wp--preset--color--custom-verde-clarisimo);
    border-radius: 18px;
    box-shadow: var(--wp--preset--shadow--natural);*/
    font-family: var(--wp--preset--font-family--inter);
}

/* FORM */
.tmf-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* SECTION CARD */
.tmf-section {
    background: var(--wp--preset--color--white);
    border: 1px solid var(--wp--preset--color--primary-20);
    border-radius: 16px;
    padding: 20px 24px;
    /*box-shadow: 0 4px 14px rgba(23, 86, 92, 0.08);*/
    transition: all 0.25s ease;
}

.tmf-section:hover {
    box-shadow: 0 6px 20px rgba(23, 86, 92, 0.14);
    transform: translateY(-1px);
}

/* TITLES */
.tmf-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--wp--preset--color--primary);
    margin-bottom: 5px;
}

.tmf-description {
    font-size: 0.95rem;
    color: var(--wp--preset--color--gray);
    margin-bottom: 15px;
    margin-top: 0;
    line-height: 1;
}

/* ROW */
.tmf-option-row {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* ICON BOX */
.tmf-icon-box {
    width: 68px;
    height: 90px;
    min-width: 68px;
    border-radius: 0 15px 15px 0;
    background: var(--wp--preset--color--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -25px;
    /*box-shadow: 0 4px 10px rgba(23, 86, 92, 0.22);*/
}

/* ICON */
.tmf-svg-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tmf-icon-box .tmf-svg-icon .tmf-svg {
    width: 28px;
    height: 28px;
    fill: white;
    color: white;
}

/* OPTION GROUP */
.tmf-option-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: 1;
}

/* BUTTONS */
.tmf-option-btn {
    padding: 12px 18px;
    border: 1px solid var(--wp--preset--color--primary-40);
    border-radius: 999px;
    background: white;
    color: var(--wp--preset--color--primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.tmf-option-btn:hover {
    background: var(--wp--preset--color--custom-verde-clarisimo);
    border-color: var(--wp--preset--color--primary);
    transform: translateY(-1px);
}

/* ACTIVE */
.tmf-option-btn.is-active {
    background: var(--wp--preset--color--secondary);
    color: white;
    border-color: var(--wp--preset--color--primary);
    box-shadow: 0 4px 10px rgba(23, 86, 92, 0.18);
}

/* INPUTS */
.tmf-field {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--wp--preset--color--primary-20);
    border-radius: 12px;
    font-size: 1rem;
    margin-top: 10px;
    transition: all 0.2s ease;
    background: white;
    color: var(--wp--preset--color--tertiary);
}

.tmf-field:focus {
    outline: none;
    border-color: var(--wp--preset--color--alternative-2);
    box-shadow: 0 0 0 4px rgba(10, 121, 126, 0.12);
}

/* TEXTAREA */
textarea.tmf-field {
    min-height: 140px;
    resize: vertical;
}

/* ── Validation (= .valid / .error / .fecp-error) ────────── */

.tmf-error-msg {
    color: #dc143c;
    font-size: 0.85rem;
    margin-top: 4px;
    display: block;
    font-family: "Poppins", sans-serif;
}


/* SUBMIT */
.tmf-submit-btn {
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(
        135deg,
        var(--wp--preset--color--primary),
        var(--wp--preset--color--alternative-2)
    );
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(23, 86, 92, 0.22);
}

.tmf-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(23, 86, 92, 0.28);
}

/* MOBILE */
@media (max-width: 768px) {
    .tfb-tailor-made-form {
        padding: 20px;
    }

    .tmf-section {
        padding: 18px;
    }
    
    .tmf-option-row {
       gap:5px;
    }

    .tmf-icon-box {
        width: 56px;
        height: 98px;
        min-width: 56px;
        margin-left: -18px;
    }

    .tmf-option-group {
        width: 100%;
    }

    .tmf-option-btn {
        width: 100%;
        text-align: center;
    }
}