/* ═══════════════════════════════════════════════════
   MARKETING ATENTO — Recruitment Flow · Shared CSS
   Apply to: apply.xml | applicantpartner.xml | portal_my_partner_document.xml
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=DM+Serif+Display&display=swap');

/* ── ROOT ── */
:root {
    --brand: #C0392B;
    --brand-dk: #922B21;
    --brand-light: #FAECE7;
    --brand-mid: #F0997B;
    --ok: #27AE60;
    --ok-light: #D5F5E3;
    --warn: #E67E22;
    --warn-light: #FDEBD0;
    --empty: #95A5A6;
    --surface: #FFFFFF;
    --bg: #F4F5F7;
    --border: #E2E5EA;
    --text: #1C2028;
    --text-2: #5A6275;
    --text-3: #9AA0AD;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 4px rgba(0, 0, 0, .06), 0 4px 16px rgba(0, 0, 0, .06);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
}

/* ── BASE ── */
.rflow * {
    box-sizing: border-box;
}

.rflow {
    padding: 2rem 0 4rem;
}

.rflow .page-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

#terms_rflow_container.rflow {
    padding: 1rem 0 2rem;
    /* Ajusta estos valores para hacer la altura más pequeña */
}

#terms_rflow_container.rflow .page-inner {
    max-width: 650px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

#terms_rflow_container .terms-content {
    padding: 1rem !important;
}

#terms_rflow_container .terms-content,
#terms_rflow_container .terms-content p,
#terms_rflow_container .terms-content li {
    font-size: 9px !important;
    line-height: 1.2 !important;
}

#terms_rflow_container .terms-content p,
#terms_rflow_container .terms-content ul {
    margin-bottom: 0.5rem !important;
}

#terms_rflow_container .terms-content h4 {
    font-size: 11px !important;
    margin-top: 0.5rem !important;
}

#terms_rflow_container .form-check-label {
    font-size: 10px !important;
}

#terms_rflow_container .page-header {
    padding: 1rem 1.5rem !important;
    /* Reduce el relleno interno de la caja */
}

#terms_rflow_container .page-header h1 {
    font-size: 1.25rem !important;
    /* Original era 1.6rem */
}

#terms_rflow_container .page-header .sub {
    font-size: 11px !important;
    /* Original era 13px */
}

/* ── STEP WIZARD ── */
.rflow .wizard {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 2rem;
}

.rflow .wz-item {
    flex: 1;
    position: relative;
    text-align: center;
}

.rflow .wz-item::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    right: -50%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.rflow .wz-item:last-child::after {
    display: none;
}

.rflow .wz-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-3);
    margin: 0 auto 6px;
    position: relative;
    z-index: 1;
    transition: all .2s;
}

.rflow .wz-item.done .wz-dot {
    background: var(--ok-light);
    border-color: var(--ok);
    color: var(--ok);
}

.rflow .wz-item.active .wz-dot {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.rflow .wz-label {
    font-size: 11px;
    color: var(--text-3);
}

.rflow .wz-item.active .wz-label {
    color: var(--text);
    font-weight: 500;
}

/* ── PAGE HEADER ── */
.rflow .page-header {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dk) 100%);
    border-radius: var(--radius);
    padding: 1.5rem 2rem 1.75rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.rflow .page-header::before {
    content: '';
    position: absolute;
    right: -50px;
    top: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
}

.rflow .page-header h1 {
    font-size: 1.6rem;
    color: #fff;
    margin: 0 0 4px;
}

.rflow .page-header .sub {
    font-size: 13px;
    color: rgba(255, 255, 255, .75);
    margin: 0;
}

.rflow .page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0 0 10px;
    font-size: 12px;
}

.rflow .page-header .breadcrumb a {
    color: rgba(255, 255, 255, .65);
}

.rflow .page-header .breadcrumb-item.active {
    color: rgba(255, 255, 255, .9);
}

.rflow .page-header .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .4);
}

/* ── SECTION CARD ── */
.rflow .section-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 1.25rem;
    overflow: hidden;
    /* mantenido para cards sin imagen */
}

/* Card con imagen lateral (Step 2) — el overflow:hidden del padre cortaría
   la imagen, por eso sc-with-img lo desactiva y delega el clip a sus hijos */
.rflow .section-card.sc-with-img {
    overflow: visible;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
}

/* ── Columna de contenido: 75% ──
   sc-content-left  → imagen a la IZQUIERDA  (contenido a la derecha)
   sc-content-right → imagen a la DERECHA    (contenido a la izquierda)
   sc-content       → alias de sc-content-right (retrocompatibilidad) */

.rflow .sc-content,
.rflow .sc-content-right {
    flex: 0 0 75%;
    width: 75%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    /* El contenido queda a la IZQUIERDA → sus esquinas izquierdas son las externas */
    border-radius: var(--radius) 0 0 var(--radius);
    overflow: hidden;
}

.rflow .sc-content-left {
    flex: 0 0 75%;
    width: 75%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    /* El contenido queda a la DERECHA → sus esquinas derechas son las externas */
    border-radius: 0 var(--radius) var(--radius) 0;
    overflow: hidden;
}

/* ── Columna de imagen: 25% ──
   sc-img-left  → imagen en el LADO IZQUIERDO de la tarjeta
   sc-img-right → imagen en el LADO DERECHO  de la tarjeta
   sc-img       → alias de sc-img-right (retrocompatibilidad) */

.rflow .sc-img,
.rflow .sc-img-right {
    flex: 0 0 25%;
    width: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-light);
    /* Imagen a la derecha: solo esquinas derechas redondeadas */
    border-radius: 0 var(--radius) var(--radius) 0;
    border-left: 1px solid var(--border);
    padding: 2rem;
    overflow: hidden;
}

.rflow .sc-img-left {
    flex: 0 0 25%;
    width: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-light);
    /* Imagen a la izquierda: solo esquinas izquierdas redondeadas */
    border-radius: var(--radius) 0 0 var(--radius);
    border-right: 1px solid var(--border);
    padding: 2rem;
    overflow: hidden;
}

.rflow .sc-img img,
.rflow .sc-img-right img,
.rflow .sc-img-left img {
    width: 100%;
    height: 100%;
    max-height: 260px;
    object-fit: contain;
    display: block;
}

.rflow .section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: .9rem 1.5rem;
    border-bottom: 1px solid var(--border);
    background: #FAFBFD;
}

/* Estilos específicos por imagen — aplican a cualquier variante de sc-img */
.rflow .sc-img.img-personal img,
.rflow .sc-img-left.img-personal img,
.rflow .sc-img-right.img-personal img {
    transform: scale(2.35);
}

.rflow .sc-img.img-emergency img,
.rflow .sc-img-left.img-emergency img,
.rflow .sc-img-right.img-emergency img {
    transform: scale(1.15);
}

.rflow .sc-img.img-direction img,
.rflow .sc-img-left.img-direction img,
.rflow .sc-img-right.img-direction img {
    transform: scale(1.6);
}

.rflow .sc-img.img-academic img,
.rflow .sc-img-left.img-academic img,
.rflow .sc-img-right.img-academic img {
    transform: scale(1.45);
}

.rflow .sc-img.img-pension img,
.rflow .sc-img-left.img-pension img,
.rflow .sc-img-right.img-pension img {
    transform: scale(1.35);
}

.rflow .sc-img.img-income img,
.rflow .sc-img-left.img-income img,
.rflow .sc-img-right.img-income img {
    transform: scale(1.4);
}


.rflow .section-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.rflow .section-head h2 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: bold;
}

.rflow .section-body {
    padding: 1.5rem;
}

/* ── FIELD GRID ── */
.rflow .fg {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.rflow .fg.g1 {
    grid-template-columns: 1fr;
}

.rflow .fg.g2 {
    grid-template-columns: 1fr 1fr;
}

.rflow .fg.g3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.rflow .fg-full {
    grid-column: 1 / -1;
}

/* ── FIELD LABEL + INPUT ── */
.rflow .f-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 6px;
    font-weight: bold;
}

.rflow .f-label .req {
    color: var(--brand);
    margin-left: 2px;
}

.rflow .f-hint {
    font-size: 11px;
    color: var(--text-3);
    margin-top: 4px;
}

.rflow .form-control,
.rflow .form-select {
    border: 1.5px solid var(--border) !important;
    border-radius: var(--radius-sm) !important;
    padding: .55rem .85rem !important;
    font-size: 14px !important;
    font-family: 'DM Sans', sans-serif !important;
    color: var(--text) !important;
    background: var(--surface) !important;
    width: 100%;
    transition: border-color .15s, box-shadow .15s;
    box-shadow: none !important;
}

.rflow .form-control:focus,
.rflow .form-select:focus {
    border-color: var(--brand) !important;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, .1) !important;
    outline: none;
}

.rflow .form-control.is-invalid,
.rflow .is-invalid .form-control {
    border-color: #E74C3C !important;
}

.rflow .invalid-feedback {
    font-size: 12px;
    color: #E74C3C;
    margin-top: 4px;
}

.rflow textarea.form-control {
    resize: vertical;
    min-height: 90px;
}

/* ── INPUT GROUP (DNI + button) ── */
.rflow .input-group .form-control {
    border-right: none !important;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm) !important;
}

.rflow .input-group .btn {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
}

/* ── BUTTONS ── */
.rflow .btn-brand {
    background: var(--brand);
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: .6rem 1.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background .15s, transform .1s;
}

.rflow .btn-brand:hover {
    background: var(--brand-dk);
    color: #fff;
}

.rflow .btn-brand:active {
    transform: scale(.98);
}

.rflow .btn-ok {
    background: var(--ok);
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: .6rem 1.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background .15s;
}

.rflow .btn-ok:hover {
    background: #1E8449;
    color: #fff;
}

.rflow .btn-ghost {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text-2);
    font-size: 14px;
    padding: .55rem 1.25rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all .15s;
}

.rflow .btn-ghost:hover {
    border-color: var(--text-2);
    color: var(--text);
}

/* ── ACTION BAR ── */
.rflow .action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    background: #FAFBFD;
}

/* ── UPLOAD ZONE ── */
.rflow .upload-zone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .85rem 1rem;
    border: 1.5px dashed var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all .15s;
    background: var(--surface);
}

.rflow .upload-zone:hover {
    border-color: var(--brand);
    background: var(--brand-light);
}

.rflow .upload-zone.uploaded {
    border-color: var(--ok);
    border-style: solid;
    background: var(--ok-light);
}

.rflow .upload-zone .uz-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.rflow .upload-zone .uz-icon.empty {
    background: #F4F5F7;
}

.rflow .upload-zone .uz-icon.done {
    background: rgba(39, 174, 96, .15);
}

.rflow .upload-zone .uz-info {
    flex: 1;
    padding: 0 10px;
}

.rflow .upload-zone .uz-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
}

.rflow .upload-zone.uploaded .uz-name {
    color: #1E8449;
}

.rflow .upload-zone .uz-sub {
    font-size: 11px;
    color: var(--text-3);
}

.rflow .upload-zone.uploaded .uz-sub {
    color: #27AE60;
}

.rflow .upload-zone .uz-btn {
    font-size: 12px;
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    color: var(--text-2);
    white-space: nowrap;
    flex-shrink: 0;
}

/* hide native input, overlay with zone */
.rflow .upload-wrapper {
    position: relative;
}

.rflow .upload-wrapper input[type=file] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* ── STATUS BADGES ── */
.rflow .badge-ok {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: var(--ok-light);
    color: #1E8449;
}

.rflow .badge-empty {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: #F4F5F7;
    color: var(--empty);
}

.rflow .badge-warn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: var(--warn-light);
    color: var(--warn);
}

.rflow .badge-brand {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: var(--brand-light);
    color: var(--brand-dk);
}

.rflow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

/* ── RADIO CARDS (quinta categoría) ── */
.rflow .radio-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: .85rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    margin-bottom: 8px;
    transition: all .15s;
}

.rflow .radio-card:hover {
    border-color: var(--brand);
    background: var(--brand-light);
}

.rflow .radio-card.selected {
    border-color: var(--brand);
    background: var(--brand-light);
}

.rflow .radio-card .rc-bullet {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .15s;
}

.rflow .radio-card.selected .rc-bullet {
    border-color: var(--brand);
}

.rflow .radio-card.selected .rc-bullet::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
    display: block;
}

.rflow .radio-card .rc-text {
    font-size: 13.5px;
    color: var(--text);
    line-height: 1.5;
}

.rflow .radio-card .rc-text b {
    color: var(--brand-dk);
}

/* ── TOGGLE SWITCH ── */
.rflow .toggle-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: .65rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
    cursor: pointer;
    transition: background .15s;
}

.rflow .toggle-row:hover {
    background: #FAFBFD;
}

.rflow .form-switch .form-check-input {
    width: 38px !important;
    height: 20px !important;
    cursor: pointer;
    background-color: var(--border) !important;
    border-color: transparent !important;
}

.rflow .form-switch .form-check-input:checked {
    background-color: var(--brand) !important;
    border-color: var(--brand) !important;
}

.rflow .toggle-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
}

.rflow .pension-sub {
    margin-left: 1.5rem;
    padding-left: .75rem;
    border-left: 2px solid var(--brand-mid);
    margin-top: 4px;
    margin-bottom: 6px;
}

/* ── CHILDREN COUNT ── */
.rflow .child-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 1rem 0 .5rem;
}

.rflow .cc-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    color: var(--text);
    transition: all .15s;
}

.rflow .cc-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.rflow .cc-num {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--brand);
    line-height: 1;
}

.rflow .cc-label {
    font-size: 12px;
    color: var(--text-3);
}

/* ── CHILDREN TABLE ── */
.rflow .children-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-top: .75rem;
}

.rflow .children-table thead tr {
    background: var(--brand);
}

.rflow .children-table thead th {
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: .65rem 1rem;
    border: none;
}

.rflow .children-table tbody tr {
    border-bottom: 1px solid var(--border);
}

.rflow .children-table tbody tr:hover {
    background: #FAFBFD;
}

.rflow .children-table tbody td {
    padding: .6rem .85rem;
    vertical-align: middle;
}

/* ── MODAL ── */
.rflow .modal-content {
    border: none !important;
    border-radius: var(--radius) !important;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .15);
}

.rflow .modal-header {
    padding: 1.25rem 1.5rem !important;
    border-bottom: 1px solid var(--border) !important;
    background: #FAFBFD;
    border-radius: var(--radius) var(--radius) 0 0 !important;
}

.rflow .modal-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--text) !important;
}

.rflow .modal-body {
    padding: 1.5rem !important;
}

.rflow .modal-footer {
    padding: .9rem 1.5rem !important;
    border-top: 1px solid var(--border) !important;
    background: #FAFBFD;
}

/* ── CONFIRM GRID ── */
.rflow .confirm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 2rem;
}

.rflow .cg-item {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
    font-size: 13.5px;
    line-height: 1.5;
}

.rflow .cg-item .cg-label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    flex-shrink: 0;
}

.rflow .cg-item .cg-label::after {
    content: ":";
}

.rflow .cg-item .cg-val {
    font-size: 13.5px;
    font-weight: 400;
    color: var(--text-2, #555);
}

/* .cg-full is no longer used (confirm-grid switched from grid to flex) */

/* ── ALERT ── */
.rflow .rflow-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: .75rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    font-size: 13px;
}

.rflow .rflow-alert.danger {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
}

.rflow .rflow-alert.info {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: #1E40AF;
}

/* ── SIDEBAR JOB INFO ── */
.rflow .job-sidebar {
    padding-left: 2rem;
}

.rflow .job-sidebar .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--brand);
    border: 1.5px solid var(--brand);
    border-radius: var(--radius-sm);
    padding: .45rem 1rem;
    text-decoration: none;
    margin-bottom: 1.25rem;
    transition: all .15s;
}

.rflow .job-sidebar .back-btn:hover {
    background: var(--brand-light);
}

.rflow .job-sidebar .meta-block {
    margin-bottom: .85rem;
}

.rflow .job-sidebar .meta-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-3);
}

.rflow .job-sidebar .meta-val {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-top: 2px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {

    /* Ocultar imágenes decorativas en móvil (todas las variantes) */
    .rflow .sc-img,
    .rflow .sc-img-left,
    .rflow .sc-img-right {
        display: none;
    }

    /* El contenido ocupa todo el ancho cuando no hay imagen */
    .rflow .sc-content,
    .rflow .sc-content-left,
    .rflow .sc-content-right {
        flex: 1 1 100%;
        width: 100%;
        border-radius: var(--radius);
    }

    /* Modal: una sola columna en móvil */
    .rflow .confirm-grid {
        grid-template-columns: 1fr;
    }

    /* Mostrar iconos de sección solo en móvil */
    .rflow .section-icon {
        display: flex;
    }
}

@media (max-width: 640px) {

    .rflow .fg.g2,
    .rflow .fg.g3 {
        grid-template-columns: 1fr;
    }

    /* .rflow .confirm-grid is already flex column — no override needed at 640px */

    .rflow .page-header {
        padding: 1.25rem 1.25rem 1.5rem;
    }

    .rflow .section-body {
        padding: 1rem;
    }

    .rflow .action-bar {
        flex-direction: column;
        gap: 8px;
    }

    .rflow .action-bar .btn-brand,
    .rflow .action-bar .btn-ghost {
        width: 100%;
        text-align: center;
    }

    .rflow .job-sidebar {
        padding-left: 0;
        padding-top: 1.5rem;
    }
}

/* ── GLOBAL BTN OVERRIDES ── */
.btn-ghost {
    background: transparent !important;
    border: 1.5px solid var(--border, #E2E5EA) !important;
    color: var(--text-2, #5A6275) !important;
    font-size: 14px;
    padding: .55rem 1.25rem;
    border-radius: var(--radius-sm, 8px);
    cursor: pointer;
    transition: all .15s;
}

.btn-ghost:hover,
.btn-ghost:focus {
    border-color: var(--text-2, #5A6275) !important;
    color: var(--text, #1C2028) !important;
    text-decoration: none;
}

.btn-ok {
    background: var(--ok, #27AE60) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    padding: .6rem 1.75rem;
    border-radius: var(--radius-sm, 8px);
    cursor: pointer;
    transition: background .15s, transform .1s;
}

.btn-ok:hover,
.btn-ok:focus {
    background: #1E8449 !important;
    color: #fff !important;
}

.btn-ok:active {
    transform: scale(.98);
}

.btn-ok.inactive,
.btn-ghost.inactive {
    display: none !important;
}