.pcaf-shell,
.pcaf-shell * {
    box-sizing: border-box;
}

.pcaf-shell {
    width: 100%;
    max-width: 742px;
    margin: 0 auto;
    padding: 34px 41px;
    border: 1px solid rgba(31, 83, 85, .72);
    border-radius: 17px;
    background:
        radial-gradient(circle at 12% 46%, rgba(87, 42, 84, .11), transparent 38%),
        radial-gradient(circle at 88% 84%, rgba(17, 82, 86, .11), transparent 32%),
        linear-gradient(145deg, #1a1a1a 0%, #191919 65%, #172021 100%);
    color: #e8e8e8;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.35;
}

.pcaf-form {
    margin: 0;
}

.pcaf-grid {
    display: grid;
    gap: 11px;
}

.pcaf-grid-2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.pcaf-field,
.pcaf-upload-wrap {
    display: block;
    margin: 0 0 10px;
}

.pcaf-field input,
.pcaf-field select,
.pcaf-field textarea {
    display: block;
    width: 100%;
    margin: 0;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 10px;
    outline: none;
    background: #4b4d4d;
    color: #ededed;
    font: inherit;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: .01em;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.pcaf-field input,
.pcaf-field select {
    height: 61px;
    padding: 0 20px;
}

.pcaf-field textarea {
    min-height: 226px;
    resize: vertical;
    padding: 18px 20px;
}

.pcaf-field input::placeholder,
.pcaf-field textarea::placeholder {
    color: #d8d8d8;
    opacity: 1;
}

.pcaf-field input:focus,
.pcaf-field select:focus,
.pcaf-field textarea:focus,
.pcaf-dropzone:focus-visible {
    border-color: rgba(68, 183, 188, .58);
    box-shadow: 0 0 0 2px rgba(40, 128, 132, .18);
}

.pcaf-select-wrap {
    position: relative;
}

.pcaf-select-wrap::after {
    content: "";
    position: absolute;
    top: 24px;
    right: 22px;
    width: 9px;
    height: 9px;
    border-right: 1.5px solid #e7e7e7;
    border-bottom: 1.5px solid #e7e7e7;
    transform: rotate(45deg);
    pointer-events: none;
}

.pcaf-field select {
    padding-right: 48px;
    appearance: none;
    -webkit-appearance: none;
    color: #dedede;
}

.pcaf-field select:invalid {
    color: #d8d8d8;
}

.pcaf-field select option {
    color: #111;
    background: #fff;
}

.pcaf-upload-wrap {
    margin-bottom: 10px;
}

.pcaf-file-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.pcaf-dropzone {
    width: 100%;
    min-height: 289px;
    margin: 0;
    padding: 36px 20px 27px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 10px;
    background: #4b4d4d;
    color: #e7e7e7;
    cursor: pointer;
    font: inherit;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.pcaf-dropzone:hover,
.pcaf-dropzone.is-dragover {
    border-color: rgba(255,255,255,.34);
    background: #505252;
}

.pcaf-file-icon {
    display: inline-flex;
    margin: 0 0 12px;
    color: #ededed;
}

.pcaf-upload-title {
    display: block;
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: .015em;
}

.pcaf-upload-copy {
    display: block;
    margin: 0 0 4px;
    color: #bcbdbd;
    font-size: 17px;
    font-weight: 300;
    letter-spacing: .01em;
}

.pcaf-upload-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 132px;
    height: 43px;
    margin-top: 14px;
    padding: 0 16px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 3px;
    color: #ececec;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .05em;
}

.pcaf-upload-button > span {
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
    transform: translateY(-1px);
}

.pcaf-file-name {
    display: none;
    max-width: 100%;
    margin-top: 12px;
    color: #fff;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.pcaf-file-name.is-visible {
    display: block;
}

.pcaf-submit {
    width: 100%;
    min-height: 50px;
    margin-top: 15px;
    border: 0;
    border-radius: 2px;
    background: #fff;
    color: #111;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font: inherit;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .015em;
    transition: transform .14s ease, opacity .14s ease, background .14s ease;
}

.pcaf-submit-arrow {
    display: block;
    width: 13px;
    height: 13px;
    object-fit: contain;
    flex: 0 0 auto;
}

.pcaf-submit:hover {
    background: #f1f1f1;
}

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

.pcaf-submit:disabled {
    opacity: .65;
    cursor: wait;
}

.pcaf-message {
    display: none;
    margin-top: 12px;
    padding: 11px 13px;
    border-radius: 7px;
    font-size: 14px;
}

.pcaf-message.is-success,
.pcaf-message.is-error {
    display: block;
}

.pcaf-message.is-success {
    background: rgba(16, 185, 129, .14);
    color: #c8f7e5;
    border: 1px solid rgba(16, 185, 129, .3);
}

.pcaf-message.is-error {
    background: rgba(239, 68, 68, .12);
    color: #ffd0d0;
    border: 1px solid rgba(239, 68, 68, .28);
}

.pcaf-hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.pcaf-shell .screen-reader-text {
    border: 0;
    clip: rect(1px,1px,1px,1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

@media (max-width: 640px) {
    .pcaf-shell {
        padding: 24px 20px;
        border-radius: 14px;
    }

    .pcaf-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .pcaf-field input,
    .pcaf-field select,
    .pcaf-field textarea,
    .pcaf-upload-title,
    .pcaf-upload-copy {
        font-size: 16px;
    }

    .pcaf-dropzone {
        min-height: 250px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .pcaf-field textarea {
        min-height: 190px;
    }
}

/* Contact form — compact, Figma-matched styling. Career form styles above are unchanged. */
.pccf-shell,
.pccf-shell *,
.pccf-shell *::before,
.pccf-shell *::after {
    box-sizing: border-box;
}

.pccf-shell {
    position: relative;
    isolation: isolate;
    width: 100% !important;
    max-width: 570px !important;
    margin: 0 auto !important;
    padding: 27px 31px !important;
    overflow: hidden;
    border: 1px solid rgba(31, 83, 85, .65) !important;
    border-radius: 13px !important;
    background: linear-gradient(145deg, #1a1a1a 0%, #171919 66%, #142021 100%) !important;
    color: #e8e8e8 !important;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    text-align: left !important;
}

.pccf-shell::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 12% 58%, rgba(85, 41, 84, .17) 0 6%, transparent 32%),
        radial-gradient(ellipse at 33% 89%, rgba(25, 83, 83, .14) 0 7%, transparent 30%),
        radial-gradient(ellipse at 89% 84%, rgba(24, 78, 78, .10), transparent 32%);
}

.pccf-shell .pccf-form {
    position: relative;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

.pccf-shell .pccf-grid {
    display: grid !important;
    gap: 8px !important;
    width: 100% !important;
}

.pccf-shell .pccf-grid-2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
}

.pccf-shell .pccf-field {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    color: inherit !important;
    font: inherit !important;
    line-height: inherit !important;
}

.pccf-shell .pccf-field > input,
.pccf-shell .pccf-field > textarea {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 8px !important;
    outline: none !important;
    background: #4b4d4d !important;
    background-image: none !important;
    color: #ededed !important;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 13px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    letter-spacing: .01em !important;
    line-height: 1.35 !important;
    text-transform: none !important;
    text-indent: 0 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025) !important;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.pccf-shell .pccf-field > input {
    height: 47px !important;
    min-height: 47px !important;
    padding: 0 16px !important;
}

.pccf-shell .pccf-field > textarea {
    height: 175px !important;
    min-height: 175px !important;
    padding: 16px !important;
    resize: vertical !important;
    overflow: auto;
}

.pccf-shell .pccf-field > input:focus,
.pccf-shell .pccf-field > textarea:focus {
    border-color: rgba(68, 183, 188, .58) !important;
    box-shadow: 0 0 0 2px rgba(40, 128, 132, .18) !important;
}

.pccf-shell .pccf-placeholder {
    position: absolute !important;
    z-index: 1;
    left: 17px !important;
    top: 50% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(-50%) !important;
    color: #dcdcdc !important;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 13px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    letter-spacing: .01em !important;
    line-height: 1 !important;
    text-transform: none !important;
    pointer-events: none;
    transition: opacity .12s ease;
}

.pccf-shell .pccf-placeholder b {
    color: #ef1aa4 !important;
    font: inherit !important;
    font-weight: 500 !important;
}

.pccf-shell .pccf-placeholder-textarea {
    top: 19px !important;
    transform: none !important;
}

.pccf-shell .pccf-field > input:focus + .pccf-placeholder,
.pccf-shell .pccf-field > input:not(:placeholder-shown) + .pccf-placeholder,
.pccf-shell .pccf-field > textarea:focus + .pccf-placeholder,
.pccf-shell .pccf-field > textarea:not(:placeholder-shown) + .pccf-placeholder {
    opacity: 0;
}

.pccf-shell .pccf-message-field {
    margin-bottom: 0 !important;
}

.pccf-shell .pccf-submit {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: 100% !important;
    max-width: none !important;
    height: 39px !important;
    min-height: 39px !important;
    margin: 19px 0 0 !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 2px !important;
    background: #fff !important;
    background-image: none !important;
    color: #0d0d0d !important;
    cursor: pointer;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important;
    font-size: 13px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    letter-spacing: .015em !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;
    box-shadow: none !important;
    transition: transform .14s ease, opacity .14s ease, background .14s ease;
}

.pccf-shell .pccf-submit-arrow {
    display: block !important;
    width: 12px !important;
    height: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain;
    flex: 0 0 auto;
}

.pccf-shell .pccf-submit:hover,
.pccf-shell .pccf-submit:focus {
    background: #f3f3f3 !important;
    color: #0d0d0d !important;
}

.pccf-shell .pccf-submit:active {
    transform: translateY(1px);
}

.pccf-shell .pccf-submit:disabled {
    opacity: .65;
    cursor: wait;
}

.pccf-shell .pccf-message {
    display: none;
    margin-top: 12px;
    padding: 11px 13px;
    border-radius: 7px;
    font-size: 13px;
}

.pccf-shell .pccf-message.is-success,
.pccf-shell .pccf-message.is-error { display: block; }
.pccf-shell .pccf-message.is-success { background: rgba(16,185,129,.14); color: #c8f7e5; border: 1px solid rgba(16,185,129,.3); }
.pccf-shell .pccf-message.is-error { background: rgba(239,68,68,.12); color: #ffd0d0; border: 1px solid rgba(239,68,68,.28); }

.pccf-shell .screen-reader-text {
    border: 0 !important;
    clip: rect(1px,1px,1px,1px) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    word-wrap: normal !important;
}

/* Keep the side-by-side name/email fields on mobile, as in the reference. */
@media (max-width: 360px) {
    .pccf-shell { padding: 24px 18px !important; }
    .pccf-shell .pccf-grid { gap: 7px !important; }
    .pccf-shell .pccf-field > input { padding-left: 12px !important; padding-right: 12px !important; }
    .pccf-shell .pccf-placeholder { left: 13px !important; }
}

/* reCAPTCHA v2 is rendered by Google; only the outer spacing is styled.
   Google requires us not to modify the challenge iframe itself. */
.pcaf-shell .pcaf-recaptcha-row,
.pccf-shell .pccf-recaptcha-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 100%;
    min-height: 80px;
    margin: 9px 0 13px;
    overflow: visible;
}
.pcaf-shell .pcaf-recaptcha-widget,
.pccf-shell .pcaf-recaptcha-widget {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 78px;
}
.pccf-shell .pccf-recaptcha-row + .pccf-submit {
    margin-top: 0 !important;
}
.pcaf-shell .pcaf-recaptcha-row + .pcaf-submit {
    margin-top: 0;
}
