/* ================================================================
   TARJETAS_EMPLEO.CSS — VERSIÓN SIMPLIFICADA Y FORZADA
   ================================================================ */

/* ── TARJETA PRINCIPAL ──────────────────────────────────────── */
.emp-card {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

/* ── CABECERA ───────────────────────────────────────────────── */
.emp-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px 10px;
    border-bottom: 1px solid #f1f5f9;
}

.emp-logo {
    width: 44px;
    min-width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    flex-shrink: 0;
}

.emp-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.emp-meta {
    flex: 1;
    min-width: 0;
}

.emp-empresa {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.emp-depto {
    font-size: 11.5px;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.emp-depto i {
    font-size: 9px;
    color: #2563eb;
}

.emp-tipo {
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    border-radius: 20px;
    padding: 3px 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── CUERPO ─────────────────────────────────────────────────── */
.emp-body {
    padding: 12px 14px 10px;
    flex: 1;
}

.emp-puesto {
    margin: 0 0 5px;
}

.emp-puesto a {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.emp-desc {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 9px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── PILLS ──────────────────────────────────────────────────── */
.emp-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}

.emp-pill {
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 20px;
}

.emp-pill i {
    font-size: 9px;
}

.emp-pill-sal {
    background: rgba(37,99,235,.07);
    color: #1d4ed8;
    border: 1px solid rgba(37,99,235,.18);
}

.emp-pill-fecha {
    background: rgba(100,116,139,.07);
    color: #475569;
    border: 1px solid rgba(100,116,139,.15);
}

.emp-pill-vencida {
    background: rgba(239,68,68,.07);
    color: #dc2626;
    border: 1px solid rgba(239,68,68,.18);
}

.emp-pill-pronto {
    background: rgba(245,158,11,.08);
    color: #d97706;
    border: 1px solid rgba(245,158,11,.22);
}

/* ── PIE DE TARJETA (BOTONES) ───────────────────────────────── */
.emp-foot {
    display: flex;
    gap: 7px;
    padding: 10px 14px;
    border-top: 1px solid #f1f5f9;
}

/* BOTONES - ESTILOS FORZADOS */
.emp-btn-aplicar {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    height: 34px !important;
    padding: 0 10px !important;
    background: #2563eb !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.emp-btn-aplicar:hover {
    background: #1d4ed8 !important;
}

.emp-btn-ver {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 34px !important;
    padding: 0 10px !important;
    background: #fff !important;
    color: #475569 !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.emp-btn-ver:hover {
    border-color: #2563eb !important;
    color: #2563eb !important;
}

.emp-btn-fav {
    width: 34px !important;
    height: 34px !important;
    flex-shrink: 0 !important;
    background: #fff !important;
    color: #94a3b8 !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 13px !important;
    padding: 0 !important;
    transition: all 0.2s ease !important;
}

.emp-btn-fav:hover {
    background: #fef2f2 !important;
    border-color: #ef4444 !important;
    color: #ef4444 !important;
}

.emp-btn-fav.guardado {
    background: #fef2f2 !important;
    border-color: #ef4444 !important;
    color: #ef4444 !important;
}

/* ── RESPONSIVE MÓVIL ───────────────────────────────────────── */
@media (max-width: 575px) {
    .lg-item {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    
    .emp-foot {
        flex-direction: column !important;
        gap: 6px !important;
    }
    
    .emp-btn-aplicar,
    .emp-btn-ver,
    .emp-btn-fav {
        width: 100% !important;
    }
    
    .emp-card-head {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    .emp-pills {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    .emp-pill {
        width: 100% !important;
    }
}

/* ── UTILIDADES ──────────────────────────────────────────────── */
.bkd-pm {
    list-style: none;
    margin: 0;
    padding: 0;
}