@import url('./marketplace-dashboard.css?v=2.0.0');

.wg-jobs-marketplace-page {
    background: #ffffff;
}

.wg-jobs-shell {
    margin: 0 auto;
    max-width: 1180px;
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
}

.wg-jobs-hero {
    background: linear-gradient(180deg, #eff8fe 0%, #ffffff 100%);
    border-bottom: 1px solid #e1edf4;
    padding: 78px 0 62px;
}

.wg-jobs-hero__inner {
    max-width: 900px;
    text-align: center;
}

.wg-jobs-eyebrow {
    color: #048ce2;
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.wg-jobs-hero h1,
.wg-jobs-account__heading h1 {
    color: #152d3f;
    font-size: clamp(36px, 5vw, 54px);
    letter-spacing: -0.045em;
    line-height: 1.09;
    margin: 12px 0 18px;
}

.wg-jobs-hero p,
.wg-jobs-account__heading p {
    color: #607483;
    font-size: 17px;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 780px;
}

.wg-jobs-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    justify-content: center;
    margin-top: 27px;
}

.wg-jobs-btn {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    font-size: 14px;
    font-weight: 750;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.wg-jobs-btn--primary {
    background: #048ce2;
    color: #ffffff;
}

.wg-jobs-btn--primary:hover {
    background: #087dca;
    color: #ffffff;
}

.wg-jobs-btn--secondary {
    background: #ffffff;
    border-color: #bcd7e8;
    color: #176992;
}

.wg-jobs-btn--secondary:hover {
    background: #f3fafe;
    color: #135c81;
}

.wg-jobs-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    justify-content: center;
    margin-top: 35px;
}

.wg-jobs-trust span {
    align-items: center;
    color: #4c6373;
    display: flex;
    font-size: 13px;
    font-weight: 700;
    gap: 7px;
}

.wg-jobs-trust svg,
.wg-jobs-paths__icon svg,
.wg-jobs-form__icon svg,
.wg-jobs-upload svg {
    fill: none;
    height: 22px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 22px;
}

.wg-jobs-section {
    padding: 72px 0 80px;
}

.wg-jobs-heading {
    margin: 0 auto 32px;
    max-width: 760px;
    text-align: center;
}

.wg-jobs-heading > span {
    color: #048ce2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wg-jobs-heading h2 {
    color: #1b3344;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -0.035em;
    margin: 8px 0 11px;
}

.wg-jobs-heading p {
    color: #667988;
    line-height: 1.65;
    margin: 0;
}

.wg-jobs-paths {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr 1fr;
    margin: 0 auto;
    max-width: 900px;
}

.wg-jobs-paths article {
    background: #ffffff;
    border: 1px solid #dce7ed;
    border-radius: 6px;
    padding: 28px;
    text-align: center;
}

.wg-jobs-paths__icon,
.wg-jobs-form__icon {
    align-items: center;
    background: #e9f6fe;
    border-radius: 6px;
    color: #048ce2;
    display: inline-flex;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.wg-jobs-paths h3 {
    color: #203747;
    font-size: 20px;
    margin: 16px 0 9px;
}

.wg-jobs-paths p {
    color: #657887;
    line-height: 1.65;
    margin: 0;
}

.wg-jobs-paths a {
    color: #048ce2;
    display: inline-block;
    font-size: 14px;
    font-weight: 800;
    margin-top: 18px;
}

.wg-jobs-preview-stats {
    background: #f4f9fc;
    border: 1px solid #dceaf2;
    border-radius: 6px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 24px auto 0;
    max-width: 900px;
}

.wg-jobs-preview-stats > div {
    padding: 20px;
    text-align: center;
}

.wg-jobs-preview-stats > div + div {
    border-left: 1px solid #dce7ee;
}

.wg-jobs-preview-stats strong {
    color: #18364a;
    display: block;
    font-size: 23px;
}

.wg-jobs-preview-stats span {
    color: #687c8c;
    display: block;
    font-size: 12px;
    margin-top: 3px;
}

.wg-jobs-account {
    background: #f5f8fa;
    padding: 46px 0 72px;
}

.wg-jobs-form-shell {
    max-width: 940px;
}

.wg-jobs-account__heading {
    margin: 0 auto 30px;
    max-width: 760px;
    text-align: center;
}

.wg-jobs-account__heading h1 {
    font-size: clamp(32px, 5vw, 46px);
    margin-bottom: 12px;
}

.wg-jobs-status {
    background: #edf2f5;
    border-radius: 4px;
    color: #536776;
    display: inline-block;
    font-size: 12px;
    margin-top: 17px;
    padding: 7px 10px;
}

.wg-jobs-status.is-verified {
    background: #e7f7ee;
    color: #167546;
}

.wg-jobs-status.is-pending {
    background: #fff6df;
    color: #966517;
}

.wg-jobs-status.is-rejected,
.wg-jobs-status.is-suspended {
    background: #fff0f0;
    color: #ad3e3e;
}

.wg-jobs-form {
    display: grid;
    gap: 18px;
}

.wg-jobs-form > section {
    background: #ffffff;
    border: 1px solid #dfe8ee;
    border-radius: 6px;
    overflow: hidden;
}

.wg-jobs-form > section > header {
    align-items: center;
    border-bottom: 1px solid #e6edf1;
    display: flex;
    gap: 14px;
    padding: 20px 23px;
}

.wg-jobs-form > section > header h2 {
    color: #223a4b;
    font-size: 18px;
    margin: 0 0 3px;
}

.wg-jobs-form > section > header p {
    color: #718391;
    font-size: 13px;
    margin: 0;
}

.wg-jobs-form__body {
    padding: 24px;
}

.wg-jobs-fields {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr 1fr;
}

.wg-jobs-fields label,
.wg-jobs-form fieldset {
    margin: 0;
    min-width: 0;
}

.wg-jobs-fields label.is-wide {
    grid-column: 1 / -1;
}

.wg-jobs-fields label > span,
.wg-jobs-form legend {
    color: #405666;
    display: block;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 7px;
}

.wg-jobs-fields input,
.wg-jobs-fields select,
.wg-jobs-fields textarea {
    background: #ffffff;
    border: 1px solid #ccd9e1;
    border-radius: 5px;
    color: #263c4c;
    font-size: 14px;
    min-height: 44px;
    padding: 10px 12px;
    width: 100%;
}

.wg-jobs-fields textarea {
    line-height: 1.55;
    resize: vertical;
}

.wg-jobs-fields input:focus,
.wg-jobs-fields select:focus,
.wg-jobs-fields textarea:focus {
    border-color: #048ce2;
    box-shadow: 0 0 0 3px rgba(4, 140, 226, 0.1);
    outline: none;
}

.wg-jobs-fields label > small,
.wg-jobs-error {
    color: #b53d3d;
    display: block;
    font-size: 11px;
    margin-top: 5px;
}

.wg-jobs-form fieldset {
    border: 0;
    margin-bottom: 21px;
    padding: 0;
}

.wg-jobs-check-grid {
    display: grid;
    gap: 9px;
    grid-template-columns: repeat(3, 1fr);
}

.wg-jobs-check-grid label {
    align-items: center;
    border: 1px solid #d7e2e8;
    border-radius: 5px;
    color: #4d6272;
    cursor: pointer;
    display: flex;
    font-size: 13px;
    gap: 8px;
    padding: 11px;
}

.wg-jobs-check-grid input,
.wg-jobs-visibility input {
    accent-color: #048ce2;
}

.wg-jobs-upload {
    align-items: center;
    background: #f7fbfd;
    border: 1px dashed #a9cddd;
    border-radius: 5px;
    color: #048ce2;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    padding: 25px;
    text-align: center;
}

.wg-jobs-upload strong {
    color: #294657;
    margin-top: 8px;
}

.wg-jobs-upload span {
    color: #718492;
    font-size: 12px;
    margin-top: 3px;
}

.wg-jobs-upload input {
    margin-top: 13px;
    max-width: 290px;
}

.wg-jobs-current-file {
    align-items: center;
    background: #eef8fe;
    border-radius: 5px;
    display: flex;
    font-size: 13px;
    gap: 15px;
    justify-content: space-between;
    margin-top: 12px;
    padding: 12px 14px;
}

.wg-jobs-current-file span {
    color: #465e6e;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wg-jobs-current-file a {
    color: #048ce2;
    flex: 0 0 auto;
    font-weight: 800;
}

.wg-jobs-visibility {
    align-items: flex-start;
    border-top: 1px solid #e6edf1;
    display: flex;
    gap: 10px;
    margin-top: 19px;
    padding-top: 18px;
}

.wg-jobs-visibility input {
    margin-top: 4px;
}

.wg-jobs-visibility strong,
.wg-jobs-visibility small {
    display: block;
}

.wg-jobs-visibility strong {
    color: #385061;
    font-size: 13px;
}

.wg-jobs-visibility small {
    color: #718492;
    font-size: 11px;
    margin-top: 3px;
}

.wg-jobs-form__submit {
    text-align: center;
}

.wg-jobs-review-note {
    background: #fff6e7;
    border: 1px solid #f1d49e;
    border-radius: 5px;
    color: #76551e;
    margin-bottom: 18px;
    padding: 16px 18px;
}

.wg-jobs-review-note p {
    margin: 4px 0 0;
}

.wg-jobs-submit-review {
    align-items: center;
    background: #edf8fe;
    border: 1px solid #cce7f6;
    border-radius: 6px;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-top: 18px;
    padding: 20px;
}

.wg-jobs-submit-review strong {
    color: #294657;
}

.wg-jobs-submit-review p {
    color: #657b8a;
    font-size: 12px;
    margin: 4px 0 0;
}

@media (max-width: 760px) {
    .wg-jobs-hero {
        padding: 54px 0 46px;
    }

    .wg-jobs-paths,
    .wg-jobs-fields {
        grid-template-columns: 1fr;
    }

    .wg-jobs-fields label.is-wide {
        grid-column: auto;
    }

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

    .wg-jobs-preview-stats {
        grid-template-columns: 1fr;
    }

    .wg-jobs-preview-stats > div + div {
        border-left: 0;
        border-top: 1px solid #dce7ee;
    }

    .wg-jobs-submit-review {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 500px) {
    .wg-jobs-shell {
        padding-left: 16px;
        padding-right: 16px;
    }

    .wg-jobs-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .wg-jobs-actions .wg-jobs-btn,
    .wg-jobs-submit-review .wg-jobs-btn {
        width: 100%;
    }

    .wg-jobs-trust {
        align-items: flex-start;
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
        max-width: 235px;
    }

    .wg-jobs-account {
        padding: 30px 0 50px;
    }

    .wg-jobs-form > section > header {
        align-items: flex-start;
        padding: 18px;
    }

    .wg-jobs-form__body {
        padding: 18px;
    }

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

/* Fase Empleos 5: guardados y alertas */
.wg-job-card__header {
    align-items: flex-start;
    display: flex;
    gap: 18px;
    justify-content: space-between;
}

.wg-job-card__header form,
.wg-job-detail-save,
.wg-alert-card__actions form,
.wg-saved-jobs form {
    margin: 0;
}

.wg-job-save {
    align-items: center;
    background: #ffffff;
    border: 1px solid #cddce5;
    border-radius: 5px;
    color: #526b7b;
    cursor: pointer;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 800;
    gap: 7px;
    min-height: 38px;
    padding: 8px 12px;
}

.wg-job-save svg {
    fill: none;
    height: 17px;
    stroke: currentColor;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 17px;
}

.wg-job-save:hover,
.wg-job-save.is-saved {
    background: #edf8fe;
    border-color: #8dcaef;
    color: #047fc9;
}

.wg-job-save.is-saved svg {
    fill: #048ce2;
}

.wg-job-detail-save {
    border-bottom: 1px solid #e2eaf0;
    margin-bottom: 18px;
    padding-bottom: 18px;
}

.wg-job-detail-save .wg-job-save {
    justify-content: center;
    width: 100%;
}

.wg-jobs-results-head__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
}

.wg-alert-create,
.wg-alert-section {
    background: #ffffff;
    border: 1px solid #dce7ed;
    border-radius: 6px;
    margin-bottom: 22px;
    padding: 26px;
}

.wg-alert-create__intro {
    align-items: center;
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
}

.wg-alert-create__intro > svg {
    background: #eaf7fe;
    border-radius: 50%;
    fill: none;
    height: 46px;
    padding: 11px;
    stroke: #048ce2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 46px;
}

.wg-alert-create h2,
.wg-alert-section h2 {
    color: #203b4d;
    font-size: 21px;
    margin: 0 0 5px;
}

.wg-alert-create__intro p {
    color: #687c8a;
    font-size: 13px;
    margin: 0;
}

.wg-alert-form {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wg-alert-form > label > span,
.wg-alert-channels > span {
    color: #314c5e;
    display: block;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 7px;
}

.wg-alert-form input:not([type="checkbox"]),
.wg-alert-form select {
    background: #ffffff;
    border: 1px solid #ccdbe4;
    border-radius: 5px;
    color: #263f4f;
    min-height: 44px;
    padding: 9px 11px;
    width: 100%;
}

.wg-alert-form label small {
    color: #b44848;
    display: block;
    font-size: 11px;
    margin-top: 5px;
}

.wg-alert-form__wide {
    grid-column: span 3;
}

.wg-alert-channels {
    align-items: center;
    background: #f5f9fb;
    border: 1px solid #e0e9ee;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    padding: 14px;
}

.wg-alert-channels > span {
    margin: 0;
    width: 100%;
}

.wg-alert-channels label,
.wg-alert-card__actions label {
    align-items: center;
    color: #526b7a;
    display: inline-flex;
    font-size: 12px;
    gap: 6px;
}

.wg-alert-form__submit {
    align-items: center;
    display: flex;
    gap: 14px;
}

.wg-alert-form__submit small {
    color: #748794;
}

.wg-alert-section__heading {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

.wg-alert-section__heading span {
    color: #048ce2;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.wg-alert-list,
.wg-saved-jobs {
    display: grid;
    gap: 12px;
}

.wg-alert-card,
.wg-saved-jobs > article {
    align-items: center;
    border: 1px solid #dfe8ed;
    border-radius: 5px;
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 18px;
}

.wg-alert-card.is-paused {
    background: #f7f9fa;
    opacity: .78;
}

.wg-alert-card__title {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.wg-alert-card__title h3,
.wg-saved-jobs h3 {
    color: #244052;
    font-size: 17px;
    margin: 0;
}

.wg-alert-card__title > span {
    background: #e9f7ef;
    border-radius: 4px;
    color: #278653;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 7px;
    text-transform: uppercase;
}

.wg-alert-card.is-paused .wg-alert-card__title > span {
    background: #e9edef;
    color: #667983;
}

.wg-alert-card__criteria {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 8px;
}

.wg-alert-card__criteria span {
    background: #eff5f8;
    border-radius: 4px;
    color: #526b7a;
    font-size: 11px;
    padding: 5px 8px;
}

.wg-alert-card__main small,
.wg-saved-jobs p,
.wg-saved-jobs > article > div > span {
    color: #718390;
    font-size: 12px;
    margin: 0;
}

.wg-alert-card__actions {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.wg-alert-card__actions form:first-child {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    justify-content: flex-end;
}

.wg-alert-card__actions button,
.wg-saved-jobs button {
    background: transparent;
    border: 0;
    color: #048ce2;
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
    padding: 4px;
}

.wg-alert-card__actions .is-danger,
.wg-saved-jobs button {
    color: #b44848;
}

.wg-saved-jobs h3 {
    margin: 5px 0;
}

.wg-saved-jobs h3 a {
    color: inherit;
}

@media (max-width: 800px) {
    .wg-alert-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wg-alert-form__wide {
        grid-column: span 2;
    }

    .wg-alert-card,
    .wg-saved-jobs > article {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }

    .wg-alert-card__actions {
        align-items: flex-start;
        border-top: 1px solid #e3eaee;
        padding-top: 12px;
        width: 100%;
    }

    .wg-alert-card__actions form:first-child {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .wg-job-card__header,
    .wg-jobs-results-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .wg-alert-create,
    .wg-alert-section {
        padding: 18px;
    }

    .wg-alert-form {
        grid-template-columns: 1fr;
    }

    .wg-alert-form__wide {
        grid-column: auto;
    }

    .wg-alert-form__submit {
        align-items: stretch;
        flex-direction: column;
    }

    .wg-alert-form__submit .wg-jobs-btn,
    .wg-job-card__header form,
    .wg-job-card__header .wg-job-save {
        width: 100%;
    }

    .wg-job-card__header .wg-job-save {
        justify-content: center;
    }
}

/* Fase Empleos 4: gestión empresarial de candidatos */
.wg-applications-list > .wg-jobs-empty > .wg-jobs-btn {
    margin-top: 16px;
}

.wg-candidate-summary {
    background: #ffffff;
    border: 1px solid #dce7ed;
    border-radius: 6px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 16px;
}

.wg-candidate-summary > div {
    padding: 18px;
    text-align: center;
}

.wg-candidate-summary > div + div {
    border-left: 1px solid #e2eaee;
}

.wg-candidate-summary strong,
.wg-candidate-summary span {
    display: block;
}

.wg-candidate-summary strong {
    color: #173d54;
    font-size: 23px;
}

.wg-candidate-summary span {
    color: #718491;
    font-size: 11px;
    margin-top: 3px;
    text-transform: uppercase;
}

.wg-candidate-filters {
    align-items: end;
    background: #ffffff;
    border: 1px solid #dce7ed;
    border-radius: 6px;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1.5fr) minmax(180px, 0.7fr) auto auto;
    margin-bottom: 16px;
    padding: 18px;
}

.wg-candidate-filters label > span,
.wg-candidate-actions label > span,
.wg-candidate-actions > section > span {
    color: #536979;
    display: block;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.wg-candidate-filters input,
.wg-candidate-filters select,
.wg-candidate-actions select,
.wg-candidate-actions textarea {
    background: #ffffff;
    border: 1px solid #cad9e2;
    border-radius: 5px;
    color: #263e4e;
    min-height: 44px;
    padding: 10px 12px;
    width: 100%;
}

.wg-candidate-filters > a {
    color: #048ce2;
    font-size: 12px;
    font-weight: 800;
    padding: 12px 2px;
}

.wg-employer-candidates {
    display: grid;
    gap: 12px;
}

.wg-employer-candidates > article {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dce7ed;
    border-radius: 6px;
    display: grid;
    gap: 15px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 20px;
}

.wg-candidate-avatar {
    align-items: center;
    background: #eaf6fd;
    border: 1px solid #cde6f4;
    border-radius: 50%;
    color: #048ce2;
    display: flex;
    font-size: 20px;
    font-weight: 850;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.wg-candidate-card__main h2 {
    color: #203849;
    font-size: 19px;
    margin: 8px 0 4px;
}

.wg-candidate-card__main > p {
    color: #687b8a;
    margin: 0;
}

.wg-application-status--reviewing {
    background: #e8f3fb;
    color: #176d9b;
}

.wg-application-status--shortlisted,
.wg-application-status--interview {
    background: #fff5da;
    color: #8c6415;
}

.wg-application-status--rejected {
    background: #fff0f0;
    color: #a64343;
}

.wg-application-status--hired {
    background: #dff6e9;
    color: #117345;
}

.wg-candidate-detail-shell {
    max-width: 1120px;
}

.wg-candidate-detail {
    align-items: start;
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) 340px;
}

.wg-candidate-detail__content,
.wg-candidate-actions {
    display: grid;
    gap: 16px;
}

.wg-candidate-detail__content > section,
.wg-candidate-actions > section {
    background: #ffffff;
    border: 1px solid #dce7ed;
    border-radius: 6px;
    padding: 22px;
}

.wg-candidate-detail__content h2,
.wg-candidate-actions h2 {
    color: #203849;
    font-size: 18px;
    margin: 0 0 14px;
}

.wg-candidate-detail__content > section > p,
.wg-screening-answers p,
.wg-private-notes p {
    color: #607584;
    line-height: 1.65;
    margin: 0;
}

.wg-candidate-profile-facts {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 18px;
}

.wg-candidate-profile-facts div {
    background: #f4f8fa;
    border-radius: 5px;
    padding: 12px;
}

.wg-candidate-profile-facts span,
.wg-candidate-profile-facts strong {
    display: block;
}

.wg-candidate-profile-facts span {
    color: #738592;
    font-size: 10px;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.wg-candidate-profile-facts strong {
    color: #294657;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.wg-screening-answers {
    display: grid;
    gap: 13px;
}

.wg-screening-answers > div {
    border-bottom: 1px solid #e4ecef;
    padding-bottom: 13px;
}

.wg-screening-answers strong {
    color: #304c5d;
    display: block;
    font-size: 13px;
    margin-bottom: 5px;
}

.wg-candidate-actions > section > .wg-application-status {
    display: inline-block;
    margin-bottom: 15px;
}

.wg-candidate-actions .wg-jobs-btn {
    margin-top: 12px;
    width: 100%;
}

.wg-candidate-actions > section > small {
    color: #758895;
    display: block;
    font-size: 10px;
    line-height: 1.5;
    margin-top: 7px;
}

.wg-candidate-actions form {
    display: grid;
    gap: 12px;
}

.wg-candidate-actions textarea {
    line-height: 1.55;
    resize: vertical;
}

.wg-private-notes {
    display: grid;
    gap: 9px;
    margin-top: 16px;
}

.wg-private-notes > div {
    background: #f4f8fa;
    border-radius: 5px;
    padding: 11px;
}

.wg-private-notes small,
.wg-application-timeline small {
    color: #7b8c97;
    display: block;
    font-size: 10px;
    margin-top: 4px;
}

.wg-application-timeline {
    display: grid;
    gap: 0;
}

.wg-application-timeline > div {
    border-left: 2px solid #d6e7ef;
    padding: 0 0 19px 19px;
    position: relative;
}

.wg-application-timeline > div > span {
    background: #048ce2;
    border: 3px solid #eaf6fd;
    border-radius: 50%;
    height: 12px;
    left: -7px;
    position: absolute;
    top: 2px;
    width: 12px;
}

.wg-application-timeline > div > strong {
    color: #2c495a;
    display: block;
    font-size: 13px;
}

.wg-application-timeline p {
    color: #607584;
    font-size: 12px;
    margin: 6px 0 0;
}

.wg-candidate-status-message {
    background: #eef8fe;
    border-left: 3px solid #048ce2;
    border-radius: 4px;
    margin-top: 12px;
    max-width: 610px;
    padding: 10px 12px;
}

.wg-candidate-status-message strong {
    color: #28536a;
    font-size: 11px;
}

.wg-candidate-status-message p {
    color: #5e7482;
    font-size: 12px;
    margin: 3px 0 0;
}

.wg-jobs-list__actions .is-primary {
    color: #087fbf;
}

@media (max-width: 900px) {
    .wg-candidate-detail {
        grid-template-columns: 1fr;
    }

    .wg-candidate-filters {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 650px) {
    .wg-candidate-summary {
        grid-template-columns: 1fr 1fr;
    }

    .wg-candidate-summary > div:nth-child(3) {
        border-left: 0;
        border-top: 1px solid #e2eaee;
    }

    .wg-candidate-summary > div:nth-child(4) {
        border-top: 1px solid #e2eaee;
    }

    .wg-candidate-filters,
    .wg-employer-candidates > article,
    .wg-candidate-profile-facts {
        grid-template-columns: 1fr;
    }

    .wg-employer-candidates > article > .wg-jobs-btn {
        width: 100%;
    }
}

/* Fase Empleos 3: catálogo, ficha y postulaciones */
.wg-jobs-hero--catalog {
    padding-bottom: 54px;
}

.wg-jobs-search {
    background: #ffffff;
    border: 1px solid #d6e5ed;
    border-radius: 6px;
    box-shadow: 0 12px 35px rgba(24, 59, 81, 0.08);
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1.5fr) minmax(180px, 0.7fr) auto;
    margin: 30px auto 0;
    max-width: 850px;
    padding: 10px;
}

.wg-jobs-search input,
.wg-jobs-search select,
.wg-jobs-filters input,
.wg-jobs-filters select,
.wg-job-application-form textarea {
    background: #ffffff;
    border: 1px solid #cad9e2;
    border-radius: 5px;
    color: #263e4e;
    min-height: 44px;
    padding: 10px 12px;
    width: 100%;
}

.wg-jobs-search input:focus,
.wg-jobs-search select:focus,
.wg-jobs-filters input:focus,
.wg-jobs-filters select:focus,
.wg-job-application-form textarea:focus {
    border-color: #048ce2;
    box-shadow: 0 0 0 3px rgba(4, 140, 226, 0.1);
    outline: none;
}

.wg-jobs-catalog {
    background: #f5f8fa;
    padding-top: 36px;
}

.wg-jobs-filters {
    align-items: end;
    background: #ffffff;
    border: 1px solid #dce7ed;
    border-radius: 6px;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, 1fr);
    padding: 20px;
}

.wg-jobs-filters label > span {
    color: #536979;
    display: block;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.wg-jobs-filters__actions {
    align-items: center;
    display: flex;
    gap: 15px;
}

.wg-jobs-filters__actions a,
.wg-jobs-results-head > a,
.wg-job-detail__content a,
.wg-job-apply__notice a,
.wg-application-actions a {
    color: #048ce2;
    font-size: 13px;
    font-weight: 800;
}

.wg-jobs-results-head {
    align-items: end;
    display: flex;
    justify-content: space-between;
    margin: 32px 0 16px;
}

.wg-jobs-results-head span {
    color: #048ce2;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.wg-jobs-results-head h2 {
    color: #1d3748;
    font-size: 27px;
    margin: 5px 0 0;
}

.wg-jobs-list > .wg-job-card {
    align-items: stretch;
    display: block;
    padding: 24px;
}

.wg-job-card__top {
    align-items: center;
    display: flex;
    gap: 13px;
}

.wg-job-company-mark {
    align-items: center;
    background: #eaf6fd;
    border: 1px solid #cde6f4;
    border-radius: 5px;
    color: #048ce2;
    display: flex;
    flex: 0 0 48px;
    font-size: 20px;
    font-weight: 850;
    height: 48px;
    justify-content: center;
}

.wg-job-card__top h3 {
    font-size: 20px;
    margin: 0 0 4px;
}

.wg-job-card__top h3 a {
    color: #1e3748;
}

.wg-job-card__top p,
.wg-job-card__summary {
    color: #677b89;
    margin: 0;
}

.wg-job-verified {
    color: #168454;
    font-size: 11px;
    font-weight: 800;
}

.wg-job-card__summary {
    line-height: 1.6;
    margin-top: 17px;
}

.wg-job-card__meta,
.wg-job-card__skills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 15px;
}

.wg-job-card__meta span {
    color: #4f6878;
    font-size: 12px;
    font-weight: 700;
}

.wg-job-card__meta span + span::before {
    color: #9bacb6;
    content: "·";
    margin-right: 7px;
}

.wg-job-card__skills span {
    background: #eef6fa;
    border-radius: 4px;
    color: #37647b;
    font-size: 11px;
    padding: 5px 8px;
}

.wg-job-card footer {
    align-items: center;
    border-top: 1px solid #e4ecef;
    display: flex;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 16px;
}

.wg-job-card footer strong {
    color: #173d54;
    font-size: 14px;
}

.wg-job-card footer > span {
    color: #748794;
    font-size: 12px;
}

.wg-jobs-empty > svg {
    fill: none;
    height: 38px;
    stroke: #048ce2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    width: 38px;
}

.wg-jobs-pagination {
    margin-top: 24px;
}

.wg-job-detail__hero {
    background: linear-gradient(180deg, #eff8fe 0%, #ffffff 100%);
    border-bottom: 1px solid #e1edf4;
    padding: 42px 0 45px;
}

.wg-job-back {
    color: #4d7185;
    display: inline-block;
    font-size: 13px;
    font-weight: 750;
    margin-bottom: 28px;
}

.wg-job-detail__title {
    align-items: flex-start;
    display: flex;
    gap: 18px;
    margin: 0 auto;
    max-width: 980px;
}

.wg-job-detail__title .wg-job-company-mark {
    flex-basis: 62px;
    font-size: 24px;
    height: 62px;
}

.wg-job-detail__title h1 {
    color: #183244;
    font-size: clamp(32px, 5vw, 48px);
    letter-spacing: -0.04em;
    margin: 8px 0 12px;
}

.wg-job-detail__layout {
    align-items: start;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) 340px;
    max-width: 1050px;
}

.wg-job-detail__content {
    display: grid;
    gap: 16px;
}

.wg-job-detail__content article,
.wg-job-apply {
    background: #ffffff;
    border: 1px solid #dfe8ee;
    border-radius: 6px;
    padding: 25px;
}

.wg-job-detail__content h2,
.wg-job-apply h2 {
    color: #203849;
    font-size: 20px;
    margin: 0 0 13px;
}

.wg-job-detail__content p,
.wg-job-apply p {
    color: #607584;
    line-height: 1.7;
    margin: 0;
}

.wg-job-apply {
    position: sticky;
    top: 20px;
}

.wg-job-apply__facts {
    border-bottom: 1px solid #e1e9ed;
    display: grid;
    gap: 13px;
    margin-bottom: 21px;
    padding-bottom: 19px;
}

.wg-job-apply__facts div {
    display: flex;
    gap: 15px;
    justify-content: space-between;
}

.wg-job-apply__facts span {
    color: #718592;
    font-size: 12px;
}

.wg-job-apply__facts strong {
    color: #294657;
    font-size: 12px;
    text-align: right;
}

.wg-job-apply .wg-jobs-btn {
    margin-top: 17px;
    width: 100%;
}

.wg-job-application-form {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.wg-job-application-form label > span {
    color: #3e5666;
    display: block;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 6px;
}

.wg-job-application-form textarea {
    line-height: 1.55;
    resize: vertical;
}

.wg-job-application-form small,
.wg-job-application-form label > small {
    color: #758895;
    display: block;
    font-size: 11px;
    margin-top: 5px;
}

.wg-job-application-form label > small {
    color: #b53d3d;
}

.wg-job-apply__notice {
    background: #eef8fe;
    border-radius: 5px;
    padding: 16px;
}

.wg-job-apply__notice strong {
    color: #234b62;
}

.wg-applications-list {
    display: grid;
    gap: 13px;
}

.wg-applications-list > article {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dfe8ee;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    padding: 22px;
}

.wg-applications-list h2 {
    font-size: 19px;
    margin: 8px 0 5px;
}

.wg-applications-list h2 a {
    color: #203849;
}

.wg-applications-list p {
    color: #6b7f8d;
    font-size: 13px;
    margin: 0;
}

.wg-application-status {
    background: #e8f6ee;
    border-radius: 4px;
    color: #187549;
    font-size: 10px;
    font-weight: 850;
    padding: 5px 8px;
    text-transform: uppercase;
}

.wg-application-status--withdrawn {
    background: #eef1f3;
    color: #657680;
}

.wg-application-actions {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wg-application-actions form {
    margin: 0;
}

.wg-application-actions button {
    background: transparent;
    border: 0;
    color: #ad4545;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    padding: 0;
}

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

    .wg-job-detail__layout {
        grid-template-columns: 1fr;
    }

    .wg-job-apply {
        position: static;
    }
}

@media (max-width: 650px) {
    .wg-jobs-search,
    .wg-jobs-filters {
        grid-template-columns: 1fr;
    }

    .wg-jobs-results-head,
    .wg-job-card footer,
    .wg-applications-list > article {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .wg-job-detail__title {
        flex-direction: column;
    }

    .wg-job-detail__content article,
    .wg-job-apply,
    .wg-job-card {
        padding: 19px;
    }

    .wg-application-actions {
        align-items: flex-start;
        border-top: 1px solid #e4ecef;
        padding-top: 12px;
        width: 100%;
    }
}

/* Fase Empleos 2: publicación y moderación */
.wg-jobs-list-heading {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 28px;
}

.wg-jobs-list-heading h1 {
    color: #183244;
    font-size: clamp(30px, 4vw, 44px);
    letter-spacing: -0.04em;
    margin: 8px 0 7px;
}

.wg-jobs-list-heading p {
    color: #687b8a;
    margin: 0;
}

.wg-jobs-company-gate {
    align-items: center;
    background: #eef8fe;
    border: 1px solid #cde8f7;
    border-radius: 6px;
    display: grid;
    gap: 17px;
    grid-template-columns: auto 1fr auto;
    margin-bottom: 20px;
    padding: 20px;
}

.wg-jobs-company-gate h2 {
    color: #294657;
    font-size: 17px;
    margin: 0 0 4px;
}

.wg-jobs-company-gate p {
    color: #657b8a;
    font-size: 13px;
    margin: 0;
}

.wg-jobs-list {
    display: grid;
    gap: 14px;
}

.wg-jobs-list > article {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dfe8ee;
    border-radius: 6px;
    display: grid;
    gap: 22px;
    grid-template-columns: 1fr auto;
    padding: 22px;
}

.wg-jobs-list__main h2 {
    color: #203849;
    font-size: 19px;
    margin: 10px 0 5px;
}

.wg-jobs-list__main > p {
    color: #687b8a;
    line-height: 1.55;
    margin: 0;
}

.wg-jobs-list__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 13px;
}

.wg-jobs-list__facts span {
    background: #f0f5f8;
    border-radius: 4px;
    color: #5a7080;
    font-size: 11px;
    padding: 5px 8px;
}

.wg-jobs-list__actions {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.wg-jobs-list__actions form {
    margin: 0;
}

.wg-jobs-list__actions a,
.wg-jobs-list__actions button {
    background: transparent;
    border: 0;
    color: #048ce2;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    padding: 2px;
}

.wg-jobs-list__actions .is-danger {
    color: #b44848;
}

.wg-jobs-empty {
    background: #ffffff;
    border: 1px solid #dfe8ee;
    border-radius: 6px;
    padding: 48px 22px;
    text-align: center;
}

.wg-jobs-empty h2 {
    color: #294253;
    font-size: 20px;
    margin: 15px 0 7px;
}

.wg-jobs-empty p {
    color: #6d7f8d;
    margin: 0;
}

.wg-jobs-form__submit {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.wg-jobs-help {
    color: #758795 !important;
}

@media (max-width: 700px) {
    .wg-jobs-list-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .wg-jobs-list-heading .wg-jobs-btn {
        width: 100%;
    }

    .wg-jobs-company-gate,
    .wg-jobs-list > article {
        grid-template-columns: 1fr;
    }

    .wg-jobs-list__actions {
        align-items: flex-start;
        border-top: 1px solid #e5ecef;
        padding-top: 14px;
    }
}

@media (max-width: 500px) {
    .wg-jobs-form__submit {
        align-items: stretch;
        flex-direction: column;
    }

    .wg-jobs-form__submit .wg-jobs-btn {
        width: 100%;
    }
}

/* La tarjeta pública conserva una sola columna; la grilla de Fase 2 es para Mis ofertas. */
.wg-jobs-catalog .wg-jobs-list > .wg-job-card {
    display: block;
}

/* Navegación centrada del módulo */
.wg-jobs-module-nav {
    background: #ffffff;
    border-bottom: 1px solid #dfe8ed;
    border-top: 1px solid #e7edf1;
}

.wg-jobs-module-nav__scroll {
    align-items: center;
    display: flex;
    gap: 4px;
    justify-content: center;
    min-height: 58px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.wg-jobs-module-nav a {
    border-bottom: 2px solid transparent;
    color: #587080;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 750;
    padding: 19px 11px 16px;
    white-space: nowrap;
}

.wg-jobs-module-nav a:hover,
.wg-jobs-module-nav a.is-active {
    border-bottom-color: #048ce2;
    color: #047fc9;
}

.wg-jobs-account > .wg-jobs-module-nav {
    margin-bottom: 34px;
    margin-top: -46px;
}

.wg-jobs-empty > .wg-jobs-btn {
    margin-top: 16px;
}

@media (max-width: 900px) {
    .wg-jobs-module-nav__scroll {
        justify-content: flex-start;
    }
}

@media (max-width: 500px) {
    .wg-jobs-account > .wg-jobs-module-nav {
        margin-top: -30px;
    }

    .wg-jobs-module-nav .wg-jobs-shell {
        padding-left: 12px;
        padding-right: 12px;
    }

    .wg-jobs-module-nav a {
        padding-left: 9px;
        padding-right: 9px;
    }
}

/* Corrección exclusiva del buscador principal: neutraliza el margen global de label. */
.wg-jobs-search > label {
    align-items: stretch;
    display: flex;
    margin: 0 !important;
}

.wg-jobs-search > label > input,
.wg-jobs-search > label > select,
.wg-jobs-search > .wg-jobs-btn {
    height: 100%;
    margin: 0;
    min-height: 52px;
}
