/* 1. Force the row layout (Label Left, Input Right) */
.wpcf7-form p {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    margin-bottom: 15px !important;
    gap: 10px;
}

/* 2. Style the Labels */
.wpcf7-form label {
    flex: 0 0 20% !important;
    /* Fixed width for labels */
    color: #FFF !important;
    font-family: chunkfive_exregular, sans-serif !important;
    font-size: 1.6em !important;
    font-weight: normal !important;
    font-style: normal !important;
    letter-spacing: 0.05em;
    text-align: left;
    margin: 0 !important;
}

/* 3. Style the Input Wrappers */
.wpcf7-form .wpcf7-form-control-wrap {
    flex: 1 !important;
    /* Takes up remaining 80% */
    width: auto !important;
}

/* 4. Style the actual Inputs and Textarea */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100% !important;
    background: #FFF !important;
    border: none !important;
    border-radius: 12px !important;
    /* Rounding from screenshot */
    padding: 10px 15px !important;
    font-size: 1.1em !important;
    color: #000 !important;
    box-sizing: border-box !important;
}

/* 5. Fix Textarea alignment (Labels should stay at top) */
.wpcf7-form p:has(textarea) {
    align-items: flex-start !important;
}

.wpcf7-form p:has(textarea) label {
    padding-top: 10px;
}

/* 6. The Button - Using Theme Style */
.wpcf7-form input[type="submit"] {
    min-width: 182px;
    height: 40px;
    margin: 20px 0;
    padding: 5px 10px 0;
    float: right !important;
    clear: both;
    color: #FFF !important;
    font-size: 1.9em !important;
    font-family: bubblegumregular, sans-serif !important;
    font-weight: normal !important;
    font-style: normal !important;
    letter-spacing: 0.1em;
    text-align: center;
    text-decoration: none !important;
    line-height: 40px !important;
    white-space: nowrap;
    background: url("app/Resources/images/button.png") center no-repeat transparent !important;
    background-size: 100% 100% !important;
    border: none !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
}

.wpcf7-form input[type="submit"]:hover {
    color: #F28D33 !important;
}

/* 7. Hide the auto-breaks CF7 adds */
.wpcf7-form br {
    display: none !important;
}

/* 8. Required Field Text (Bottom Left) */
.wpcf7-form .wpcf7-required-legend {
    display: block;
    clear: both;
    color: #FFF;
    font-size: 1em;
    padding-top: 10px;
}