.volnteer-form input[type="date"],
.volnteer-form input[type="text"],
.volnteer-form input[type="tel"],
.volnteer-form input[type="email"],
.volnteer-form textarea,
.volnteer-form select {
    width: 100%;
    font-size: 14px;
    color: #666;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px 15px;
    background-color: #fff;
}

.volnteer-form input[type="date"]:focus-visible,
.volnteer-form input[type="text"]:focus-visible,
.volnteer-form input[type="tel"]:focus-visible,
.volnteer-form input[type="email"]:focus-visible,
.volnteer-form textarea:focus-visible,
.volnteer-form select:focus-visible {
    outline: 2px solid #F26A21;
    outline-offset: 2px;
}

.volnteer-form input[aria-invalid="true"],
.volnteer-form textarea[aria-invalid="true"],
.volnteer-form select[aria-invalid="true"] {
    border-color: #dc3232;
}

/* Submit Button */
.volnteer-form input[type="submit"] {
    color: #fff !important;
    border: none !important;
    font-size: 16px;
    cursor: pointer;
    border-radius: 30px !important;
    background: #F26A21 !important;
    background-color: #F26A21 !important;
    line-height: 1;
    width: 40%;
    padding: 12px !important;
    margin-top: 15px;
}

/* Submit Button Hover */
.volnteer-form input[type="submit"]:hover {
    background: #F26A21 !important;
    background-color: #F26A21 !important;
    color: #fff !important;
}

.volnteer-form .form-input p {
    margin: 0;
}

.volnteer-form .form-input p.error-message {
    margin: 0;
    color: #dc3232;
    font-size: 14px;
    font-weight: 300;
    display: none;
}

.volnteer-form .form-input {
    display: flex;
    flex-direction: column;
    margin-top: 12px;
}

.volnteer-form label {
    font-size: 16px;
    font-weight: 600;
}

.volnteer-form .use-floating-validation-tip .wpcf7-not-valid-tip,
form.use-floating-validation-tip .volnteer-form .wpcf7-not-valid-tip {
    top: 0;
    left: 0;
    z-index: 100;
    border: 0 solid #dc3232;
    padding-left: 0;
    width: 100%;
    background: transparent;
}

.volnteer-form input[type="email"] ~ .wpcf7-not-valid-tip,
.volnteer-form input[type="tel"] ~ .wpcf7-not-valid-tip,
.volnteer-form input#cnic-reg ~ .wpcf7-not-valid-tip {
    display: none;
}

.volnteer-form .wpcf7-not-valid-tip {
    margin: 0;
    color: #dc3232;
    font-size: 14px;
    font-weight: 300;
}

.volnteer-form .form-input p.error-message.show {
    display: block;
}

.volnteer-form .cols2 {
    display: flex;
    gap: 12px;
}

.volnteer-form textarea {
    max-height: 120px;
}

@media (max-width: 530px) {
    .volnteer-form .cols2 {
        flex-direction: column;
    }
}


/* Shared validation feedback for every Contact Form 7 form. */
.wpcf7 .ido-validation-error {
    margin: 0;
    color: #dc3232;
    font-size: 14px;
    font-weight: 300;
    display: none;
}

.wpcf7 .ido-validation-error.show {
    display: block;
}

.wpcf7 input[aria-invalid="true"],
.wpcf7 textarea[aria-invalid="true"],
.wpcf7 select[aria-invalid="true"] {
    border-color: #dc3232;
}
