.rwps-job-form-page,
.rwps-job-form-page body {
    background: #f6f7fb;
}

.rwps-job-form-page header,
.rwps-job-form-page #masthead,
.rwps-job-form-page .site-header,
.rwps-job-form-page .page-header,
.rwps-job-form-page .entry-header,
.rwps-job-form-page .elementor-location-header,
.rwps-job-form-page footer,
.rwps-job-form-page #colophon,
.rwps-job-form-page .site-footer,
.rwps-job-form-page .elementor-location-footer,
.rwps-job-form-page .post-thumbnail,
.rwps-job-form-page .entry-title,
.rwps-job-form-page .page-title {
    display: none !important;
}

.rwps-job-form-page .site,
.rwps-job-form-page .site-content,
.rwps-job-form-page .content-area,
.rwps-job-form-page .site-main,
.rwps-job-form-page .entry-content,
.rwps-job-form-page .elementor-widget-container,
.rwps-job-form-page .elementor-section,
.rwps-job-form-page .elementor-container,
.rwps-job-form-page .elementor-column,
.rwps-job-form-page .elementor-column-wrap,
.rwps-job-form-page .elementor-element,
.rwps-job-form-page main {
    padding-top: 0 !important;
}

.rwps-job-form-wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 28px 18px 40px;
    box-sizing: border-box;
}

.rwps-job-form-card {
    background: #ffffff;
    border: 1px solid #eceff3;
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.06);
    box-sizing: border-box;
}

.rwps-job-form-header {
    margin-bottom: 10px;
}

.rwps-job-form-header-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 24px;
}

.rwps-job-form-logo {
    max-width: min(280px, 80vw);
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

.rwps-alert {
    border-radius: 16px;
    padding: 14px 16px;
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.55;
}

.rwps-alert-success {
    background: #edfdf4;
    border: 1px solid #c7f3d8;
    color: #166534;
}

.rwps-alert-error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #be123c;
}

.rwps-job-form {
    display: block;
}

.rwps-section-header {
    margin: 28px 0 14px;
}

.rwps-section-header:first-child {
    margin-top: 0;
}

.rwps-section-header h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
    color: #121826;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef2f7;
}

.rwps-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
}

.rwps-grid-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.rwps-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rwps-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rwps-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.rwps-driver-license-details[hidden] {
    display: none !important;
}

.rwps-field {
    min-width: 0;
}

.rwps-col-span-2 {
    grid-column: span 2;
}

.rwps-field label {
    display: block;
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    color: #344054;
}

.rwps-field input,
.rwps-field select,
.rwps-field textarea,
.rwps-job-form input[type="text"],
.rwps-job-form input[type="email"],
.rwps-job-form input[type="tel"],
.rwps-job-form input[type="date"],
.rwps-job-form input[type="number"],
.rwps-job-form select,
.rwps-job-form textarea {
    width: 100% !important;
    min-height: 52px;
    border: 1px solid #d9dee7 !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: none !important;
    outline: none;
    padding: 0 16px;
    color: #111827;
    font-size: 15px;
    font-family: inherit;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.rwps-field textarea,
.rwps-job-form textarea {
    min-height: 128px;
    padding: 14px 16px;
    resize: vertical;
}

.rwps-field input[type="file"],
.rwps-job-form input[type="file"] {
    padding: 12px 16px;
    min-height: 56px;
    line-height: 1.35;
}

.rwps-file-hint {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.45;
    color: #6b7280;
}

.rwps-field input:focus,
.rwps-field select:focus,
.rwps-field textarea:focus,
.rwps-job-form input:focus,
.rwps-job-form select:focus,
.rwps-job-form textarea:focus {
    border-color: #f97316 !important;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12) !important;
}

.rwps-subsection {
    background: #fafbfc;
    border: 1px solid #eceff3;
    border-radius: 20px;
    padding: 18px;
    margin-bottom: 18px;
}

.rwps-subsection-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 14px;
}

.rwps-attention-box {
    background: #fff8f1;
    border: 1px solid #fed7aa;
    border-radius: 20px;
    padding: 18px;
    margin: 24px 0 0;
}

.rwps-attention-box strong {
    display: block;
    color: #9a3412;
    font-size: 16px;
    margin-bottom: 10px;
}

.rwps-attention-box ol {
    margin: 0 0 16px 18px;
    padding: 0;
    color: #7c2d12;
}

.rwps-attention-box li {
    margin-bottom: 8px;
    line-height: 1.55;
}

.rwps-lgpd-text {
    color: #7c2d12;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 16px;
}

.rwps-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.55;
}

.rwps-checkbox input[type="checkbox"] {
    width: 18px !important;
    height: 18px;
    min-height: 18px;
    margin-top: 2px;
    border-radius: 6px !important;
    padding: 0;
}

.rwps-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 24px;
    box-shadow: 0 16px 40px rgba(249, 115, 22, 0.24);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.rwps-submit-button:hover,
.rwps-submit-button:focus {
    transform: translateY(-1px);
    box-shadow: 0 18px 42px rgba(249, 115, 22, 0.28);
    opacity: .98;
}

@media (max-width: 980px) {
    .rwps-grid-4,
    .rwps-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .rwps-job-form-wrap {
        padding: 16px 12px 24px;
    }

    .rwps-job-form-card {
        padding: 18px;
        border-radius: 18px;
    }

    .rwps-grid-4,
    .rwps-grid-3,
    .rwps-grid-2 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .rwps-col-span-2 {
        grid-column: span 1;
    }

    .rwps-field input,
    .rwps-field select,
    .rwps-field textarea,
    .rwps-job-form input,
    .rwps-job-form select,
    .rwps-job-form textarea {
        min-height: 50px;
        font-size: 15px;
    }
}


.rwps-field-error {
    display: none;
    margin-top: 7px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    color: #dc2626;
}

.rwps-field-error:not(:empty) {
    display: block;
}

.rwps-checkbox-error {
    margin-top: 10px;
}

.rwps-field.rwps-invalid input,
.rwps-field.rwps-invalid select,
.rwps-field.rwps-invalid textarea,
.rwps-job-form .rwps-invalid input,
.rwps-job-form .rwps-invalid select,
.rwps-job-form .rwps-invalid textarea {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12) !important;
}

.rwps-attention-box.rwps-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08);
}

.rwps-submit-button,
.rwps-job-form button[type="submit"].rwps-submit-button,
.rwps-job-form input[type="submit"].rwps-submit-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 56px !important;
    padding: 0 22px !important;
    border: 1px solid #ea580c !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    margin-top: 24px !important;
    box-shadow: 0 16px 40px rgba(249, 115, 22, 0.24) !important;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.rwps-submit-button:hover,
.rwps-submit-button:focus,
.rwps-job-form button[type="submit"].rwps-submit-button:hover,
.rwps-job-form button[type="submit"].rwps-submit-button:focus {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 18px 42px rgba(249, 115, 22, 0.28) !important;
    opacity: .98;
}

.rwps-submit-button:disabled {
    opacity: .75 !important;
    cursor: wait !important;
    transform: none !important;
}
