.gwcf-form {
    --gwcf-label: #1f2937;
    --gwcf-border: #d1d5db;
    --gwcf-focus: #2563eb;
    --gwcf-button-bg: #111827;
    --gwcf-button-text: #fff;
    --gwcf-button-hover: #374151;
    display: grid;
    gap: 18px;
    width: 100%;
}

.gwcf-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gwcf-field {
    display: grid;
    gap: 7px;
}

.gwcf-field--full {
    grid-column: 1 / -1;
}

.gwcf-field--half {
    grid-column: span 1;
}

.gwcf-field label,
.gwcf-checkbox span {
    color: var(--gwcf-label);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.gwcf-field input,
.gwcf-field select,
.gwcf-field textarea {
    background: #fff;
    border: 1px solid var(--gwcf-border);
    border-radius: 6px;
    box-sizing: border-box;
    color: #111827;
    font: inherit;
    min-height: 46px;
    padding: 10px 12px;
    width: 100%;
}

.gwcf-field textarea {
    min-height: 130px;
    resize: vertical;
}

.gwcf-field input:focus,
.gwcf-field select:focus,
.gwcf-field textarea:focus {
    border-color: var(--gwcf-focus);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--gwcf-focus) 20%, transparent);
    outline: none;
}

.gwcf-checkbox {
    align-items: flex-start;
    display: flex;
    gap: 10px;
}

.gwcf-checkbox input {
    flex: 0 0 auto;
    margin-top: 3px;
    min-height: auto;
    width: auto;
}

.gwcf-recaptcha {
    min-height: 78px;
}

.gwcf-form .gwcf-submit {
    align-self: start;
    background: var(--gwcf-button-bg);
    border: 0;
    border-radius: 6px;
    color: var(--gwcf-button-text);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    min-height: 46px;
    max-width: 100%;
    padding: 12px 22px;
    transition: background-color .18s ease, transform .18s ease;
    width: var(--gwcf-button-width, auto) !important;
}

.gwcf-form.gwcf-form--button-left .gwcf-submit {
    justify-self: start;
}

.gwcf-form.gwcf-form--button-right .gwcf-submit {
    justify-self: end;
}

.gwcf-form .gwcf-submit:hover,
.gwcf-form .gwcf-submit:focus {
    background: var(--gwcf-button-hover);
}

.gwcf-form .gwcf-submit:active {
    transform: translateY(1px);
}

.gwcf-message {
    border-radius: 6px;
    padding: 12px 14px;
}

.gwcf-message p {
    margin: 0;
}

.gwcf-message--success {
    background: #d1fae5;
    color: #065f46;
}

.gwcf-message--error {
    background: #fee2e2;
    color: #991b1b;
}

.gwcf-hp {
    height: 0;
    left: -10000px;
    overflow: hidden;
    position: absolute;
    width: 0;
}

@media (max-width: 720px) {
    .gwcf-grid {
        grid-template-columns: 1fr;
    }

    .gwcf-field--half {
        grid-column: 1 / -1;
    }
}

.gwcf-checkbox-group { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 8px; }
.gwcf-checkbox-group legend { color: var(--gwcf-label); font-size: 15px; font-weight: 700; padding: 0; margin-bottom: 8px; }
.gwcf-checkbox-hint, .gwcf-file-hint { font-size: 13px; margin: 0 0 7px; color: var(--gwcf-label); }

/* Consistent single-line controls and a theme-independent dropdown indicator. */
.gwcf-form .gwcf-field input[type="text"],
.gwcf-form .gwcf-field input[type="email"],
.gwcf-form .gwcf-field input[type="tel"],
.gwcf-form .gwcf-field select {
    box-sizing: border-box;
    height: 46px;
    min-height: 46px;
    padding-top: 0;
    padding-bottom: 0;
    line-height: normal;
}
.gwcf-form .gwcf-field select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m5 7.5 5 5 5-5' stroke='%23475569' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px 18px;
    padding-right: 40px;
    cursor: pointer;
}
@media (forced-colors: active) {
    .gwcf-form .gwcf-field select { appearance: auto; background-image: none; }
}

.gwcf-form .gwcf-privacy-notice { margin: 12px 0 0; font-size: 12px; line-height: 1.6; color: #64748b; }
.gwcf-form .gwcf-privacy-notice a { color: #204ce5; text-decoration: underline; text-underline-offset: 2px; }
.gwcf-form .gwcf-privacy-notice a:focus-visible { outline: 2px solid #204ce5; outline-offset: 3px; }

.gwcf-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
