/* Placeholder text */
::placeholder {
    color: #ffd700; /* Gold color for visibility */
    font-weight: 400;
    font-size: 16px;
}

/* General form container */
.wpcf7 {
	margin-top: 2rem;
    max-width: 768px; /* Keeps form from stretching too wide on desktop */
    margin: 0 auto; /* Centers the form on the page */
	box-sizing: border-box;
	min-height: 44px
}

/* Form fields (input, textarea, select) */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 12px 14px;
    background-color: #1c0a4f; /* Deep purple background */
    border: 1px solid #c655c2; /* Neon pink border */
    color: #ffffff; /* White text for contrast */
    border-radius: 6px;
    box-shadow: 0 0 5px rgba(198, 85, 194, 0.4); /* Subtle pink glow */
    transition: all 0.3s ease-in-out;
}

.wpcf7-form select {
    line-height: 1.4; 
    height: auto; 
    padding: 12px 14px; 
    display: flex; 
    align-items: center; 
    min-height: 48px; 
    vertical-align: top; 
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    overflow: visible;
}

/* Field focus state with neon glow effect */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none;
    box-shadow: 0 0 10px #c655c2; /* Stronger neon pink glow */
    border-color: #c655c2;
    background-color: #1c0a4f;
}

/* Your message textarea */
.wpcf7 textarea {
    min-height: 200px;
    resize: vertical; /* Allows users to resize the text area vertically */
}

/* Submit button */
.wpcf7-form input[type="submit"] {
    display: block;
    width: 100%;
    max-width: 300px; /* Limits the button's size on desktop */
    margin: 20px auto 0 auto; /* Centers the button horizontally */
    background-color: #00ffe0;
    color: #1c0a4f;
    border: 2px solid #00ffe0;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 0 8px #00ffe0;
    transition: all 0.3s ease-in-out;
}

p:has(input[type="submit"]) {
    display: flex;
    justify-content: center;
}

/* Submit button hover effect */
.wpcf7-form input[type="submit"]:hover {
    background-color: #66fff2;
    border-color: #66fff2;
    color: #0e0e0e; /* Near-black for a punchy contrast */
    box-shadow: 0 0 12px #66fff2;
}

/* Validation and success messages */
.wpcf7-response-output {
    margin-top: 20px;
    padding: 12px;
    font-weight: bold;
    border-radius: 6px;
}

/* Error messages */
.wpcf7-validation-errors {
    background-color: #f30;
    color: #fff;
    border: 2px solid #f30;
}


@media (max-width: 768px) {
    /* Contact Form 7 container */
    .wpcf7 {
        padding: 0 20px;
    }

    /* Field wrapper spacing */
    .wpcf7-form-control-wrap {
        margin-bottom: 10px;
    }

    /* Input fields, textarea, and select dropdown */
    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"],
    .wpcf7-form textarea,
    .wpcf7-form select {
        width: 100%;
        padding: 12px 10px;
        line-height: 1.4;
        min-height: 45px;
    }

    /* Submit button */
    .wpcf7-form input[type="submit"] {
        width: 100%;
        padding: 10px 20px;
        font-size: 1rem;
    }
}