/* =========================================
   TRANSITION ELECTRICS
   SOLAR & BATTERY ASSESSMENT FORM
   ========================================= */

/* Main Contact Form 7 area */
.wpcf7 {
    max-width: 100%;
}

/* Standard text fields */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
    width: 100%;
    min-height: 52px;
    padding: 12px 15px;
    margin-top: 7px;
    margin-bottom: 18px;
    border: 1px solid #d7dce2;
    border-radius: 6px;
    background: #ffffff;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Field selected/focused */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus {
    border-color: #153e75;
    box-shadow: 0 0 0 3px rgba(21, 62, 117, 0.10);
    outline: none;
}

/* Main labels */
.wpcf7 label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

/* Upload section */
.wpcf7 input[type="file"] {
    display: block;
    width: 100%;
    max-width: 600px;
    margin-top: 8px;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #d7dce2;
    border-radius: 6px;
    background: #f7f8fa;
    box-sizing: border-box;
    font-size: 14px;
}

/* File chooser button */
.wpcf7 input[type="file"]::file-selector-button {
    border: 0;
    border-radius: 5px;
    padding: 10px 16px;
    margin-right: 12px;
    background: #153e75;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
}

/* Consent section */
.wpcf7 .wpcf7-acceptance {
    display: block;
    margin-top: 22px;
    margin-bottom: 20px;
}

.wpcf7 .wpcf7-acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
}

.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
}

/* Submit button */
.wpcf7 input[type="submit"] {
    display: inline-block;
    min-height: 52px;
    padding: 13px 28px;
    border: 0;
    border-radius: 6px;
    background: #24b95a;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.wpcf7 input[type="submit"]:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Contact Form 7 messages */
.wpcf7 form .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 14px 16px;
    border-radius: 6px;
}

/* Mobile */
@media (max-width: 600px) {
    .wpcf7 input[type="file"] {
        max-width: 100%;
    }

    .wpcf7 input[type="submit"] {
        width: 100%;
    }
}/* Consent checkbox text */
.wpcf7 .wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}

.wpcf7 .wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 14px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.wpcf7 .wpcf7-acceptance label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px;
}

.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
    margin-top: 2px !important;
    flex-shrink: 0;
}