/* ==========================================================================
   Wazu Empleos - Frontend Styles
   Fundación Wazú - Bolsa de trabajo inclusiva
   Colors: primary #5C4096, accent #B81C46, success #2E9E6E, warning #D4882E, info #3C7CB7
   ========================================================================== */

/* ---------- Reset & Base ---------- */
.wazu-empleos-ofertas,
.wazu-empleos-oferta-single,
.wazu-empleos-auth,
.wazu-empleos-perfil,
.wazu-empleos-postulaciones,
.wazu-empleos-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    box-sizing: border-box;
}

.wazu-empleos-ofertas *,
.wazu-empleos-oferta-single *,
.wazu-empleos-auth *,
.wazu-empleos-perfil *,
.wazu-empleos-postulaciones *,
.wazu-empleos-dashboard * {
    box-sizing: border-box;
}

/* ---------- Buttons ---------- */
.wazu-empleos-btn {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid transparent;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    line-height: 1.4;
}

.wazu-empleos-btn--primary,
a.wazu-empleos-btn--primary,
a.wazu-empleos-btn--primary:visited {
    background-color: #5C4096 !important;
    color: #fff !important;
    border-color: #5C4096 !important;
}
.wazu-empleos-btn--primary:hover,
a.wazu-empleos-btn--primary:hover {
    background-color: #4a3378 !important;
    border-color: #4a3378 !important;
    color: #fff !important;
}

.wazu-empleos-btn--outline,
a.wazu-empleos-btn--outline,
a.wazu-empleos-btn--outline:visited {
    background-color: transparent !important;
    color: #5C4096 !important;
    border-color: #5C4096 !important;
}
.wazu-empleos-btn--outline:hover,
a.wazu-empleos-btn--outline:hover {
    background-color: #5C4096 !important;
    color: #fff !important;
}

.wazu-empleos-btn--secondary,
a.wazu-empleos-btn--secondary,
a.wazu-empleos-btn--secondary:visited {
    background-color: #333 !important;
    color: #fff !important;
    border-color: #333 !important;
}
.wazu-empleos-btn--secondary:hover,
a.wazu-empleos-btn--secondary:hover {
    background-color: #555 !important;
    color: #fff !important;
}

.wazu-empleos-btn--danger,
a.wazu-empleos-btn--danger,
a.wazu-empleos-btn--danger:visited {
    background-color: #B81C46 !important;
    color: #fff !important;
    border-color: #B81C46 !important;
}
.wazu-empleos-btn--danger:hover,
a.wazu-empleos-btn--danger:hover {
    background-color: #9a1639 !important;
    color: #fff !important;
}

.wazu-empleos-btn--small {
    padding: 6px 14px;
    font-size: 13px;
}

.wazu-empleos-btn--large {
    padding: 14px 32px;
    font-size: 16px;
}

.wazu-empleos-btn--full {
    display: block;
    width: 100%;
}

.wazu-empleos-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ---------- Forms ---------- */
.wazu-empleos-form {
    max-width: 700px;
}

.wazu-empleos-form-group {
    margin-bottom: 20px;
}

.wazu-empleos-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.wazu-empleos-form-group--inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.wazu-empleos-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.wazu-empleos-input,
.wazu-empleos-select,
.wazu-empleos-textarea {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    color: #333;
    background: #fff;
    transition: border-color 0.2s;
}

.wazu-empleos-input:focus,
.wazu-empleos-select:focus,
.wazu-empleos-textarea:focus {
    outline: none;
    border-color: #5C4096;
    box-shadow: 0 0 0 3px rgba(92, 64, 150, 0.15);
}

.wazu-empleos-textarea {
    resize: vertical;
    min-height: 80px;
}

.wazu-empleos-required {
    color: #B81C46;
}

.wazu-empleos-help {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: #777;
}

.wazu-empleos-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
}

.wazu-empleos-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #5C4096;
}

.wazu-empleos-link {
    color: #5C4096;
    text-decoration: none;
}
.wazu-empleos-link:hover {
    text-decoration: underline;
}

/* ---------- Alerts / Notices ---------- */
.wazu-empleos-aviso {
    padding: 16px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 15px;
}

.wazu-empleos-aviso--success {
    background-color: #e8f5e9;
    border-left: 4px solid #2E9E6E;
    color: #1b5e20;
}

.wazu-empleos-aviso--error {
    background-color: #fdecea;
    border-left: 4px solid #B81C46;
    color: #7f1d1d;
}

.wazu-empleos-aviso--warning {
    background-color: #fff8e1;
    border-left: 4px solid #D4882E;
    color: #7c4a03;
}

.wazu-empleos-aviso--cta {
    background-color: #f3eff8;
    border-left: 4px solid #5C4096;
    color: #333;
    text-align: center;
    padding: 30px;
}

.wazu-empleos-aviso__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.wazu-empleos-aviso--info {
    background-color: #e3f2fd;
    border-left: 4px solid #3C7CB7;
    color: #0d47a1;
}

.wazu-empleos-aviso a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}

/* ---------- Filter Bar ---------- */
.wazu-empleos-filter-bar {
    background: #f8f6fc;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 24px;
    border: 1px solid #e8e2f2;
}

.wazu-empleos-filter-bar__row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.wazu-empleos-filter-bar__field {
    flex: 1 1 200px;
}

.wazu-empleos-filter-bar__field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #555;
}

.wazu-empleos-filter-bar__field .wazu-empleos-input,
.wazu-empleos-filter-bar__field .wazu-empleos-select {
    width: 100%;
    height: 44px;
    box-sizing: border-box;
}

.wazu-empleos-filter-bar__field .wazu-empleos-btn {
    width: 100%;
    height: 44px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 44px !important;
    box-sizing: border-box;
}

/* ---------- Toolbar (count + view toggle) ---------- */
.wazu-empleos-ofertas__toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.wazu-empleos-ofertas__count {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* ---------- View Toggle ---------- */
.wazu-empleos-view-toggle {
    display: flex;
    gap: 4px;
    background: #f0f0f0;
    padding: 4px;
    border-radius: 6px;
}

.wazu-empleos-view-toggle__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    color: #999;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    font-size: 16px;
}

.wazu-empleos-view-toggle__btn:hover {
    color: #5C4096;
    background: rgba(92, 64, 150, 0.08);
}

.wazu-empleos-view-toggle__btn--active {
    background: #fff !important;
    color: #5C4096 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

/* ---------- Card Grid ---------- */
.wazu-empleos-ofertas__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.wazu-empleos-ofertas__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #777;
    background: #f9f9f9;
    border-radius: 8px;
}

.wazu-empleos-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.wazu-empleos-card:hover {
    box-shadow: 0 4px 12px rgba(92, 64, 150, 0.12);
    border-color: #5C4096;
}

.wazu-empleos-card__header {
    margin-bottom: 12px;
}

.wazu-empleos-card__title {
    margin: 0 0 4px;
    font-size: 17px;
    line-height: 1.3;
}

.wazu-empleos-card__title a {
    color: #5C4096;
    text-decoration: none;
}
.wazu-empleos-card__title a:hover {
    text-decoration: underline;
}

.wazu-empleos-card__empresa {
    color: #666;
    font-size: 14px;
}

.wazu-empleos-card__body {
    flex: 1;
    margin-bottom: 12px;
}

.wazu-empleos-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.wazu-empleos-card__renta {
    font-weight: 600;
    color: #2E9E6E;
    font-size: 14px;
    margin: 0;
}

.wazu-empleos-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.wazu-empleos-card__fecha {
    font-size: 13px;
    color: #999;
}

/* ---------- List View ---------- */
.wazu-empleos-ofertas__grid--list {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
}

.wazu-empleos-ofertas__grid--list .wazu-empleos-card {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    align-items: center;
    gap: 16px;
    padding: 12px 18px !important;
    min-height: 0 !important;
}

.wazu-empleos-ofertas__grid--list .wazu-empleos-card__header {
    flex: 0 0 220px;
    padding: 0 !important;
    border-bottom: none !important;
    margin: 0 !important;
    min-height: 0 !important;
}

.wazu-empleos-ofertas__grid--list .wazu-empleos-card__title {
    font-size: 15px !important;
    margin: 0 0 2px !important;
}

.wazu-empleos-ofertas__grid--list .wazu-empleos-card__empresa {
    font-size: 13px;
    margin: 0 !important;
}

.wazu-empleos-ofertas__grid--list .wazu-empleos-card__body {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
}

.wazu-empleos-ofertas__grid--list .wazu-empleos-card__body .wazu-empleos-card__renta {
    display: none;
}

.wazu-empleos-ofertas__grid--list .wazu-empleos-card__tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.wazu-empleos-ofertas__grid--list .wazu-empleos-card__tags .wazu-empleos-tag {
    font-size: 11px !important;
    padding: 2px 8px !important;
}

.wazu-empleos-ofertas__grid--list .wazu-empleos-card__renta {
    margin: 0 !important;
    white-space: nowrap;
    font-size: 13px;
}

.wazu-empleos-ofertas__grid--list .wazu-empleos-card__footer {
    flex: 0 0 auto;
    padding: 0 !important;
    border-top: none !important;
    margin: 0 !important;
    gap: 10px;
}

.wazu-empleos-ofertas__grid--list .wazu-empleos-card__fecha {
    font-size: 12px;
}

/* ---------- Tags ---------- */
.wazu-empleos-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.wazu-empleos-tag--region {
    background: #e8e2f2;
    color: #5C4096;
}

.wazu-empleos-tag--modalidad {
    background: #e3f2fd;
    color: #3C7CB7;
}

.wazu-empleos-tag--jornada {
    background: #e8f5e9;
    color: #2E9E6E;
}

.wazu-empleos-tag--discapacidad {
    background: #fdecea;
    color: #B81C46;
}

/* ---------- Badges ---------- */
.wazu-empleos-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.wazu-empleos-badge--info {
    background: #e3f2fd;
    color: #3C7CB7;
}

.wazu-empleos-badge--warning {
    background: #fff8e1;
    color: #D4882E;
}

.wazu-empleos-badge--primary {
    background: #e8e2f2;
    color: #5C4096;
}

.wazu-empleos-badge--success {
    background: #e8f5e9;
    color: #2E9E6E;
}

.wazu-empleos-badge--danger {
    background: #fdecea;
    color: #B81C46;
}

.wazu-empleos-badge--secondary {
    background: #f0f0f0;
    color: #666;
}

/* ---------- Pagination ---------- */
.wazu-empleos-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 30px 0;
}

.wazu-empleos-pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #5C4096;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.wazu-empleos-pagination__link:hover {
    background: #5C4096;
    color: #fff;
    border-color: #5C4096;
}

.wazu-empleos-pagination__link--active {
    background: #5C4096;
    color: #fff;
    border-color: #5C4096;
}

/* ---------- Single Offer ---------- */
.wazu-empleos-oferta-single__header {
    margin-bottom: 20px;
}

.wazu-empleos-oferta-single__titulo {
    font-size: 28px;
    color: #5C4096;
    margin: 0 0 8px;
}

.wazu-empleos-oferta-single__meta {
    font-size: 16px;
    color: #666;
}

.wazu-empleos-oferta-single__separator {
    margin: 0 8px;
    color: #ccc;
}

.wazu-empleos-oferta-single__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.wazu-empleos-oferta-single__info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    background: #f8f6fc;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.wazu-empleos-oferta-single__info-item {
    font-size: 15px;
}

.wazu-empleos-oferta-single__section {
    margin-bottom: 30px;
}

.wazu-empleos-oferta-single__section h2 {
    font-size: 20px;
    color: #5C4096;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8e2f2;
}

.wazu-empleos-oferta-single__content {
    line-height: 1.7;
}

.wazu-empleos-oferta-single__apply {
    margin: 30px 0;
    padding: 24px;
    background: #f8f6fc;
    border-radius: 8px;
}

.wazu-empleos-apply-form h3 {
    margin-top: 0;
    color: #5C4096;
}

.wazu-empleos-apply-form__response {
    margin-top: 16px;
}

.wazu-empleos-oferta-single__back {
    margin-top: 30px;
}

/* ---------- Auth (Login/Register) ---------- */
.wazu-empleos-auth {
    max-width: 480px;
    margin: 40px auto;
    padding: 30px;
}

.wazu-empleos-auth__title {
    color: #5C4096;
    font-size: 28px;
    margin-bottom: 8px;
}

.wazu-empleos-auth__subtitle {
    color: #666;
    margin-bottom: 24px;
}

.wazu-empleos-auth__link {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.wazu-empleos-auth__link a {
    color: #5C4096;
    font-weight: 600;
    text-decoration: none;
}
.wazu-empleos-auth__link a:hover {
    text-decoration: underline;
}

/* ---------- Onboarding ---------- */
.wazu-empleos-onboarding {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
}

.wazu-empleos-onboarding__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: #2E9E6E;
    color: #fff;
    border-radius: 50%;
    font-size: 32px;
    line-height: 64px;
    font-weight: 700;
}

.wazu-empleos-onboarding__title {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.wazu-empleos-onboarding__text {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.wazu-empleos-onboarding__steps {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}

.wazu-empleos-onboarding__step {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 13px;
    color: #999;
}

.wazu-empleos-onboarding__step--done {
    background: #e8f5e9;
    color: #2E9E6E;
}

.wazu-empleos-onboarding__step--current {
    background: #f3eff8;
    color: #5C4096;
    font-weight: 600;
}

.wazu-empleos-onboarding__step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: currentColor;
    color: #fff;
    font-size: 12px;
    line-height: 22px;
    text-align: center;
    font-weight: 700;
}

.wazu-empleos-onboarding__step--done .wazu-empleos-onboarding__step-num {
    background: #2E9E6E;
}

.wazu-empleos-onboarding__step--current .wazu-empleos-onboarding__step-num {
    background: #5C4096;
}

.wazu-empleos-onboarding__skip {
    margin-top: 16px;
    font-size: 14px;
}

.wazu-empleos-onboarding__skip a {
    color: #999;
    text-decoration: none;
}

.wazu-empleos-onboarding__skip a:hover {
    color: #5C4096;
    text-decoration: underline;
}

/* ---------- Tabs (Profile) ---------- */
.wazu-empleos-tabs__nav {
    display: flex;
    border-bottom: 2px solid #e5e5e5;
    margin-bottom: 24px;
    gap: 0;
    overflow-x: auto;
}

.wazu-empleos-tabs__btn {
    padding: 12px 20px;
    border: none;
    background: none;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.wazu-empleos-tabs__btn:hover {
    color: #5C4096;
}

.wazu-empleos-tabs__btn--active {
    color: #5C4096;
    border-bottom-color: #5C4096;
}

.wazu-empleos-tabs__panel {
    display: none;
}

.wazu-empleos-tabs__panel--active {
    display: block;
}

/* ---------- Progress Bar ---------- */
.wazu-empleos-progress {
    margin-bottom: 24px;
}

.wazu-empleos-progress__bar {
    background: #e5e5e5;
    border-radius: 10px;
    height: 20px;
    overflow: hidden;
    margin-bottom: 8px;
}

.wazu-empleos-progress__fill {
    background: linear-gradient(90deg, #5C4096, #7c5bbf);
    height: 100%;
    border-radius: 10px;
    transition: width 0.4s ease;
    min-width: 0;
}

.wazu-empleos-progress__label {
    font-size: 14px;
    color: #666;
}

/* ---------- Entries (Experience/Education) ---------- */
.wazu-empleos-entries {
    margin-bottom: 30px;
}

.wazu-empleos-entry {
    padding: 16px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 12px;
    background: #fff;
}

.wazu-empleos-entry__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.wazu-empleos-entry__title {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.wazu-empleos-entry__actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.wazu-empleos-entry__subtitle {
    color: #666;
    margin: 4px 0;
    font-size: 14px;
}

.wazu-empleos-entry__dates {
    color: #999;
    font-size: 13px;
    margin: 4px 0;
}

.wazu-empleos-entry__description {
    color: #555;
    font-size: 14px;
    margin-top: 8px;
}

.wazu-empleos-entries__empty {
    color: #999;
    font-style: italic;
}

/* ---------- CV Section ---------- */
.wazu-empleos-cv-current {
    padding: 16px;
    background: #e8f5e9;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* ---------- Table ---------- */
.wazu-empleos-table-responsive {
    overflow-x: auto;
}

.wazu-empleos-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.wazu-empleos-table th {
    background: #f8f6fc;
    color: #5C4096;
    font-weight: 600;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 2px solid #e8e2f2;
    white-space: nowrap;
}

.wazu-empleos-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.wazu-empleos-table tbody tr:hover {
    background: #faf8fd;
}

/* ---------- Dashboard ---------- */
.wazu-empleos-dashboard__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.wazu-empleos-dashboard__header h2 {
    margin: 0;
    color: #5C4096;
}

.wazu-empleos-dashboard__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

.wazu-empleos-dashboard__card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
}

.wazu-empleos-dashboard__card h3 {
    margin-top: 0;
    color: #5C4096;
    font-size: 18px;
    margin-bottom: 16px;
}

.wazu-empleos-dashboard__list {
    margin-bottom: 16px;
}

.wazu-empleos-dashboard__list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 12px;
}

.wazu-empleos-dashboard__list-item:last-child {
    border-bottom: none;
}

.wazu-empleos-dashboard__list-info {
    flex: 1;
    min-width: 0;
}

.wazu-empleos-dashboard__list-info strong {
    display: block;
    font-size: 14px;
}

.wazu-empleos-dashboard__list-info strong a {
    color: #5C4096;
    text-decoration: none;
}
.wazu-empleos-dashboard__list-info strong a:hover {
    text-decoration: underline;
}

.wazu-empleos-dashboard__list-info span {
    font-size: 13px;
    color: #999;
}

.wazu-empleos-dashboard__renta {
    font-size: 13px;
    color: #2E9E6E;
    font-weight: 600;
    white-space: nowrap;
}

.wazu-empleos-dashboard__nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.wazu-empleos-dashboard__nav-link {
    display: inline-block;
    padding: 12px 24px;
    background: #f8f6fc;
    color: #5C4096;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.wazu-empleos-dashboard__nav-link:hover {
    background: #e8e2f2;
}

.wazu-empleos-text--success {
    color: #2E9E6E;
    font-weight: 600;
}

/* ---------- AJAX Response ---------- */
.wazu-empleos-ajax-response {
    margin-top: 12px;
}

.wazu-empleos-ajax-response--success {
    color: #2E9E6E;
    font-weight: 500;
}

.wazu-empleos-ajax-response--error {
    color: #B81C46;
    font-weight: 500;
}

/* ---------- Postulaciones Empty ---------- */
.wazu-empleos-postulaciones__empty {
    text-align: center;
    padding: 60px 20px;
    color: #777;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet */
@media (max-width: 1024px) {
    .wazu-empleos-ofertas__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wazu-empleos-filter-bar__field {
        flex: 1 1 45%;
    }

    .wazu-empleos-dashboard__grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .wazu-empleos-ofertas__grid {
        grid-template-columns: 1fr;
    }

    .wazu-empleos-view-toggle {
        display: none;
    }

    /* Force card view on mobile regardless of toggle state */
    .wazu-empleos-ofertas__grid--list {
        grid-template-columns: 1fr !important;
    }

    .wazu-empleos-ofertas__grid--list .wazu-empleos-card {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        align-items: stretch !important;
        padding: 20px !important;
    }

    .wazu-empleos-ofertas__grid--list .wazu-empleos-card__header {
        flex: 1 1 auto !important;
        margin-bottom: 10px !important;
    }

    .wazu-empleos-ofertas__grid--list .wazu-empleos-card__title {
        font-size: 17px !important;
    }

    .wazu-empleos-ofertas__grid--list .wazu-empleos-card__body {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        margin-bottom: 10px !important;
    }

    .wazu-empleos-ofertas__grid--list .wazu-empleos-card__body .wazu-empleos-card__renta {
        display: block !important;
    }

    .wazu-empleos-ofertas__grid--list .wazu-empleos-card__tags .wazu-empleos-tag {
        font-size: 12px !important;
        padding: 3px 10px !important;
    }

    .wazu-empleos-ofertas__grid--list .wazu-empleos-card__footer {
        padding-top: 10px !important;
        border-top: 1px solid #f0f0f0 !important;
        justify-content: space-between !important;
    }

    .wazu-empleos-filter-bar__field {
        flex: 1 1 100%;
    }

    .wazu-empleos-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .wazu-empleos-oferta-single__titulo {
        font-size: 22px;
    }

    .wazu-empleos-oferta-single__info {
        grid-template-columns: 1fr;
    }

    .wazu-empleos-tabs__nav {
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .wazu-empleos-tabs__btn {
        padding: 10px 14px;
        font-size: 14px;
    }

    .wazu-empleos-entry__header {
        flex-direction: column;
    }

    .wazu-empleos-dashboard__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .wazu-empleos-dashboard__nav {
        flex-direction: column;
    }

    .wazu-empleos-dashboard__nav-link {
        text-align: center;
    }

    .wazu-empleos-table th,
    .wazu-empleos-table td {
        padding: 8px 10px;
        font-size: 13px;
    }

    .wazu-empleos-auth {
        padding: 20px 16px;
    }

    .wazu-empleos-dashboard__list-item {
        flex-direction: column;
        align-items: flex-start;
    }
}
