/**
 * TPF Forms Styles
 * 
 * Styles for Contact Form 7 forms and general form elements.
 * 
 * @package TPF
 * @since 1.1.0
 */

/* Hide default CF7 spinner (optional - remove if you want to show it) */
.tpf-form .wpcf7-spinner {
    display: none;
}

/* Utility classes */
.tpf-form__hide {
    display: none;
}

.tpf-form__center,
.tpf-form__center p {
    width: 100%;
}

/* Form labels */
.tpf-form__label {
    display: block;
    margin-bottom: 5px;
}

/* Full-width form fields */
.tpf-form__field__full {
    width: 100%;
}

.tpf-form__field__textarea {
    width: 100%;
}

.tpf-form__field__select {
    width: 100%;
}

/* Submit button */
.tpf-form__field__submit {
    color: #FFFFFF !important;
    border-width: 0px !important;
    border-radius: 5px;
    font-size: 18px;
    background-color: #e3b922;
    margin: 30px auto;
    padding: 8px 30px;
    font-weight: 700;
    display: block;
    cursor: pointer;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

/* Submit button disabled state */
.tpf-form__field__submit--disabled,
.tpf-form__field__submit:disabled,
.tpf-form .wpcf7-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #999999 !important;
}

/* Text inputs */
.tpf-form input[type=text],
.tpf-form input[type=tel],
.tpf-form input[type=email],
.tpf-form input[type=date] {
    border-radius: 5px;
    line-height: 1.3em;
    border-color: rgba(0, 0, 0, 0.2);
    padding: 8px 10px;
}

/* Select dropdowns */
.tpf-form select {
    border-radius: 5px;
    line-height: 1.3em;
    border-color: rgba(0, 0, 0, 0.2);
    padding: 8px 10px;
    background-color: #4086bf;
    color: #fff;
    font-weight: 700;
}

/* Textareas */
.tpf-form textarea {
    border-radius: 5px;
    line-height: 1.3em;
    border-color: rgba(0, 0, 0, 0.2);
    padding: 8px 10px;
    height: 100px;
}
