.wph-form-wrap {
    --wph-control-height: 48px;
    background: #fff;
    border: 1px solid #dce6f1;
    border-radius: 12px;
    padding: 32px;
    color: #122e49;
    box-shadow: 0 8px 30px #1437590a;
    max-width: 700px;
    margin: 24px auto;
    font-family: inherit;
}
.wph-form-wrap * { box-sizing: border-box; }
section.wph-form-wrap > h2 { font-size: 25px; line-height: 1.25; margin: 0 0 24px; }
.wph-form { margin: 0; padding: 0; }
.wph-fields { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.wph-fields > * { min-width: 0; }
.wph-span-12 { grid-column: span 12; }
.wph-span-6 { grid-column: span 6; }
.wph-span-4 { grid-column: span 4; }
.wph-form .wph-field > label,
.wph-form .wph-field legend {
    display: block;
    padding: 0;
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.wph-form .wph-field input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
.wph-form .wph-field select,
.wph-form .wph-field textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: var(--wph-control-height);
    min-height: var(--wph-control-height);
    margin: 0;
    padding: 11px 12px;
    border: 1px solid #c9d9e9;
    border-radius: 6px;
    background-color: #fff;
    color: #173750;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}
.wph-form .wph-field select {
    padding: 0 44px 0 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2335506c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px 20px;
}
.wph-form .wph-field textarea { height: auto; min-height: 144px; resize: vertical; }
.wph-form .wph-field input:focus,
.wph-form .wph-field textarea:focus,
.wph-form .wph-field select:focus { outline: 2px solid #87bcff; outline-offset: 2px; }
.wph-form .wph-field fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.wph-form .wph-field .wph-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
}
.wph-form .wph-check + .wph-check { margin-top: 8px; }
.wph-form .wph-check input {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin: 3px 0 0;
    accent-color: #0878f8;
}
.wph-form .wph-field-help { display: block; font-size: 13px; line-height: 20px; color: #637b92; margin-top: 8px; }
.wph-form > button[type=submit] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: var(--wph-control-height);
    margin: 24px 0 0;
    padding: 12px 20px;
    border: 0;
    border-radius: 6px;
    background: #0874ef;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    cursor: pointer;
}
.wph-form > button[type=submit]:hover { background: #005bd0; }
.wph-form > button[type=submit]:focus-visible { outline: 3px solid #efb755; outline-offset: 3px; }
.wph-form a { color: #0874ef; }
.wph-powered { display: block; text-align: center; font-size: 12px; line-height: 20px; color: #637b92; margin-top: 12px; }
.wph-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wph-form .cf-turnstile { margin-top: 24px; }
.wph-success { background: #e3f7eb; color: #156b3c; padding: 18px; border-radius: 7px; margin: 20px 0; }
@media (max-width: 600px) {
    .wph-form-wrap { padding: 22px; }
    .wph-fields > [class*=wph-span-] { grid-column: 1 / -1; }
}
@media (forced-colors: active) {
    .wph-form .wph-field select { appearance: auto; background-image: none; }
}

.wph-form input[type=file]::file-selector-button{background:#edf5ff;color:#0869d5;border:0;border-radius:4px;padding:5px 9px;margin-right:10px;font:inherit;cursor:pointer}.wph-form .wph-field input[type=file]{height:auto;min-height:48px;padding:7px 9px}.wph-upload-status{padding:12px 16px;background:#f3f7fc;border-radius:8px;color:#516c86;font-size:13px}.wph-form .wph-field>small{display:block;margin-top:6px;color:#65768c;font-size:12px}.wph-captcha-status{font-size:13px;color:#b02929}

.wph-form .wph-field input[type=file]{box-sizing:border-box;min-height:56px;height:auto;padding:10px 12px;line-height:32px;vertical-align:middle;}
.wph-form .wph-field input[type=file]::file-selector-button{box-sizing:border-box;height:32px;padding:0 12px;line-height:32px;margin:0 12px 0 0;vertical-align:middle;}
.wph-form .wph-field .wph-upload-status{margin:8px 0 0;padding:10px 12px;line-height:1.5;}

.wph-form .wph-upload-control{position:relative;display:flex;align-items:center;gap:12px;border:1px solid #c6d8e9;border-radius:6px;min-height:56px;padding:10px 12px;box-sizing:border-box;background:#fff;}
.wph-form .wph-upload-control:focus-within{outline:2px solid #087bff;outline-offset:2px;}
.wph-form .wph-upload-control input[type=file]{position:absolute;inset:0;width:100%;height:100%;min-height:0;margin:0;padding:0;opacity:0;cursor:pointer;z-index:1;}
.wph-upload-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:32px;padding:0 12px;background:#edf5ff;color:#0869d5;border-radius:4px;line-height:1.4;}
.wph-upload-name{min-width:0;overflow-wrap:anywhere;line-height:1.4;}
@media(max-width:480px){.wph-form .wph-upload-control{flex-wrap:wrap;gap:8px}.wph-upload-name{flex-basis:100%;font-size:14px}}

.wph-form .wph-upload-thumbnail{width:32px;height:32px;object-fit:contain;flex-shrink:0;align-self:center;border-radius:3px;}
