/* Google Fonts e carregado via wp_enqueue_style no PHP */

:root {
    --wbf-ink: #1c1c1c;
    --wbf-ink-soft: #5a5a5a;
    --wbf-surface: #ffffff;
    --wbf-accent: #0c6d8f;
    --wbf-accent-hover: #0b5166;
    --wbf-accent-2: #f0a500;
    --wbf-border: #e7e3dc;
    --wbf-success: #2e7d32;
    --wbf-success-bg: #e8f7ef;
    --wbf-success-border: #b7e1c8;
    --wbf-error: #8a1f1f;
    --wbf-error-bg: #fff1f1;
    --wbf-error-border: #f3bcbc;
    --wbf-danger: #c0392b;
    --wbf-danger-hover: #a33125;
    --wbf-danger-border: #e59896;
    --wbf-link-on-light: #095f7d;
    --wbf-warning: #8a5a00;
    --wbf-warning-bg: #fff4e0;
    --wbf-warning-border: #f0d7a6;
    --wbf-radius-sm: 10px;
    --wbf-radius-md: 14px;
    --wbf-radius-lg: 20px;
    --wbf-radius-pill: 999px;
    --wbf-shadow-soft: 0 12px 28px rgba(18, 24, 40, 0.08);
    --wbf-shadow-strong: 0 18px 46px rgba(18, 24, 40, 0.14);
    --wbf-space-1: 4px;
    --wbf-space-2: 8px;
    --wbf-space-3: 12px;
    --wbf-space-4: 16px;
    --wbf-space-5: 20px;
    --wbf-space-6: 24px;
    --wbf-space-7: 32px;
    --wbf-font-xs: 12px;
    --wbf-font-sm: 13px;
    --wbf-font-base: 14px;
    --wbf-font-md: 15px;
    --wbf-font-lg: 16px;
    --wbf-font-xl: 18px;
    --wbf-font-2xl: 20px;
    --wbf-focus-ring: 0 0 0 3px rgba(12, 109, 143, 0.18);
}

.wbf-auto-page-wrap {
    margin: 80px 50px !important;
    box-sizing: border-box;
}

.wbf-form {
    font-family: 'Outfit', sans-serif;
    width: 100%;
    max-width: 1920px;
    margin: 32px auto;
    padding: 24px;
    border-radius: 28px;
    border: 1px solid var(--wbf-border);
    background: linear-gradient(180deg, #ffffff 0%, #faf7f1 100%);
    box-shadow: 0 14px 34px rgba(18, 24, 40, 0.06);
}

.wbf-form-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.wbf-form-logo img {
    max-height: 72px;
    width: auto;
}

.wbf-form .wbf-field {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}

.wbf-form .wbf-field.wbf-field-group {
    margin-bottom: 0;
}

.wbf-form .wbf-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.wbf-form .wbf-field-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.wbf-form .wbf-field-row .wbf-field {
    margin-bottom: 0;
}

.wbf-form label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--wbf-ink);
}

.wbf-form input[type="text"],
.wbf-form input[type="email"],
.wbf-form input[type="date"],
.wbf-form input[type="number"],
.wbf-form input[type="tel"],
.wbf-form input[type="file"],
.wbf-form select,
.wbf-form textarea {
    padding: 12px 14px;
    border: 1px solid var(--wbf-border);
    border-radius: 14px;
    background: #ffffff;
    color: var(--wbf-ink);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.wbf-form input:focus,
.wbf-form select:focus,
.wbf-form textarea:focus {
    outline: none;
    border-color: var(--wbf-accent);
    box-shadow: 0 0 0 3px rgba(12, 109, 143, 0.15);
    background: #fafbfc;
}

.wbf-form .wbf-radio-group,
.wbf-form .wbf-checkbox-group {
    display: grid;
    gap: 8px;
}

.wbf-form .wbf-radio-group label,
.wbf-form .wbf-checkbox-group label {
    font-weight: 400;
    color: var(--wbf-ink-soft);
    cursor: pointer;
    transition: color 0.2s ease;
}

.wbf-form .wbf-radio-group input[type="radio"],
.wbf-form .wbf-checkbox-group input[type="checkbox"] {
    cursor: pointer;
    margin-right: 6px;
    accent-color: var(--wbf-accent);
}

.wbf-form .wbf-submit {
    padding: 14px 28px;
    background: var(--wbf-btn-bg, #0c6d8f);
    color: var(--wbf-btn-text, #ffffff);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    letter-spacing: 0.2px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    display: inline-block;
    text-align: center;
}

.wbf-form .wbf-submit:hover {
    background: var(--wbf-btn-bg-hover, #0b5166);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(12, 109, 143, 0.2);
}

.wbf-form .wbf-submit:active {
    transform: translateY(0);
}

.wbf-form .wbf-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.wbf-panel button:disabled,
.wbf-panel .wbf-panel-action[aria-disabled="true"],
.wbf-panel .wbf-panel-export[aria-disabled="true"],
.wbf-jobs button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
    transform: none;
}

.wbf-form .wbf-intro {
    margin-bottom: 18px;
    color: var(--wbf-ink-soft);
    line-height: 1.6;
}

.wbf-form .wbf-success {
    margin-bottom: 16px;
    padding: 12px 14px;
    background: #e8f7ef;
    border: 1px solid #b7e1c8;
    border-radius: 14px;
}

.wbf-form .wbf-form-error {
    margin-bottom: 16px;
    padding: 12px 14px;
    background: #fff1f1;
    border: 1px solid #f3bcbc;
    border-radius: 14px;
    color: #8a1f1f;
    font-weight: 600;
}

.wbf-job-summary {
    background: #fff4e0;
    padding: 14px;
    border: 1px solid #f0d7a6;
    border-radius: 16px;
    color: #5b3a00;
}

.wbf-step-nav {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 10px;
    align-items: center;
    margin-top: 16px;
}

.wbf-step-progress {
    font-weight: 600;
    color: var(--wbf-ink-soft);
}

.wbf-step-prev,
.wbf-step-next {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--wbf-border);
    background: #ffffff;
    color: var(--wbf-ink);
    cursor: pointer;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.wbf-step-prev:hover,
.wbf-step-next:hover {
    background: #f7f2ea;
    border-color: var(--wbf-accent);
    color: var(--wbf-accent);
}

.wbf-step-prev:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wbf-error {
    margin-top: 8px;
    color: #b00020;
    font-size: 14px;
}

.wbf-consent-link {
    color: var(--wbf-accent);
    font-weight: 600;
    text-decoration: none;
}

.wbf-initial-consent-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
    z-index: 10000;
}

.wbf-initial-consent-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.wbf-initial-consent-dialog {
    position: relative;
    max-width: 520px;
    width: 100%;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    background: #ffffff;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.wbf-initial-consent-dialog h3 {
    margin: 0 0 16px 0;
    font-size: 20px;
    color: var(--wbf-ink);
}

.wbf-initial-consent-dialog p {
    margin: 0 0 12px 0;
    color: var(--wbf-ink-soft);
    line-height: 1.6;
    font-size: 14px;
}

.wbf-initial-consent-dialog p:last-of-type {
    margin-bottom: 20px;
}

.wbf-privacy-link,
.wbf-privacy-link-modal {
    color: var(--wbf-accent);
    font-weight: 600;
    text-decoration: none;
    transition: text-decoration 0.2s ease;
}

.wbf-privacy-link:hover,
.wbf-privacy-link-modal:hover {
    color: var(--wbf-link-on-light);
    text-decoration: underline;
}

.wbf-initial-consent-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.wbf-initial-consent-accept,
.wbf-initial-consent-reject {
    padding: 12px 20px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    transition: all 0.2s ease;
    flex: 1;
}

.wbf-initial-consent-dialog .wbf-initial-consent-accept {
    background: var(--wbf-accent, #0c6d8f);
    color: #ffffff;
    border: 1px solid var(--wbf-accent, #0c6d8f);
}

.wbf-initial-consent-dialog .wbf-initial-consent-accept:hover {
    background: var(--wbf-accent-hover);
    border-color: var(--wbf-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(12, 109, 143, 0.2);
}

.wbf-initial-consent-dialog .wbf-initial-consent-accept:active {
    transform: translateY(0);
}

.wbf-initial-consent-dialog .wbf-initial-consent-reject {
    background: #ebe8e4;
    color: var(--wbf-ink);
    border: 1px solid var(--wbf-border);
}

.wbf-initial-consent-dialog .wbf-initial-consent-reject:hover {
    background: #e0dcd5;
    color: var(--wbf-ink);
    border-color: var(--wbf-accent);
}

.wbf-privacy-policy-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 10010;
}

.wbf-privacy-policy-modal.is-open {
    display: flex;
}

.wbf-privacy-policy-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
}

.wbf-privacy-policy-dialog {
    position: relative;
    max-width: 720px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 22px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1;
    font-family: 'Outfit', sans-serif;
    color: var(--wbf-ink);
}

.wbf-privacy-policy-dialog h2 {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--wbf-ink);
}

.wbf-privacy-policy-dialog h3 {
    margin: 24px 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--wbf-ink);
}

.wbf-privacy-policy-dialog p {
    margin: 0 0 14px 0;
    line-height: 1.6;
    font-size: 14px;
    color: var(--wbf-ink-soft);
}

.wbf-privacy-policy-dialog ul {
    margin: 12px 0 16px 20px;
    padding: 0;
    list-style: disc;
}

.wbf-privacy-policy-dialog li {
    margin: 6px 0;
    line-height: 1.6;
    font-size: 14px;
    color: var(--wbf-ink-soft);
}

.wbf-privacy-policy-close {
    margin-top: 24px;
    padding: 12px 24px;
    border-radius: 999px;
    border: 1px solid var(--wbf-border);
    background: var(--wbf-accent, #0c6d8f);
    color: #ffffff;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.wbf-privacy-policy-close:hover {
    background: var(--wbf-accent-hover);
    transform: translateY(-1px);
}

.wbf-privacy-policy-close:active {
    transform: translateY(0);
}

.wbf-consent-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 9999;
}

.wbf-consent-modal.is-open {
    display: flex;
}

.wbf-consent-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.wbf-consent-dialog {
    position: relative;
    max-width: 720px;
    width: 100%;
    max-height: 80vh;
    overflow: auto;
    background: #fff;
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.wbf-consent-dialog h3 {
    margin-top: 0;
    font-size: 20px;
}

.wbf-consent-close {
    margin-top: 12px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--wbf-border);
    background: #f7f2ea;
    color: var(--wbf-ink);
    cursor: pointer;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease;
}

.wbf-consent-close:hover {
    background: #ede6dd;
    color: var(--wbf-accent);
}

.wbf-success-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 9999;
}

.wbf-success-modal.is-open {
    display: flex;
}

.wbf-success-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.wbf-success-dialog {
    position: relative;
    max-width: 520px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.wbf-success-dialog h3 {
    margin-top: 0;
    font-size: 20px;
}

.wbf-success-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.wbf-success-close,
.wbf-success-again {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--wbf-border);
    background: #f7f2ea;
    color: var(--wbf-ink);
    cursor: pointer;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.wbf-success-close:hover {
    background: #ede6dd;
    color: var(--wbf-ink);
    border-color: var(--wbf-accent);
}

.wbf-success-again {
    background: var(--wbf-accent, #0c6d8f);
    color: #ffffff;
    border: none;
}

.wbf-success-again:hover {
    background: var(--wbf-accent-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(12, 109, 143, 0.15);
}

.wbf-howto {
    display: grid;
    gap: 16px;
}

.wbf-howto-intro,
.wbf-howto-section,
.wbf-howto-shortcodes {
    background: #ffffff;
    border: 1px solid var(--wbf-border);
    border-radius: 18px;
    padding: 18px;
}

.wbf-howto-intro h2 {
    margin: 0 0 8px;
}

.wbf-howto-intro p {
    margin: 0;
    color: var(--wbf-ink-soft);
}

.wbf-howto-section {
    display: grid;
    grid-template-columns: minmax(220px, 420px) 1fr;
    gap: 18px;
}

.wbf-howto-media img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--wbf-border);
}

.wbf-howto-content h3 {
    margin: 0 0 8px;
}

.wbf-howto-content p {
    margin: 0 0 10px;
    color: var(--wbf-ink-soft);
}

.wbf-howto-content ul,
.wbf-howto-shortcodes ul {
    margin: 0;
    padding-left: 18px;
}

.wbf-howto-shortcodes h3 {
    margin: 0 0 10px;
}

@media (max-width: 900px) {
    .wbf-howto-section {
        grid-template-columns: 1fr;
    }
}

.wbf-panel {
    --wbf-ink: #1c1c1c;
    --wbf-ink-soft: #5a5a5a;
    --wbf-surface: #ffffff;
    --wbf-accent: #0c6d8f;
    --wbf-accent-2: #f0a500;
    --wbf-border: #e7e3dc;
    font-family: 'Outfit', sans-serif;
    width: 100%;
    max-width: 1920px;
    margin: 28px auto;
    padding: 26px;
    border-radius: 28px;
    border: 1px solid var(--wbf-border);
    background: linear-gradient(180deg, #ffffff 0%, #f9f6f0 100%);
    box-shadow: 0 16px 40px rgba(18, 24, 40, 0.08);
}

@media (min-width: 1200px) {
    .wbf-form,
    .wbf-panel {
        width: 100%;
        max-width: 1200px;
    }
}

.wbf-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.wbf-panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.wbf-panel-action {
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid var(--wbf-border);
    background: var(--wbf-accent, #0c6d8f);
    color: #ffffff;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    display: inline-block;
    text-align: center;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.wbf-panel-action:hover {
    background: var(--wbf-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(12, 109, 143, 0.15);
}

.wbf-panel-action:active {
    transform: translateY(0);
}

.wbf-panel-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.wbf-panel-tab {
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--wbf-border);
    background: #ffffff;
    color: var(--wbf-ink);
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    display: inline-block;
    transition: all 0.2s ease;
}

.wbf-panel-tab:hover {
    border-color: var(--wbf-accent);
    color: var(--wbf-accent);
}

.wbf-panel-tab.is-active {
    background: var(--wbf-accent);
    color: #ffffff;
    border-color: var(--wbf-accent);
}

.wbf-panel-section {
    margin-bottom: 24px;
    background: #ffffff;
    border: 1px solid var(--wbf-border);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(18, 24, 40, 0.04);
}

.wbf-panel-notice {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #e8f7ef;
    border: 1px solid #b7e1c8;
    font-weight: 600;
}

.wbf-panel-form,
.wbf-panel-inline-form {
    display: grid;
    gap: 10px;
}

.wbf-panel-inline-form {
    grid-template-columns: 1fr auto;
    align-items: center;
    margin-bottom: 12px;
}

.wbf-panel-form input,
.wbf-panel-form select,
.wbf-panel-form textarea,
.wbf-panel-inline-form input,
.wbf-panel-inline-form select {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--wbf-border);
    background: #ffffff;
    color: var(--wbf-ink);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.wbf-panel-form input:focus,
.wbf-panel-form select:focus,
.wbf-panel-form textarea:focus,
.wbf-panel-inline-form input:focus,
.wbf-panel-inline-form select:focus {
    outline: none;
    border-color: var(--wbf-accent);
    box-shadow: 0 0 0 3px rgba(12, 109, 143, 0.1);
}

.wbf-panel-form button,
.wbf-panel-inline-form button,
.wbf-panel-table form:not(.wbf-panel-action-icon-form) button {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--wbf-border);
    background: var(--wbf-accent, #0c6d8f);
    color: #ffffff;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.wbf-panel-form button:hover,
.wbf-panel-inline-form button:hover,
.wbf-panel-table form:not(.wbf-panel-action-icon-form) button:hover {
    background: var(--wbf-accent-hover);
    transform: translateY(-1px);
}

.wbf-panel-table form:not(.wbf-panel-action-icon-form) button {
    font-size: 12px;
    padding: 6px 12px;
}

.wbf-panel-table form .wbf-panel-btn-neutral {
    background: var(--wbf-btn-bg, #0c6d8f);
    color: var(--wbf-btn-text, #ffffff);
    border: 1px solid var(--wbf-btn-bg, #0c6d8f);
}

.wbf-panel-table form .wbf-panel-btn-neutral:hover {
    background: var(--wbf-btn-bg-hover, #0b5166);
    color: var(--wbf-btn-text-hover, #ffffff);
    border-color: var(--wbf-btn-bg-hover, #0b5166);
    transform: translateY(-1px);
}

.wbf-panel-table form .wbf-panel-btn-danger {
    background: var(--wbf-danger);
    color: #ffffff;
    border: 1px solid var(--wbf-danger);
}

.wbf-panel-table form .wbf-panel-btn-danger:hover {
    background: var(--wbf-danger-hover);
    color: #ffffff;
    border-color: var(--wbf-danger-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(192, 57, 43, 0.25);
}

.wbf-panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.wbf-panel-grid label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.wbf-panel-checkbox {
    display: block;
    margin-bottom: 6px;
}

.wbf-panel-header h2 {
    margin: 0 0 6px 0;
}

.wbf-panel-logout {
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--wbf-border);
    color: var(--wbf-ink);
    background: #ffffff;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    display: inline-block;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.wbf-panel-logout:hover {
    background: #f7f2ea;
    border-color: var(--wbf-accent);
    color: var(--wbf-accent);
}

.wbf-panel-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.wbf-panel-filters input,
.wbf-panel-filters select,
.wbf-panel-filters button {
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid var(--wbf-border);
    background: #ffffff;
    color: var(--wbf-ink);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    transition: border 0.2s ease, background 0.2s ease;
}

.wbf-panel-filters input:focus,
.wbf-panel-filters select:focus {
    outline: none;
    border-color: var(--wbf-accent);
    box-shadow: 0 0 0 3px rgba(12, 109, 143, 0.1);
}

.wbf-panel-filters button {
    background: var(--wbf-accent, #0c6d8f);
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.wbf-panel-filters button:hover {
    background: var(--wbf-accent-hover);
    transform: translateY(-1px);
}

.wbf-panel-export {
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 16px;
    border: 1px solid var(--wbf-border);
    background: var(--wbf-accent, #0c6d8f);
    color: #ffffff;
    text-align: center;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    display: inline-block;
    transition: background 0.2s ease, transform 0.2s ease;
}

.wbf-panel-export:hover {
    background: var(--wbf-accent-hover);
    transform: translateY(-1px);
}

.wbf-panel-table table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 14px;
    overflow: hidden;
}

.wbf-panel-table th,
.wbf-panel-table td {
    text-align: left;
    padding: 14px 12px;
    border-bottom: 1px solid var(--wbf-border);
    vertical-align: middle;
    font-size: 16px;
}

.wbf-panel-table th {
    background: #f5f1ea;
    color: var(--wbf-ink);
    font-weight: 700;
}

.wbf-panel-table tbody tr:nth-child(even) {
    background: #fbfaf7;
}

.wbf-panel-table tbody tr:hover {
    background: #f6f1e9;
}

.wbf-panel-table form {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.wbf-panel-status-form select {
    min-width: 160px;
}

.wbf-panel-link {
    text-decoration: none;
    color: var(--wbf-accent);
    margin-right: 8px;
    font-weight: 600;
}

.wbf-panel-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    border: 1px solid transparent;
}

.wbf-panel-badge-mode-single {
    background: #e8f4fb;
    color: var(--wbf-accent-hover);
    border-color: #b8dff0;
}

.wbf-panel-badge-mode-broad {
    background: #fff4e0;
    color: #8a5a00;
    border-color: #f0d7a6;
}

.wbf-panel-badge-consent-on {
    background: #e8f7ef;
    color: #1f6f43;
    border-color: #b7e1c8;
}

.wbf-panel-badge-consent-off {
    background: #fff1f1;
    color: #8a1f1f;
    border-color: #f3bcbc;
}

.wbf-panel-badge-site-public {
    background: #e8f7ef;
    color: #1f6f43;
    border-color: #b7e1c8;
}

.wbf-panel-badge-site-hidden {
    background: #f0ede6;
    color: #5c4a3a;
    border-color: #ddd5c8;
}

.wbf-panel-badge-life-open {
    background: #e8f7ef;
    color: #1f6f43;
    border-color: #b7e1c8;
}

.wbf-panel-badge-life-paused {
    background: #fff4e0;
    color: #8a5a00;
    border-color: #f0d7a6;
}

.wbf-panel-badge-life-closed,
.wbf-panel-badge-life-archived {
    background: #fff1f1;
    color: #8a1f1f;
    border-color: #f3bcbc;
}

.wbf-panel-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.wbf-card {
    border: 1px solid var(--wbf-border);
    border-radius: 20px;
    padding: 18px;
    background: #fbfaf7;
    box-shadow: 0 6px 16px rgba(18, 24, 40, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wbf-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(18, 24, 40, 0.08);
}

.wbf-card h3 {
    margin: 0 0 14px 0;
    font-size: 18px;
}

.wbf-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.wbf-card li {
    display: flex;
    justify-content: space-between;
    color: var(--wbf-ink-soft);
    font-size: 16px;
}

.wbf-chart-empty {
    margin: 0;
    color: var(--wbf-ink-soft);
}

.wbf-chart {
    display: grid;
    gap: 10px;
}

.wbf-chart-row {
    display: grid;
    gap: 6px;
}

.wbf-chart-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
}

.wbf-chart-label {
    color: var(--wbf-ink);
    font-size: 14px;
    font-weight: 500;
}

.wbf-chart-value {
    color: var(--wbf-ink);
    font-size: 14px;
}

.wbf-chart-track {
    height: 10px;
    border-radius: 999px;
    background: #e8edf1;
    overflow: hidden;
}

.wbf-chart-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--wbf-chart-color, var(--wbf-btn-bg, #0c6d8f)), var(--wbf-chart-color, var(--wbf-btn-bg, #0c6d8f)));
}

.wbf-chart-card {
    min-height: 250px;
}

.wbf-panel-detail {
    border: 1px solid var(--wbf-border);
    border-radius: 22px;
    padding: 18px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(18, 24, 40, 0.06);
}

.wbf-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
    margin: 12px 0;
    font-size: 16px;
}

.wbf-detail-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 16px 0;
    flex-wrap: wrap;
}

.wbf-detail-actions .wbf-panel-action,
.wbf-detail-actions .wbf-panel-link {
    display: inline-block;
}

.wbf-print-candidate {
    cursor: pointer;
}

.wbf-detail-section {
    margin-top: 14px;
}

.wbf-detail-table {
    width: 100%;
    border-collapse: collapse;
}

.wbf-detail-table th,
.wbf-detail-table td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid var(--wbf-border);
    font-size: 16px;
}

@media (max-width: 640px) {
    .wbf-auto-page-wrap {
        margin: 80px 16px !important;
    }

    .wbf-form {
        margin: 16px;
        padding: 18px;
    }

    .wbf-field-row {
        grid-template-columns: 1fr !important;
    }

    .wbf-step-nav {
        grid-template-columns: 1fr;
    }

    .wbf-panel {
        margin: 16px;
        padding: 18px;
    }

    .wbf-panel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .wbf-panel-actions,
    .wbf-panel-tabs {
        flex-direction: column;
    }

    .wbf-panel-filters,
    .wbf-panel-grid {
        grid-template-columns: 1fr;
    }

    .wbf-panel-cards {
        gap: 14px;
    }

    .wbf-chart-card {
        min-height: auto;
    }

    .wbf-chart-row {
        gap: 5px;
    }

    .wbf-chart-label,
    .wbf-chart-value {
        font-size: 13px;
    }

    .wbf-chart-track {
        height: 9px;
    }

    .wbf-panel-table table {
        display: block;
        overflow-x: auto;
        width: 100%;
    }

    .wbf-initial-consent-dialog {
        padding: 20px;
    }

    .wbf-initial-consent-actions {
        flex-direction: column;
        gap: 10px;
    }

    .wbf-initial-consent-accept,
    .wbf-initial-consent-reject {
        width: 100%;
    }

    .wbf-privacy-policy-dialog {
        padding: 20px;
        max-height: 90vh;
    }

    .wbf-privacy-policy-dialog h2 {
        font-size: 18px;
    }

    .wbf-privacy-policy-dialog h3 {
        font-size: 15px;
    }

    .wbf-privacy-policy-dialog p,
    .wbf-privacy-policy-dialog li {
        font-size: 13px;
    }
}

/* =========================================================
   JOB LISTING — [wbf_jobs] shortcode
   ========================================================= */

.wbf-jobs {
    font-family: 'Outfit', sans-serif;
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 16px;
}

/* Filters bar */
.wbf-jobs-filters {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid var(--wbf-border, #e7e3dc);
    border-radius: 14px;
    overflow: visible;
}

.wbf-jobs-filters > * {
    min-width: 0;
}

.wbf-jobs-filters select,
.wbf-jobs-filters input[type="text"] {
    width: 100%;
    min-width: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    padding: 10px 14px;
    border: 1px solid var(--wbf-border, #e7e3dc);
    border-radius: 999px;
    background: #faf7f1;
    color: #2c2c2c;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.wbf-jobs-filters select {
    cursor: pointer;
}

.wbf-jobs-filters input[type="text"] {
    cursor: text;
}

.wbf-jobs-filters input[name="wbf_search"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c6c6c' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242.156a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 15px 15px;
    padding-right: 38px;
}

.wbf-jobs-filters .wbf-jobs-suggest-input {
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20'%3E%3Cpath fill='%236c6c6c' d='M5.7 7.5a1 1 0 0 1 1.4 0L10 10.4l2.9-2.9a1 1 0 1 1 1.4 1.4l-3.6 3.6a1 1 0 0 1-1.4 0L5.7 8.9a1 1 0 0 1 0-1.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px 14px;
}

.wbf-jobs-filters select:focus,
.wbf-jobs-filters input[type="text"]:focus {
    border-color: var(--wbf-accent, #0c6d8f);
    box-shadow: 0 0 0 3px rgba(12, 109, 143, 0.12);
}

.wbf-jobs-filters button {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 22px;
    border: none;
    border-radius: 999px;
    background: var(--wbf-btn-bg, #0c6d8f);
    color: var(--wbf-btn-text, #ffffff);
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.wbf-jobs-filters button:hover {
    background: var(--wbf-btn-bg-hover, #0b5166);
    transform: translateY(-1px);
}

.wbf-jobs-clear-filters {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    align-self: center;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    color: var(--wbf-accent, #0c6d8f);
    text-decoration: underline;
    cursor: pointer;
    padding: 4px 8px;
}

.wbf-jobs-clear-filters:hover {
    color: var(--wbf-btn-bg-hover, #0b5166);
}

/* Empty state */
.wbf-jobs-empty {
    text-align: center;
    color: #888;
    font-size: 15px;
    padding: 40px 0;
}

/* Cards grid */
.wbf-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* Card */
.wbf-job-card {
    display: flex;
    flex-direction: column;
    background: #fbfaf7;
    border: 1px solid var(--wbf-border, #e7e3dc);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.wbf-job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
}

.wbf-job-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 14px 0;
    line-height: 1.3;
}

/* Meta tags row */
.wbf-job-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.wbf-job-card-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: #eef1f3;
    color: #3a3a3a;
    white-space: nowrap;
}

.wbf-job-card-life-open {
    background: #e8f7ef;
    color: #1f6f43;
    border-color: #b7e1c8;
}

.wbf-job-card-life-paused {
    background: #fff4e0;
    color: #8a5a00;
    border-color: #f0d7a6;
}

.wbf-job-card-life-closed,
.wbf-job-card-life-archived {
    background: #fff1f1;
    color: #8a1f1f;
    border-color: #f3bcbc;
}

.wbf-job-card-area {
    background: #dff0f7;
    color: #0c6d8f;
}

.wbf-job-card-type {
    background: #e8f7e8;
    color: #2e7d32;
}

.wbf-job-card-salary {
    background: #fff8e1;
    color: #7b5e00;
}

.wbf-job-card-location {
    background: #f3effc;
    color: #5a3e99;
}

/* Excerpt */
.wbf-job-card-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 18px 0;
    flex: 1;
}

/* CTA button */
.wbf-job-card-btn {
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 999px;
    background: var(--wbf-btn-bg, #0c6d8f);
    color: var(--wbf-btn-text, #ffffff);
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.wbf-job-card-btn:hover {
    background: var(--wbf-btn-bg-hover, #0b5166);
    color: #ffffff;
    transform: translateY(-2px);
    text-decoration: none;
}

.wbf-job-card-btn[aria-disabled="true"] {
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 900px) {
    .wbf-jobs-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wbf-jobs-filters input[name="wbf_search"] {
        grid-column: 1 / -1;
    }

    .wbf-jobs-filters button {
        grid-column: 1;
        grid-row: auto;
    }

    .wbf-jobs-clear-filters {
        grid-column: 2;
        grid-row: auto;
        justify-self: start;
    }
}

@media (max-width: 640px) {
    .wbf-jobs-filters {
        grid-template-columns: 1fr;
    }

    .wbf-jobs-filters button,
    .wbf-jobs-clear-filters {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
    }

    .wbf-jobs-filters select,
    .wbf-jobs-filters input[type="text"],
    .wbf-jobs-filters button {
        width: 100%;
    }

    .wbf-jobs-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   VISUAL POLISH LAYER
   ========================================================= */

.wbf-form,
.wbf-panel,
.wbf-jobs {
    --wbf-radius-sm: 12px;
    --wbf-radius-md: 16px;
    --wbf-radius-lg: 22px;
    --wbf-shadow-soft: 0 12px 28px rgba(18, 24, 40, 0.08);
    --wbf-shadow-strong: 0 18px 46px rgba(18, 24, 40, 0.14);
    --wbf-focus-ring: 0 0 0 3px rgba(12, 109, 143, 0.18);
}

.wbf-form,
.wbf-panel {
    backdrop-filter: blur(2px);
}

.wbf-form .wbf-submit,
.wbf-step-prev,
.wbf-step-next,
.wbf-panel-action,
.wbf-panel-form button,
.wbf-panel-inline-form button,
.wbf-panel-filters button,
.wbf-panel-export,
.wbf-job-card-btn,
.wbf-jobs-filters button {
    box-shadow: 0 10px 20px rgba(12, 109, 143, 0.16);
}

.wbf-form .wbf-submit:hover,
.wbf-panel-action:hover,
.wbf-panel-form button:hover,
.wbf-panel-inline-form button:hover,
.wbf-panel-filters button:hover,
.wbf-panel-export:hover,
.wbf-job-card-btn:hover,
.wbf-jobs-filters button:hover {
    box-shadow: 0 14px 28px rgba(12, 109, 143, 0.22);
}

.wbf-form input:focus-visible,
.wbf-form select:focus-visible,
.wbf-form textarea:focus-visible,
.wbf-form .wbf-submit:focus-visible,
.wbf-step-prev:focus-visible,
.wbf-step-next:focus-visible,
.wbf-panel-tab:focus-visible,
.wbf-panel-action:focus-visible,
.wbf-panel-logout:focus-visible,
.wbf-panel-form button:focus-visible,
.wbf-panel-inline-form button:focus-visible,
.wbf-panel-filters button:focus-visible,
.wbf-panel-export:focus-visible,
.wbf-job-card-btn:focus-visible,
.wbf-jobs-filters select:focus-visible,
.wbf-jobs-filters input[type="text"]:focus-visible,
.wbf-jobs-filters button:focus-visible,
.wbf-initial-consent-accept:focus-visible,
.wbf-initial-consent-reject:focus-visible,
.wbf-privacy-policy-close:focus-visible,
.wbf-consent-close:focus-visible,
.wbf-success-close:focus-visible,
.wbf-success-again:focus-visible,
.wbf-privacy-link:focus-visible,
.wbf-privacy-link-modal:focus-visible {
    outline: none;
    box-shadow: var(--wbf-focus-ring);
}

.wbf-panel-table form .wbf-panel-btn-danger:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.35);
}

.wbf-form .wbf-field {
    transition: transform 0.24s ease, opacity 0.24s ease;
}

.wbf-form .wbf-field:hover {
    transform: translateY(-1px);
}

.wbf-step-nav {
    margin-top: 20px;
    padding-top: 6px;
}

.wbf-step-progress {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f3f8fb;
    border: 1px solid #c8e5f0;
}

.wbf-initial-consent-dialog,
.wbf-privacy-policy-dialog,
.wbf-consent-dialog,
.wbf-success-dialog {
    border: 1px solid rgba(231, 227, 220, 0.85);
    box-shadow: var(--wbf-shadow-strong);
}

.wbf-initial-consent-backdrop,
.wbf-privacy-policy-backdrop,
.wbf-consent-backdrop,
.wbf-success-backdrop {
    backdrop-filter: blur(4px);
}

.wbf-panel-header {
    margin-bottom: 20px;
}

.wbf-panel-tabs {
    gap: 10px;
    margin-bottom: 20px;
}

.wbf-panel-tab {
    box-shadow: 0 4px 10px rgba(18, 24, 40, 0.05);
}

.wbf-panel-tab:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(12, 109, 143, 0.14);
}

.wbf-panel-tab.is-active {
    box-shadow: 0 10px 24px rgba(12, 109, 143, 0.24);
}

.wbf-panel-section {
    border-radius: 20px;
    box-shadow: var(--wbf-shadow-soft);
}

.wbf-card {
    border-radius: var(--wbf-radius-lg);
    box-shadow: 0 10px 24px rgba(18, 24, 40, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wbf-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(18, 24, 40, 0.12);
}

.wbf-panel-table table {
    border: 1px solid var(--wbf-border);
    box-shadow: 0 8px 20px rgba(18, 24, 40, 0.05);
}

.wbf-panel-table th,
.wbf-panel-table td {
    font-size: 14px;
    line-height: 1.45;
}

.wbf-panel-table th {
    letter-spacing: 0.2px;
}

.wbf-panel-table tbody tr {
    transition: background 0.2s ease, transform 0.2s ease;
}

.wbf-panel-table tbody tr:hover {
    transform: translateY(-1px);
}

.wbf-jobs-filters {
    box-shadow: 0 10px 22px rgba(18, 24, 40, 0.06);
}

.wbf-job-card {
    border-radius: 22px;
    border-color: rgba(231, 227, 220, 0.95);
}

.wbf-job-card-title {
    font-size: 19px;
}

.wbf-job-card-tag,
.wbf-panel-badge {
    font-weight: 700;
    letter-spacing: 0.2px;
}

.wbf-panel .wbf-howto-section,
.wbf-jobs .wbf-howto-section,
.wbf-form .wbf-howto-section,
.wbf-panel .wbf-howto-intro,
.wbf-panel .wbf-howto-shortcodes,
.wbf-jobs .wbf-howto-intro,
.wbf-jobs .wbf-howto-shortcodes,
.wbf-form .wbf-howto-intro,
.wbf-form .wbf-howto-shortcodes {
    box-shadow: 0 10px 24px rgba(18, 24, 40, 0.06);
}

@media (max-width: 900px) {
    .wbf-panel-table th,
    .wbf-panel-table td {
        font-size: 13px;
        padding: 11px 10px;
    }

    .wbf-job-card-title {
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wbf-form *,
    .wbf-panel *,
    .wbf-jobs * {
        animation: none !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }
}


/* =========================================================
   FRONTEND NORMALIZATION
   ========================================================= */

.wbf-form label,
.wbf-panel-grid label,
.wbf-panel-filters label,
.wbf-panel-link {
    font-weight: 500;
}

.wbf-panel-tab,
.wbf-panel-action,
.wbf-panel-logout,
.wbf-jobs-clear-filters,
.wbf-step-progress {
    font-weight: 600;
}

.wbf-form .wbf-submit,
.wbf-step-prev,
.wbf-step-next,
.wbf-panel-action,
.wbf-panel-form button,
.wbf-panel-inline-form button,
.wbf-panel-filters button,
.wbf-panel-export,
.wbf-job-card-btn,
.wbf-jobs-filters button {
    min-height: 40px;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.wbf-panel-table form:not(.wbf-panel-action-icon-form) button {
    min-height: 34px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 500;
}

.wbf-panel-table th,
.wbf-job-card-title,
.wbf-job-card-tag,
.wbf-panel-badge {
    font-weight: 600;
}

.wbf-form h2,
.wbf-form h3,
.wbf-panel h2,
.wbf-panel h3,
.wbf-jobs h2,
.wbf-jobs h3 {
    font-weight: 600;
}

.wbf-panel-table form .wbf-panel-btn-neutral,
.wbf-panel-table form .wbf-panel-btn-danger {
    font-weight: 500;
}

/* =========================================================
   Form builder de vagas — botoes (panel frontend)
   ========================================================= */

.wbf-panel #wbf-add-field,
.wbf-panel #wbf-load-template,
.wbf-panel #wbf-clear-form,
.wbf-panel #wbf-form-builder .button:not(.wbf-remove-field) {
    padding: 10px 20px;
    background: var(--wbf-accent, #0c6d8f);
    color: #ffffff;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    min-height: 40px;
    line-height: 1.2;
    display: inline-block;
    box-sizing: border-box;
}

.wbf-panel #wbf-add-field:hover,
.wbf-panel #wbf-load-template:hover,
.wbf-panel #wbf-clear-form:hover,
.wbf-panel #wbf-form-builder .button:not(.wbf-remove-field):hover {
    background: var(--wbf-accent-hover);
    transform: translateY(-1px);
}

/* Linhas do construtor: layout compacto (painel no front usa só frontend.css) */
.wbf-panel #wbf-form-builder .wbf-builder-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wbf-panel #wbf-form-builder .wbf-field-row {
    border: 1px solid var(--wbf-border);
    padding: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.wbf-panel #wbf-form-builder .wbf-field-row__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    background: #f6f7f9;
    border-bottom: 1px solid var(--wbf-border);
}

.wbf-panel #wbf-form-builder .wbf-field-row__head-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--wbf-ink-soft);
}

.wbf-panel #wbf-form-builder .wbf-field-row__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    padding: 12px 14px 14px;
}

.wbf-panel #wbf-form-builder .wbf-field-row__cell--full {
    grid-column: 1 / -1;
}

.wbf-panel #wbf-form-builder .wbf-field-row label {
    font-size: 13px;
    margin-bottom: 4px;
}

.wbf-panel #wbf-form-builder .wbf-remove-field {
    flex-shrink: 0;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #f1c6c6 !important;
    border-radius: 10px !important;
    background: #fff5f5 !important;
    color: #c0392b !important;
    box-shadow: none !important;
    transform: none !important;
}

.wbf-panel #wbf-form-builder .wbf-remove-field:hover {
    background: #fde8e8 !important;
    border-color: #e59896 !important;
    color: #a33125 !important;
    transform: none !important;
    box-shadow: none !important;
}

.wbf-panel #wbf-form-builder .wbf-remove-field__icon {
    display: block;
    pointer-events: none;
}

@media (max-width: 600px) {
    .wbf-panel #wbf-form-builder .wbf-field-row__grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Inputs / selects / textareas dentro das secoes do painel
   ========================================================= */

.wbf-panel .wbf-panel-section input[type="text"],
.wbf-panel .wbf-panel-section input[type="email"],
.wbf-panel .wbf-panel-section input[type="number"],
.wbf-panel .wbf-panel-section input[type="tel"],
.wbf-panel .wbf-panel-section input[type="date"],
.wbf-panel .wbf-panel-section textarea,
.wbf-panel .wbf-panel-section select,
.wbf-panel .wbf-field__control,
.wbf-panel #wbf-form-builder input[type="text"],
.wbf-panel #wbf-form-builder textarea,
.wbf-panel #wbf-form-builder select {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--wbf-border, #e7e3dc);
    background: #ffffff;
    color: var(--wbf-ink, #1c1c1c);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    transition: border 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.wbf-panel .wbf-panel-section input:focus,
.wbf-panel .wbf-panel-section textarea:focus,
.wbf-panel .wbf-panel-section select:focus,
.wbf-panel .wbf-field__control:focus,
.wbf-panel #wbf-form-builder input:focus,
.wbf-panel #wbf-form-builder textarea:focus,
.wbf-panel #wbf-form-builder select:focus {
    outline: none;
    border-color: var(--wbf-accent, #0c6d8f);
    box-shadow: 0 0 0 3px rgba(12, 109, 143, 0.12);
}

/* Garante que campos required invalidos nao fiquem com borda vermelha do navegador */
.wbf-panel .wbf-panel-section input:required:not(:focus),
.wbf-panel .wbf-field__control:required:not(:focus),
.wbf-panel #wbf-form-builder input:required:not(:focus) {
    border-color: var(--wbf-border, #e7e3dc);
    box-shadow: none;
}

/* =========================================================
   Button color normalization
   ========================================================= */

.wbf-form .wbf-submit,
.wbf-panel .wbf-panel-action,
.wbf-panel .wbf-panel-form button,
.wbf-panel .wbf-panel-inline-form button,
.wbf-panel .wbf-panel-filters button,
.wbf-panel .wbf-panel-export,
.wbf-panel #wbf-add-field,
.wbf-panel #wbf-load-template,
.wbf-panel #wbf-clear-form,
.wbf-panel #wbf-form-builder .button:not(.wbf-remove-field),
.wbf-panel .wbf-panel-table form:not(.wbf-panel-action-icon-form) button:not(.wbf-panel-btn-neutral):not(.wbf-panel-btn-danger),
.wbf-jobs .wbf-jobs-filters button,
.wbf-jobs .wbf-job-card-btn,
.wbf-initial-consent-dialog .wbf-initial-consent-accept,
.wbf-privacy-policy-close,
.wbf-success-again {
    background: var(--wbf-btn-bg, #0c6d8f);
    color: var(--wbf-btn-text, #ffffff);
    border-color: var(--wbf-btn-bg, #0c6d8f);
}

.wbf-form .wbf-submit:hover,
.wbf-panel .wbf-panel-action:hover,
.wbf-panel .wbf-panel-form button:hover,
.wbf-panel .wbf-panel-inline-form button:hover,
.wbf-panel .wbf-panel-filters button:hover,
.wbf-panel .wbf-panel-export:hover,
.wbf-panel #wbf-add-field:hover,
.wbf-panel #wbf-load-template:hover,
.wbf-panel #wbf-clear-form:hover,
.wbf-panel #wbf-form-builder .button:not(.wbf-remove-field):hover,
.wbf-panel .wbf-panel-table form:not(.wbf-panel-action-icon-form) button:not(.wbf-panel-btn-neutral):not(.wbf-panel-btn-danger):hover,
.wbf-jobs .wbf-jobs-filters button:hover,
.wbf-jobs .wbf-job-card-btn:hover,
.wbf-initial-consent-dialog .wbf-initial-consent-accept:hover,
.wbf-privacy-policy-close:hover,
.wbf-success-again:hover {
    background: var(--wbf-btn-bg-hover, #0b5166);
    color: var(--wbf-btn-text-hover, #ffffff);
    border-color: var(--wbf-btn-bg-hover, #0b5166);
}

/* =========================================================
   VISUAL STANDARDIZATION LAYER (FRONTEND)
   ========================================================= */

.wbf-form,
.wbf-panel,
.wbf-jobs {
    --wbf-radius-sm: var(--wbf-radius-sm, 10px);
    --wbf-radius-md: var(--wbf-radius-md, 14px);
    --wbf-radius-lg: var(--wbf-radius-lg, 20px);
}

.wbf-form .wbf-submit,
.wbf-step-prev,
.wbf-step-next,
.wbf-panel .wbf-panel-action,
.wbf-panel .wbf-panel-tab,
.wbf-panel .wbf-panel-export,
.wbf-panel .wbf-panel-form button,
.wbf-panel .wbf-panel-inline-form button,
.wbf-panel .wbf-panel-filters button,
.wbf-panel #wbf-add-field,
.wbf-panel #wbf-load-template,
.wbf-panel #wbf-clear-form,
.wbf-panel #wbf-form-builder .button:not(.wbf-remove-field),
.wbf-panel .wbf-panel-table form:not(.wbf-panel-action-icon-form) button,
.wbf-jobs .wbf-jobs-filters button,
.wbf-jobs .wbf-job-card-btn,
.wbf-initial-consent-dialog .wbf-initial-consent-accept,
.wbf-initial-consent-dialog .wbf-initial-consent-reject,
.wbf-privacy-policy-close,
.wbf-consent-close,
.wbf-success-close,
.wbf-success-again {
    border-radius: var(--wbf-radius-pill);
    padding: 10px 20px;
    font-size: var(--wbf-font-base);
    font-weight: 600;
    line-height: 1.2;
    min-height: 40px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.wbf-form .wbf-submit,
.wbf-panel .wbf-panel-action,
.wbf-panel .wbf-panel-form button,
.wbf-panel .wbf-panel-inline-form button,
.wbf-panel .wbf-panel-filters button,
.wbf-panel .wbf-panel-export,
.wbf-panel #wbf-add-field,
.wbf-panel #wbf-load-template,
.wbf-panel #wbf-clear-form,
.wbf-panel #wbf-form-builder .button:not(.wbf-remove-field),
.wbf-panel .wbf-panel-table form:not(.wbf-panel-action-icon-form) button,
.wbf-jobs .wbf-jobs-filters button,
.wbf-jobs .wbf-job-card-btn,
.wbf-initial-consent-dialog .wbf-initial-consent-accept,
.wbf-privacy-policy-close,
.wbf-success-again {
    background: var(--wbf-btn-bg, var(--wbf-accent));
    color: var(--wbf-btn-text, #ffffff);
    border: 1px solid var(--wbf-btn-bg, var(--wbf-accent));
    box-shadow: 0 8px 18px rgba(12, 109, 143, 0.14);
}

.wbf-form .wbf-submit:hover,
.wbf-panel .wbf-panel-action:hover,
.wbf-panel .wbf-panel-form button:hover,
.wbf-panel .wbf-panel-inline-form button:hover,
.wbf-panel .wbf-panel-filters button:hover,
.wbf-panel .wbf-panel-export:hover,
.wbf-panel #wbf-add-field:hover,
.wbf-panel #wbf-load-template:hover,
.wbf-panel #wbf-clear-form:hover,
.wbf-panel #wbf-form-builder .button:not(.wbf-remove-field):hover,
.wbf-panel .wbf-panel-table form:not(.wbf-panel-action-icon-form) button:hover,
.wbf-jobs .wbf-jobs-filters button:hover,
.wbf-jobs .wbf-job-card-btn:hover,
.wbf-initial-consent-dialog .wbf-initial-consent-accept:hover,
.wbf-privacy-policy-close:hover,
.wbf-success-again:hover {
    background: var(--wbf-btn-bg-hover, var(--wbf-accent-hover));
    color: var(--wbf-btn-text-hover, #ffffff);
    border-color: var(--wbf-btn-bg-hover, var(--wbf-accent-hover));
    box-shadow: 0 12px 24px rgba(12, 109, 143, 0.22);
}

.wbf-step-prev,
.wbf-step-next,
.wbf-initial-consent-dialog .wbf-initial-consent-reject,
.wbf-consent-close,
.wbf-success-close {
    border: 1px solid var(--wbf-border);
    background: var(--wbf-surface);
    color: var(--wbf-ink);
    box-shadow: none;
}

.wbf-step-prev:hover,
.wbf-step-next:hover,
.wbf-initial-consent-dialog .wbf-initial-consent-reject:hover,
.wbf-consent-close:hover,
.wbf-success-close:hover {
    background: #f7f2ea;
    color: var(--wbf-accent);
    border-color: var(--wbf-accent);
}

.wbf-panel .wbf-panel-btn-neutral,
.wbf-panel .wbf-panel-btn-danger {
    background: var(--wbf-btn-bg, var(--wbf-accent));
    color: var(--wbf-btn-text, #ffffff);
    border: 1px solid var(--wbf-btn-bg, var(--wbf-accent));
}

/* Fluxo de vagas: padrao unico de cor para todos os botoes */
.wbf-panel .wbf-panel-section .wbf-panel-action,
.wbf-panel .wbf-panel-section #wbf-add-field,
.wbf-panel .wbf-panel-section #wbf-load-template,
.wbf-panel .wbf-panel-section #wbf-clear-form,
.wbf-panel .wbf-panel-section #wbf-form-builder .button:not(.wbf-remove-field),
.wbf-panel .wbf-panel-section .wbf-panel-btn-neutral,
.wbf-panel .wbf-panel-section .wbf-panel-btn-danger,
.wbf-panel .wbf-panel-section .wbf-panel-inline-form button,
.wbf-panel .wbf-panel-section .wbf-panel-form button {
    background: var(--wbf-btn-bg, var(--wbf-accent)) !important;
    color: var(--wbf-btn-text, #ffffff) !important;
    border: 1px solid var(--wbf-btn-bg, var(--wbf-accent)) !important;
}

.wbf-panel .wbf-panel-section .wbf-panel-action:hover,
.wbf-panel .wbf-panel-section #wbf-add-field:hover,
.wbf-panel .wbf-panel-section #wbf-load-template:hover,
.wbf-panel .wbf-panel-section #wbf-clear-form:hover,
.wbf-panel .wbf-panel-section #wbf-form-builder .button:not(.wbf-remove-field):hover,
.wbf-panel .wbf-panel-section .wbf-panel-btn-neutral:hover,
.wbf-panel .wbf-panel-section .wbf-panel-btn-danger:hover,
.wbf-panel .wbf-panel-section .wbf-panel-inline-form button:hover,
.wbf-panel .wbf-panel-section .wbf-panel-form button:hover {
    background: var(--wbf-btn-bg-hover, var(--wbf-accent-hover)) !important;
    color: var(--wbf-btn-text-hover, #ffffff) !important;
    border-color: var(--wbf-btn-bg-hover, var(--wbf-accent-hover)) !important;
}

/* Estado secundario: acoes auxiliares no painel de vagas */
.wbf-panel .wbf-panel-section .wbf-btn-secondary,
.wbf-panel .wbf-panel-section .wbf-panel-btn-neutral {
    background: #e8f4fb !important;
    color: var(--wbf-accent) !important;
    border: 1px solid #b8dff0 !important;
    box-shadow: none !important;
}

.wbf-panel .wbf-panel-section .wbf-btn-secondary:hover,
.wbf-panel .wbf-panel-section .wbf-panel-btn-neutral:hover {
    background: #d9edf8 !important;
    color: var(--wbf-accent-hover) !important;
    border-color: #8cc8e2 !important;
}

.wbf-panel-cards.wbf-panel-charts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.wbf-panel-table th:nth-child(5),
.wbf-panel-table td:nth-child(5) {
    min-width: 240px;
}

.wbf-panel-table th:nth-child(6),
.wbf-panel-table td:nth-child(6) {
    min-width: 170px;
}

.wbf-panel-status-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: center;
}

.wbf-panel-status-current {
    grid-column: 1 / -1;
    font-size: var(--wbf-font-sm);
    color: var(--wbf-ink-soft);
    font-weight: 600;
}

.wbf-panel .wbf-panel-status-form .wbf-panel-status {
    min-width: 0;
    width: 100%;
}

.wbf-panel .wbf-panel-view-candidate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 18px;
    border-radius: var(--wbf-radius-pill);
    border: 1px solid var(--wbf-btn-bg, var(--wbf-accent));
    background: var(--wbf-btn-bg, var(--wbf-accent));
    color: var(--wbf-btn-text, #ffffff);
    text-decoration: none;
    font-size: var(--wbf-font-base);
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(12, 109, 143, 0.14);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.wbf-panel .wbf-panel-view-candidate:hover {
    background: var(--wbf-btn-bg-hover, var(--wbf-accent-hover));
    border-color: var(--wbf-btn-bg-hover, var(--wbf-accent-hover));
    color: var(--wbf-btn-text-hover, #ffffff);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(12, 109, 143, 0.22);
}

.wbf-panel-section,
.wbf-card,
.wbf-job-card,
.wbf-panel-detail,
.wbf-howto-intro,
.wbf-howto-section,
.wbf-howto-shortcodes,
.wbf-chart-card {
    border-radius: var(--wbf-radius-lg);
    border: 1px solid var(--wbf-border);
    background: var(--wbf-surface);
    box-shadow: 0 10px 24px rgba(18, 24, 40, 0.07);
}

.wbf-panel-section,
.wbf-card,
.wbf-panel-detail,
.wbf-howto-intro,
.wbf-howto-section,
.wbf-howto-shortcodes,
.wbf-chart-card {
    padding: var(--wbf-space-5);
}

.wbf-job-card {
    padding: var(--wbf-space-6);
}

.wbf-form input[type="text"],
.wbf-form input[type="email"],
.wbf-form input[type="date"],
.wbf-form input[type="number"],
.wbf-form input[type="tel"],
.wbf-form input[type="file"],
.wbf-form select,
.wbf-form textarea,
.wbf-panel .wbf-panel-section input[type="text"],
.wbf-panel .wbf-panel-section input[type="email"],
.wbf-panel .wbf-panel-section input[type="number"],
.wbf-panel .wbf-panel-section input[type="tel"],
.wbf-panel .wbf-panel-section input[type="date"],
.wbf-panel .wbf-panel-section textarea,
.wbf-panel .wbf-panel-section select,
.wbf-panel .wbf-field__control,
.wbf-panel #wbf-form-builder input[type="text"],
.wbf-panel #wbf-form-builder textarea,
.wbf-panel #wbf-form-builder select {
    padding: 10px 14px;
    border-radius: var(--wbf-radius-md);
    font-size: var(--wbf-font-base);
    background: var(--wbf-surface);
}

.wbf-form .wbf-success {
    background: var(--wbf-success-bg);
    border: 1px solid var(--wbf-success-border);
    color: var(--wbf-success);
    border-radius: var(--wbf-radius-md);
}

.wbf-form .wbf-form-error,
.wbf-error {
    background: var(--wbf-error-bg);
    border: 1px solid var(--wbf-error-border);
    color: var(--wbf-error);
    border-radius: var(--wbf-radius-md);
}

.wbf-job-summary {
    background: var(--wbf-warning-bg);
    border-color: var(--wbf-warning-border);
    color: var(--wbf-warning);
    border-radius: var(--wbf-radius-md);
}

.wbf-panel-table th,
.wbf-panel-table td,
.wbf-detail-table th,
.wbf-detail-table td {
    font-size: var(--wbf-font-base);
    padding: 12px;
}

.wbf-panel-badge,
.wbf-job-card-tag {
    border-radius: var(--wbf-radius-pill);
    font-size: var(--wbf-font-xs);
}

.wbf-initial-consent-backdrop,
.wbf-privacy-policy-backdrop,
.wbf-consent-backdrop,
.wbf-success-backdrop {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.wbf-initial-consent-dialog,
.wbf-privacy-policy-dialog,
.wbf-consent-dialog,
.wbf-success-dialog {
    border-radius: var(--wbf-radius-lg);
    box-shadow: var(--wbf-shadow-strong);
    border: 1px solid var(--wbf-border);
    padding: var(--wbf-space-6);
}

.wbf-initial-consent-dialog h3,
.wbf-privacy-policy-dialog h2,
.wbf-consent-dialog h3,
.wbf-success-dialog h3 {
    font-size: var(--wbf-font-2xl);
}

.wbf-consent-required-note {
    padding: var(--wbf-space-5);
    text-align: center;
    color: var(--wbf-ink-soft);
}

.wbf-privacy-policy-consent-note {
    margin-top: var(--wbf-space-6);
    padding-top: var(--wbf-space-4);
    border-top: 1px solid var(--wbf-border);
    font-weight: 600;
}

.wbf-elementor-placeholder {
    padding: var(--wbf-space-6);
    background: #f4f1ea;
    border: 2px dashed #c8c0b5;
    border-radius: var(--wbf-radius-md);
    text-align: center;
    font-family: 'Outfit', sans-serif;
    color: var(--wbf-ink-soft);
}

.wbf-elementor-placeholder strong {
    display: block;
    margin-bottom: 6px;
}

.wbf-elementor-placeholder span {
    font-size: var(--wbf-font-sm);
}

@media (max-width: 900px) {
    .wbf-panel-cards.wbf-panel-charts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wbf-panel-table th:nth-child(5),
    .wbf-panel-table td:nth-child(5),
    .wbf-panel-table th:nth-child(6),
    .wbf-panel-table td:nth-child(6) {
        min-width: 210px;
    }

    .wbf-panel-table th,
    .wbf-panel-table td,
    .wbf-detail-table th,
    .wbf-detail-table td {
        font-size: var(--wbf-font-sm);
    }

    .wbf-job-card-title {
        font-size: var(--wbf-font-lg);
    }
}

@media (max-width: 640px) {
    .wbf-panel-cards.wbf-panel-charts {
        grid-template-columns: 1fr;
    }

    .wbf-panel .wbf-panel-view-candidate {
        width: 100%;
    }

    .wbf-panel-section,
    .wbf-card,
    .wbf-panel-detail,
    .wbf-howto-intro,
    .wbf-howto-section,
    .wbf-howto-shortcodes,
    .wbf-chart-card {
        padding: var(--wbf-space-4);
    }

    .wbf-job-card {
        padding: var(--wbf-space-5);
    }

    .wbf-form .wbf-submit,
    .wbf-step-prev,
    .wbf-step-next,
    .wbf-panel .wbf-panel-action,
    .wbf-panel .wbf-panel-tab,
    .wbf-panel .wbf-panel-export,
    .wbf-panel .wbf-panel-table form:not(.wbf-panel-action-icon-form) button,
    .wbf-jobs .wbf-job-card-btn {
        width: 100%;
    }
}

/* =========================================================
   PHASE 2 - PANEL UX CONSOLIDATION (source of truth)
   ========================================================= */

.wbf-panel {
    max-width: 1280px;
    padding: 28px;
}

.wbf-panel-header {
    margin-bottom: 22px;
}

.wbf-panel-tabs {
    margin-bottom: 22px;
}

.wbf-panel-section {
    margin-bottom: 28px;
    padding: 22px;
}

.wbf-panel-section h3 {
    margin: 0 0 14px;
    font-size: 20px;
}

.wbf-panel-filters {
    grid-template-columns: repeat(6, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
    align-items: end;
}

.wbf-panel-filters .wbf-panel-export,
.wbf-panel-filters button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wbf-panel-table table {
    border-radius: 16px;
    overflow: hidden;
}

.wbf-panel-table th {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.wbf-panel-table td {
    font-size: 14px;
}

.wbf-panel-status-form {
    gap: 10px;
}

.wbf-panel-status-current {
    font-size: 12px;
}

.wbf-panel-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
}

.wbf-panel-empty-row td {
    background: #fcfbf8;
}

.wbf-empty-state {
    display: inline-flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px dashed #d7d2c8;
    background: #f8f5ef;
    color: #5a5a5a;
    font-size: 13px;
    font-weight: 600;
}

.wbf-panel-link-muted {
    color: #8a8a8a;
    font-size: 13px;
    font-weight: 600;
}

.wbf-panel-hint {
    margin: 0 0 12px;
    color: #5a5a5a;
    font-size: 13px;
    line-height: 1.5;
}

/* --- Painel RH: formulário de vagas (layout, acordeão, chips, destaque visibilidade) --- */
.wbf-jobs-form__header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--wbf-border);
}

.wbf-jobs-form__title {
    margin: 0 0 8px;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--wbf-ink);
    letter-spacing: -0.02em;
}

.wbf-jobs-form__lead {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--wbf-ink-soft);
    max-width: 52rem;
}

.wbf-visibility-highlight {
    margin-bottom: 22px;
    padding: 18px 20px 20px;
    border-radius: var(--wbf-radius-lg);
    background: linear-gradient(135deg, #f0f9fc 0%, #e8f4fb 45%, #fdf8f0 100%);
    border: 2px solid rgba(12, 109, 143, 0.22);
    box-shadow: 0 10px 32px rgba(12, 109, 143, 0.08);
}

.wbf-visibility-highlight__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--wbf-accent);
    margin-bottom: 8px;
}

.wbf-visibility-highlight__title {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--wbf-ink);
}

.wbf-visibility-highlight__lede {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--wbf-ink-soft);
    max-width: 48rem;
}

.wbf-visibility-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.wbf-visibility-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 14px 16px;
    border-radius: var(--wbf-radius-md);
    border: 2px solid var(--wbf-border);
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.wbf-visibility-card:hover {
    border-color: rgba(12, 109, 143, 0.45);
    box-shadow: 0 6px 18px rgba(18, 24, 40, 0.06);
}

.wbf-visibility-card:has(.wbf-visibility-card__input:checked) {
    border-color: var(--wbf-accent);
    background: linear-gradient(180deg, #ffffff 0%, #f3fafc 100%);
    box-shadow: 0 0 0 1px var(--wbf-accent), 0 10px 28px rgba(12, 109, 143, 0.12);
}

.wbf-visibility-card__input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.wbf-visibility-card__input:focus-visible + .wbf-visibility-card__body {
    outline: 2px solid var(--wbf-accent);
    outline-offset: 3px;
    border-radius: 6px;
}

.wbf-visibility-card__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.wbf-visibility-card__title {
    font-weight: 700;
    font-size: 15px;
    color: var(--wbf-ink);
}

.wbf-visibility-card__desc {
    font-size: 12px;
    line-height: 1.45;
    color: var(--wbf-ink-soft);
}

.wbf-panel-accordion {
    margin-bottom: 12px;
    border: 1px solid var(--wbf-border);
    border-radius: var(--wbf-radius-md);
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(18, 24, 40, 0.04);
}

.wbf-panel-accordion__summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    font-weight: 700;
    font-size: 15px;
    color: var(--wbf-ink);
    cursor: pointer;
    list-style: none;
    background: linear-gradient(180deg, #fcfcfb 0%, #f7f4ee 100%);
    border-bottom: 1px solid transparent;
    transition: background 0.2s ease;
}

.wbf-panel-accordion__summary::-webkit-details-marker {
    display: none;
}

.wbf-panel-accordion__summary::after {
    content: '';
    margin-left: auto;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--wbf-accent);
    border-bottom: 2px solid var(--wbf-accent);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.wbf-panel-accordion:not([open]) .wbf-panel-accordion__summary {
    border-bottom-color: transparent;
}

.wbf-panel-accordion[open] .wbf-panel-accordion__summary {
    border-bottom-color: var(--wbf-border);
    background: #ffffff;
}

.wbf-panel-accordion[open] .wbf-panel-accordion__summary::after {
    transform: rotate(-135deg);
    margin-top: 4px;
}

.wbf-panel-accordion__summary:hover {
    background: #f3f6f8;
}

.wbf-panel-accordion__step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    background: var(--wbf-accent);
    flex-shrink: 0;
}

.wbf-panel-accordion__label {
    flex: 1;
    text-align: left;
}

.wbf-panel-accordion__content {
    padding: 16px 18px 18px;
    background: #ffffff;
}

.wbf-panel-accordion__content--builder {
    background: linear-gradient(180deg, #faf9f7 0%, #ffffff 120px);
    border-top: 1px solid var(--wbf-border);
}

.wbf-panel-accordion__foot {
    margin: 12px 0 0;
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--wbf-ink-soft);
    background: #f7f4ee;
    border-radius: var(--wbf-radius-sm);
    border-left: 3px solid var(--wbf-accent-2, #f0a500);
}

.wbf-field--block {
    margin-bottom: 14px;
}

.wbf-field__label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--wbf-ink);
}

.wbf-field__hint {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--wbf-ink-soft);
}

.wbf-field__hint--spaced {
    margin-bottom: 14px;
}

.wbf-field-grid {
    display: grid;
    gap: 14px;
    margin-bottom: 14px;
}

.wbf-field-grid--2 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    align-items: start;
}

.wbf-field-grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.wbf-field--note {
    display: flex;
    align-items: center;
    min-height: 100%;
}

.wbf-field--span-2 {
    grid-column: 1 / -1;
}

.wbf-field__control,
.wbf-field__control.widefat {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--wbf-border);
    background: #ffffff;
    color: var(--wbf-ink);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.wbf-field__control:hover {
    border-color: #d2cdc4;
}

.wbf-field__control:focus {
    outline: none;
    border-color: var(--wbf-accent);
    box-shadow: 0 0 0 3px rgba(12, 109, 143, 0.12);
}

.wbf-field__control--tall {
    min-height: 120px;
    resize: vertical;
}

select.wbf-field__control {
    cursor: pointer;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--wbf-accent) 50%), linear-gradient(135deg, var(--wbf-accent) 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% + 3px), calc(100% - 13px) calc(50% + 3px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 32px;
}

.wbf-chip-section {
    margin-bottom: 18px;
}

.wbf-chip-section:last-child {
    margin-bottom: 0;
}

.wbf-chip-section__title {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--wbf-ink-soft);
}

.wbf-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wbf-chip {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    cursor: pointer;
    border-radius: 999px;
    border: 1px solid var(--wbf-border);
    background: #faf9f7;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.wbf-chip__text {
    display: block;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--wbf-ink-soft);
    transition: color 0.2s ease;
}

.wbf-chip input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.wbf-chip:has(input:checked) {
    border-color: var(--wbf-accent);
    background: linear-gradient(180deg, #e8f4fb 0%, #dff0f7 100%);
    box-shadow: 0 2px 8px rgba(12, 109, 143, 0.1);
}

.wbf-chip:has(input:checked) .wbf-chip__text {
    color: var(--wbf-accent-hover);
}

.wbf-chip:hover {
    border-color: rgba(12, 109, 143, 0.35);
}

.wbf-builder-intro {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: var(--wbf-radius-sm);
    background: #fff8e8;
    border: 1px solid rgba(240, 165, 0, 0.35);
}

.wbf-builder-intro__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #5c4a2e;
    font-weight: 500;
}

.wbf-form-builder-wrap {
    padding-top: 4px;
}

.wbf-builder-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed var(--wbf-border);
}

.wbf-jobs-form__actions {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--wbf-border);
}

@media (max-width: 640px) {
    .wbf-visibility-cards {
        grid-template-columns: 1fr;
    }

    .wbf-panel-accordion__summary {
        flex-wrap: wrap;
    }
}

/* --- Painel RH: lista de vagas, acordeão criar, ações em ícone --- */
.wbf-jobs-list__header {
    margin-bottom: 16px;
}

.wbf-jobs-list__title {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--wbf-ink);
    letter-spacing: -0.02em;
}

.wbf-jobs-list__subtitle {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--wbf-ink-soft);
    max-width: 40rem;
}

.wbf-panel-table--jobs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 4px;
}

.wbf-jobs-list-table {
    min-width: 720px;
}

.wbf-jobs-list-table__actions {
    width: 1%;
    white-space: nowrap;
    text-align: right;
    vertical-align: middle;
}

.wbf-jobs-list-table__title {
    font-weight: 700;
    color: var(--wbf-ink);
}

.wbf-panel-empty-row td {
    padding: 20px 16px;
    vertical-align: top;
}

.wbf-empty-state--jobs {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    max-width: 28rem;
    padding: 14px 16px;
    border-radius: var(--wbf-radius-md);
}

.wbf-empty-state--jobs .wbf-empty-state__title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--wbf-ink);
}

.wbf-empty-state--jobs .wbf-empty-state__hint {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--wbf-ink-soft);
    font-weight: 500;
}

.wbf-jobs-create-accordion {
    margin-top: 8px;
    border-width: 2px;
    border-color: rgba(12, 109, 143, 0.2);
    box-shadow: 0 8px 24px rgba(12, 109, 143, 0.07);
}

.wbf-jobs-create-accordion:not([open]) .wbf-jobs-create-accordion__summary {
    background: linear-gradient(180deg, #f5fbfd 0%, #f7f4ee 100%);
}

.wbf-jobs-create-accordion--empty:not([open]) {
    border-color: rgba(12, 109, 143, 0.35);
    box-shadow: 0 10px 28px rgba(12, 109, 143, 0.12);
}

.wbf-jobs-create-accordion--empty:not([open]) .wbf-jobs-create-accordion__summary {
    background: linear-gradient(180deg, #e8f6fa 0%, #f7f4ee 100%);
}

.wbf-jobs-create-accordion__summary-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
    text-align: left;
}

.wbf-jobs-create-accordion__hint {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--wbf-ink-soft);
    line-height: 1.45;
}

.wbf-jobs-create-accordion__inner {
    padding: 0 4px 8px;
    border-top: 1px solid var(--wbf-border);
    background: #ffffff;
}

.wbf-jobs-form-accordion {
    margin-bottom: 12px;
}

.wbf-panel-job-edit-nav {
    margin-bottom: 18px;
}

.wbf-panel-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--wbf-accent);
    text-decoration: none;
    padding: 8px 4px;
    border-radius: var(--wbf-radius-sm);
    transition: color 0.15s ease, background 0.15s ease;
}

.wbf-panel-back-link:hover {
    color: var(--wbf-accent-hover);
    background: rgba(12, 109, 143, 0.06);
}

.wbf-panel-back-link:focus-visible {
    outline: 2px solid var(--wbf-accent);
    outline-offset: 2px;
}

.wbf-panel-back-link__chev {
    font-size: 1.1em;
    line-height: 1;
}

.wbf-panel-job-actions {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    max-width: 100%;
}

.wbf-panel-action-icon-form {
    display: inline;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

.wbf-panel-action-icon {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    margin: 0;
    padding: 0;
    border-radius: 12px;
    border: 1px solid var(--wbf-border);
    background: #ffffff !important;
    color: var(--wbf-accent) !important;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
    box-shadow: none !important;
}

.wbf-panel-action-icon:hover {
    background: #f3fafc !important;
    border-color: rgba(12, 109, 143, 0.35) !important;
    color: var(--wbf-accent-hover) !important;
    transform: translateY(-1px);
}

.wbf-panel-action-icon:focus-visible {
    outline: 2px solid var(--wbf-accent);
    outline-offset: 2px;
}

.wbf-panel-action-icon:active {
    transform: translateY(0);
}

.wbf-panel-action-icon--duplicate {
    color: #5a5a5a !important;
    border-color: #d7d2c8 !important;
}

.wbf-panel-action-icon--duplicate:hover {
    color: var(--wbf-ink) !important;
    border-color: #c4beb4 !important;
    background: #f7f4ee !important;
}

.wbf-panel-action-icon--danger {
    color: var(--wbf-danger) !important;
    border-color: rgba(192, 57, 43, 0.35) !important;
    background: #fffbfb !important;
}

.wbf-panel-action-icon--danger:hover {
    color: #ffffff !important;
    background: var(--wbf-danger) !important;
    border-color: var(--wbf-danger) !important;
}

.wbf-panel-action-icon__svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    pointer-events: none;
}

/* Primary button system: keep blue on hover/focus */
.wbf-panel .wbf-panel-action:not(.wbf-btn-secondary):not(.wbf-panel-btn-neutral):not(.wbf-panel-btn-danger),
.wbf-panel .wbf-panel-form button:not(.wbf-btn-secondary):not(.wbf-panel-btn-neutral):not(.wbf-panel-btn-danger),
.wbf-panel .wbf-panel-inline-form button:not(.wbf-btn-secondary):not(.wbf-panel-btn-neutral):not(.wbf-panel-btn-danger),
.wbf-panel .wbf-panel-filters button:not(.wbf-btn-secondary):not(.wbf-panel-btn-neutral):not(.wbf-panel-btn-danger),
.wbf-panel .wbf-panel-export,
.wbf-panel #wbf-add-field,
.wbf-panel #wbf-load-template:not(.wbf-btn-secondary),
.wbf-panel #wbf-clear-form:not(.wbf-btn-secondary),
.wbf-panel #wbf-form-builder .button:not(.wbf-btn-secondary):not(.wbf-remove-field),
.wbf-panel .wbf-panel-view-candidate {
    background: var(--wbf-btn-bg, #0c6d8f) !important;
    color: var(--wbf-btn-text, #ffffff) !important;
    border: 1px solid var(--wbf-btn-bg, #0c6d8f) !important;
    text-decoration: none;
}

.wbf-panel .wbf-panel-action:not(.wbf-btn-secondary):not(.wbf-panel-btn-neutral):not(.wbf-panel-btn-danger):hover,
.wbf-panel .wbf-panel-form button:not(.wbf-btn-secondary):not(.wbf-panel-btn-neutral):not(.wbf-panel-btn-danger):hover,
.wbf-panel .wbf-panel-inline-form button:not(.wbf-btn-secondary):not(.wbf-panel-btn-neutral):not(.wbf-panel-btn-danger):hover,
.wbf-panel .wbf-panel-filters button:not(.wbf-btn-secondary):not(.wbf-panel-btn-neutral):not(.wbf-panel-btn-danger):hover,
.wbf-panel .wbf-panel-export:hover,
.wbf-panel #wbf-add-field:hover,
.wbf-panel #wbf-load-template:not(.wbf-btn-secondary):hover,
.wbf-panel #wbf-clear-form:not(.wbf-btn-secondary):hover,
.wbf-panel #wbf-form-builder .button:not(.wbf-btn-secondary):not(.wbf-remove-field):hover,
.wbf-panel .wbf-panel-view-candidate:hover {
    background: var(--wbf-btn-bg-hover, #0b5166) !important;
    color: var(--wbf-btn-text-hover, #ffffff) !important;
    border-color: var(--wbf-btn-bg-hover, #0b5166) !important;
}

.wbf-panel .wbf-panel-action:visited,
.wbf-panel .wbf-panel-export:visited,
.wbf-panel .wbf-panel-view-candidate:visited {
    color: var(--wbf-btn-text, #ffffff);
}

/* Secondary actions remain neutral */
.wbf-panel .wbf-btn-secondary,
.wbf-panel .wbf-panel-btn-neutral {
    background: #e8f4fb !important;
    color: var(--wbf-accent) !important;
    border: 1px solid #b8dff0 !important;
}

.wbf-panel .wbf-btn-secondary:hover,
.wbf-panel .wbf-panel-btn-neutral:hover {
    background: #d9edf8 !important;
    color: var(--wbf-accent-hover) !important;
    border-color: #8cc8e2 !important;
}

@media (max-width: 900px) {
    .wbf-panel {
        padding: 18px;
    }

    .wbf-panel-section {
        padding: 16px;
        margin-bottom: 20px;
    }

    .wbf-panel-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .wbf-panel-filters {
        grid-template-columns: 1fr;
    }

    .wbf-panel-filters .wbf-panel-export,
    .wbf-panel-filters button,
    .wbf-panel .wbf-panel-action,
    .wbf-panel .wbf-panel-export,
    .wbf-panel .wbf-panel-view-candidate {
        width: 100%;
    }
}

/* Modais LGPD: cores fixas no hover (evita texto/branco quando --wbf-btn-* vem claro do tema) */
.wbf-initial-consent-modal .wbf-initial-consent-accept {
    background: var(--wbf-accent, #0c6d8f) !important;
    color: #ffffff !important;
    border: 1px solid var(--wbf-accent, #0c6d8f) !important;
    box-shadow: 0 8px 20px rgba(12, 109, 143, 0.2) !important;
}

.wbf-initial-consent-modal .wbf-initial-consent-accept:hover,
.wbf-initial-consent-modal .wbf-initial-consent-accept:focus-visible {
    background: #085a78 !important;
    color: #ffffff !important;
    border-color: #085a78 !important;
    box-shadow: 0 10px 24px rgba(12, 109, 143, 0.28) !important;
}

.wbf-consent-modal .wbf-consent-close,
.wbf-privacy-policy-modal .wbf-privacy-policy-close {
    background: var(--wbf-danger, #c0392b) !important;
    color: #ffffff !important;
    border: 1px solid var(--wbf-danger, #c0392b) !important;
    box-shadow: none !important;
}

.wbf-consent-modal .wbf-consent-close:hover,
.wbf-consent-modal .wbf-consent-close:focus-visible,
.wbf-privacy-policy-modal .wbf-privacy-policy-close:hover,
.wbf-privacy-policy-modal .wbf-privacy-policy-close:focus-visible {
    background: var(--wbf-danger-hover, #a33125) !important;
    color: #ffffff !important;
    border-color: var(--wbf-danger-hover, #a33125) !important;
}
