/* START: CONTACT FORM */
.wpcf7 {
    max-width: 600px;
    margin: 0 auto;
}

/* Form Structure */
.wpcf7 form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Parent Paragraphs and Wrappers */
.wpcf7 form p,
.wpcf7-form-control-wrap {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Label Styling */
.wpcf7 form label {
    margin-bottom: 10px;
    font-weight: bold;
    display: block;
}

/* Inputs, Textareas, Selects */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; /* ensures padding doesn't overflow */
    transition: border-color 0.3s;
	margin-top:7px;
}

/* Focus on Fields */
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    border-color: #333;
    outline: none;
}

/* Submit Button */
.wpcf7 input[type="submit"] {
    background-color: var(--wp--preset--color--button)!important;
    color: #fff;
    padding: 14px 20px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.wpcf7 input[type="submit"]:hover {
    background-color: var(--wp--preset--color--button-hover)!important;
}

/* Validation Error Text */
span.wpcf7-not-valid-tip {
    color: red;
    font-size: 0.9em;
    margin-top: 5px;
    display: block;
}

/* Success and Error Messages */
div.wpcf7-response-output {
    margin-top: 20px;
    padding: 15px 20px;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

div.wpcf7-mail-sent-ok {
    border-color: green;
    background: #eaffea;
    color: green;
}

div.wpcf7-validation-errors {
    border-color: red;
    background: #ffeaea;
    color: red;
}

/* Checkbox and Radio Buttons */
.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
    margin-right: 10px;
}

/* 
input[type="text"],
input[type="email"],
textarea
{
    background-color: #fff;
    color: #000;
    width: 500px;;
} */

/* END: CONTACT FORM */