/* Permaculture 2012 contact / enquiry form */

.pc2012-contact-form__hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.pc2012-contact-form--page,
.pc2012-contact-form--quote {
    max-width: 520px;
    margin: 0 auto 24px;
    padding: 20px 22px 24px;
    background: linear-gradient(180deg, #eef6e8 0%, #e3f0db 100%);
    border: 2px solid #6b8f5c;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(40, 70, 30, 0.12);
}

.pc2012-contact-form__title {
    margin: 0 0 16px;
    font-size: 1.65rem;
    line-height: 1.2;
    color: #2f5a24;
    text-align: center;
}

.pc2012-contact-form__notice {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 0.95rem;
}

.pc2012-contact-form__notice--success {
    background: #d9efd1;
    border: 1px solid #6b8f5c;
    color: #234019;
}

.pc2012-contact-form__notice--error {
    background: #fde8e8;
    border: 1px solid #c44;
    color: #611;
}

.pc2012-contact-form__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pc2012-contact-form__form input[type="text"],
.pc2012-contact-form__form input[type="email"],
.pc2012-contact-form__form input[type="tel"],
.pc2012-contact-form__form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #9bb38f;
    border-radius: 6px;
    background: #fff;
    color: #22331c;
    font: inherit;
    line-height: 1.4;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pc2012-contact-form__form input::placeholder,
.pc2012-contact-form__form textarea::placeholder {
    color: #6a7f62;
    opacity: 1;
}

.pc2012-contact-form__form input:focus,
.pc2012-contact-form__form textarea:focus {
    outline: none;
    border-color: #4a7a3a;
    box-shadow: 0 0 0 3px rgba(74, 122, 58, 0.18);
}

.pc2012-contact-form__form textarea {
    min-height: 120px;
    resize: vertical;
}

.pc2012-contact-form__form .form_captcha {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid #b8ccb0;
    border-radius: 8px;
}

.pc2012-contact-form__form .form_captcha_Image_holder {
    display: block;
    border: 1px solid #9bb38f;
    border-radius: 4px;
    background: #fff;
}

.pc2012-contact-form__captcha-refresh {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #9bb38f;
    border-radius: 6px;
    background: #fff;
    color: #2f5a24;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.pc2012-contact-form__captcha-refresh:hover {
    background: #f4faf0;
}

.pc2012-contact-form__form .form_captcha_label_holder {
    flex: 1 1 100%;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2f5a24;
}

.pc2012-contact-form__form .form_captcha_control_holder {
    flex: 1 1 160px;
    min-width: 140px;
}

.pc2012-contact-form__form input[type="submit"] {
    align-self: flex-start;
    margin-top: 4px;
    padding: 10px 22px;
    border: none;
    border-radius: 6px;
    background: #4a7a3a;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.05s ease;
}

.pc2012-contact-form__form input[type="submit"]:hover {
    background: #3d6630;
}

.pc2012-contact-form__form input[type="submit"]:active {
    transform: translateY(1px);
}

@media (max-width: 767px) {
    .pc2012-contact-form--page,
    .pc2012-contact-form--quote {
        padding: 16px;
    }

    .pc2012-contact-form__form .form_captcha {
        flex-direction: column;
        align-items: stretch;
    }

    .pc2012-contact-form__form input[type="submit"] {
        width: 100%;
    }
}
