/*!
Theme Name: maaike-dev
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: maaike-dev
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

maaike-dev is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* Form inputs */
.input-tailwind {
    width: 100%;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    color: #333333;
    margin-bottom: 1rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    font-size: 1.05rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    outline: none;
    display: block;
    box-sizing: border-box;
}
.input-tailwind::placeholder {
    color: #9ca3af;
}
.input-tailwind:focus {
    border-color: #8AB2A6;
    box-shadow: 0 0 0 2px rgba(138, 178, 166, 0.4);
    outline: none;
}
.input-tailwind[type="text"],
.input-tailwind[type="email"] {
    min-height: 44px;
}
textarea.input-tailwind {
    min-height: 160px;
    resize: vertical;
}

.prose p {
    margin-bottom: 1.5em;
}

/* CF7 form elements */
.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}
.wpcf7 input.wpcf7-form-control,
.wpcf7 textarea.wpcf7-form-control {
    width: 100%;
    box-sizing: border-box;
}
.wpcf7 input[type="submit"] {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    border: none;
    display: block;
    width: 100%;
    text-align: center;
}
.wpcf7 h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Contact form wrapper */
.contact-form-wrapper .wpcf7 form > .bg-sand {
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
@media (min-width: 768px) {
    .contact-form-wrapper .wpcf7 form > .bg-sand {
        padding: 2.5rem;
    }
}

/* CF7 response output — basis */
.wpcf7-response-output {
    margin: 1rem 0 0;
    padding: 1em 1.25em;
    border: none !important;
    border-radius: 0.75rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
}

/* Verzonden: verberg de formulierinhoud en toon een succeskaart */
.wpcf7-form.sent > *:not(.wpcf7-response-output) {
    display: none !important;
}
.wpcf7-form.sent {
    display: flex !important;
}
.wpcf7-form.sent .wpcf7-response-output {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-height: 400px;
    padding: 3rem 2rem;
    margin: 0;
    background-color: #F0F7F0;
    border-radius: 1rem;
    color: #333333;
    font-size: 1.05rem;
    line-height: 1.6;
}
.wpcf7-form.sent .wpcf7-response-output::before {
    content: '';
    display: block;
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    background-color: rgba(138, 178, 166, 0.2);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238AB2A6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-size: 38px;
    background-repeat: no-repeat;
    background-position: center;
}

/* Fout bij verzenden */
.wpcf7-mail-sent-ng,
.wpcf7-aborted {
    background-color: rgba(220, 53, 69, 0.08);
    color: #9b3a3a;
}

/* Validatiefouten */
.wpcf7-spam-blocked,
.wpcf7-validation-errors {
    background-color: rgba(255, 193, 7, 0.1);
    color: #7a6020;
}