.blast-jobs-page {
    background: #fff;
}

/* Buscador superior */
.jobs-search-banner {
    background: #050000;
    padding: 35px 0;
    border-bottom: 5px solid #c00000;
}

.jobs-search-banner label {
    color: #fff;
    font-size: 15px;
    margin-bottom: 8px;
    font-weight: 500;
}

.jobs-search-banner .form-control {
    border-radius: 6px;
    height: 42px;
    border: none;
}

.more-options,
.clear-search {
    display: inline-block;
    color: #f7d7d8;
    text-decoration: none;
    margin-top: 8px;
    font-size: 14px;
}

.more-options:hover,
.clear-search:hover {
    color: #fff;
}

.btn-search-jobs {
    background: #c00000;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 700;
    transition: 0.3s ease;
}

.btn-search-jobs:hover {
    background: #ed090d;
}

.clear-search {
    display: block;
}

/* Título */
.jobs-title-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 25px;
    gap: 20px;
}

.jobs-title-row h1 {
    font-size: 34px;
    font-weight: 800;
    color: #050000;
    margin-bottom: 5px;
}

.jobs-title-row p {
    color: #666;
    margin: 0;
}

.jobs-results {
    color: #555;
    font-size: 15px;
}

/* Tabla */
.jobs-table-wrapper {
    overflow-x: auto;
}

.blast-jobs-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.blast-jobs-table thead tr:first-child {
    border-bottom: 2px solid #ddd;
}

.blast-jobs-table th {
    color: #c00000;
    font-size: 15px;
    font-weight: 800;
    padding: 13px 10px;
    text-align: left;
}

.filter-row td {
    padding: 10px;
    background: #fff;
}

.filter-row input {
    width: 100%;
    height: 34px;
    border: 1px solid #bbb;
    padding: 6px 9px;
    font-size: 14px;
}

.filter-row button {
    background: #c00000;
    color: #fff;
    border: none;
    padding: 7px 14px;
    border-radius: 5px;
    font-weight: 600;
}

.filter-row a {
    display: block;
    margin-top: 6px;
    color: #c00000;
    text-decoration: none;
    font-size: 13px;
}

.blast-jobs-table tbody tr {
    border-bottom: 1px solid #ddd;
}

.blast-jobs-table tbody tr:nth-child(odd) {
    background: #f5f5f5;
}

.blast-jobs-table tbody tr:nth-child(even) {
    background: #fff;
}

.blast-jobs-table tbody tr:hover {
    background: #f7d7d8;
}

.blast-jobs-table td {
    padding: 14px 10px;
    color: #333;
    font-size: 15px;
    vertical-align: top;
}

.blast-jobs-table td a {
    color: #c00000;
    text-decoration: none;
    font-weight: 600;
}

.blast-jobs-table td a:hover {
    color: #ed090d;
    text-decoration: underline;
}

.btn-detail-small {
    background: #050000;
    color: #fff !important;
    padding: 7px 13px;
    border-radius: 5px;
    font-size: 13px;
    text-decoration: none !important;
    display: inline-block;
}

.btn-detail-small:hover {
    background: #c00000;
}

.jobs-bottom-results {
    text-align: right;
    color: #555;
    font-size: 15px;
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .jobs-title-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .jobs-title-row h1 {
        font-size: 28px;
    }

    .jobs-search-banner {
        padding: 28px 0;
    }

    .btn-search-jobs {
        width: 100%;
        margin-top: 10px;
    }
}


/* OFERTA DETALLES */

.job-detail-page {
    background: #f6f6f6;
}

.job-detail-hero {
    background: linear-gradient(135deg, #3b0000, #8b0000, #c00000);
    color: #fff;
    padding: 40px 0 45px; /* antes 60 / 70 */
}

.job-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 35px;
    opacity: 0.9;
}

.job-back-link:hover {
    color: #fff;
    opacity: 1;
}

.job-area-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.job-hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 18px;
}

.job-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 15px;
}

.job-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.job-main-card,
.job-side-card {
    background: #fff;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.job-main-card h3,
.job-side-card h4 {
    color: #4b0000;
    font-weight: 800;
    margin-bottom: 18px;
}

.job-main-card p {
    color: #555;
    line-height: 1.8;
    font-size: 16px;
}

.job-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.job-highlight-item {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.job-highlight-item i {
    color: #c00000;
    font-size: 24px;
}

.job-highlight-item strong {
    display: block;
    color: #222;
    font-size: 14px;
}

.job-highlight-item span {
    color: #666;
    font-size: 14px;
}

.job-side-card {
    position: sticky;
    top: 100px;
}

.job-side-info {
    border-bottom: 1px solid #eee;
    padding: 16px 0;
}

.job-side-info span {
    display: block;
    color: #777;
    font-size: 13px;
    margin-bottom: 4px;
}

.job-side-info strong {
    color: #222;
    font-size: 15px;
}

.btn-apply-job {
    display: block;
    width: 100%;
    text-align: center;
    background: #c00000;
    color: #fff;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 24px;
    transition: 0.3s ease;
}

.btn-apply-job:hover {
    background: #8b0000;
    color: #fff;
    transform: translateY(-2px);
}

.job-side-note {
    color: #777;
    font-size: 13px;
    line-height: 1.6;
    margin-top: 18px;
}

@media (max-width: 991px) {
    .job-hero-content h1 {
        font-size: 32px;
    }

    .job-highlight-grid {
        grid-template-columns: 1fr;
    }

    .job-side-card {
        position: static;
    }
}

.blast-job-detail{
    background: #fff;
    color: #222;
}

.job-top-bar{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    margin-bottom:50px;
    gap:20px;
}

.job-top-bar p{
    margin:0;
    font-size:15px;
}

.btn-postular-top{
    background:#b30000;
    color:#fff;
    padding:12px 24px;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

.btn-postular-top:hover{
    background:#870000;
    color:#fff;
}

.job-company-section{
    display:flex;
    align-items:center;
    gap:40px;
    margin-bottom:60px;
}

.job-company-logo img{
    width:140px;
    height:140px;
    object-fit:contain;
}

.job-company-info{
    flex:1;
}

.job-company-text{
    font-size:18px;
    margin-bottom:25px;
}

.job-title-main{
    text-align:center;
    font-size:38px;
    font-weight:800;
    color:#111;
    letter-spacing:1px;
}

.job-content-section{
    max-width:1000px;
    margin:auto;
}

.job-block{
    margin-bottom:45px;
}

.job-block h3{
    font-size:30px;
    margin-bottom:15px;
    color:#a10000;
    font-weight:700;
}

.job-block p{
    font-size:17px;
    line-height:1.8;
}

.job-block ul{
    padding-left:22px;
}

.job-block li{
    margin-bottom:12px;
    line-height:1.7;
    font-size:16px;
}

@media(max-width:768px){

    .job-company-section{
        flex-direction:column;
        text-align:center;
    }

    .job-top-bar{
        flex-direction:column;
    }

    .job-title-main{
        font-size:28px;
    }

}

.vista-oferta-cosapi {
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
}

.oferta-contenedor {
    max-width: 1000px;
    padding-top: 55px;
    padding-bottom: 60px;
}

.oferta-superior {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 42px;
}

.oferta-superior p {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
}

.btn-postula {
    background: #c00000;
    color: #fff;
    padding: 11px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.btn-postula:hover {
    color: #fff;
    background: #e52e2e;
}

.oferta-presentacion {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 48px;
}

.oferta-logo {
    width: 120px;
    height: 120px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.oferta-logo img {
    max-width: 90px;
    max-height: 90px;
    object-fit: contain;
}

.oferta-intro {
    flex: 1;
    text-align: center;
}

.oferta-intro p {
    font-size: 15px;
    line-height: 1.45;
    margin: 0 0 18px;
}

.oferta-intro h1 {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    margin: 0;
}

.oferta-detalle {
    margin-top: 10px;
}

.bloque-oferta {
    margin-bottom: 20px;
}

.bloque-oferta h2 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 2px;
}

.bloque-oferta p {
    font-size: 15px;
    line-height: 1.45;
    margin: 0;
}

.bloque-oferta ul {
    margin-top: 0;
    padding-left: 40px;
}

.bloque-oferta li {
    font-size: 15px;
    line-height: 1.35;
    margin-bottom: 2px;
}

@media (max-width: 768px) {
    .oferta-superior {
        flex-direction: column;
        gap: 20px;
    }

    .oferta-presentacion {
        flex-direction: column;
        text-align: center;
    }

    .oferta-intro h1 {
        font-size: 17px;
    }
}

/*estilos de postulación*/

.blast-postulacion-page{
    background:#fff;
    color:#222;
}

.postulacion-container{
    max-width:1000px;
    padding-top:55px;
    padding-bottom:70px;
}

.postulacion-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
    margin-bottom:45px;
}

.postulacion-header p{
    margin:0;
    font-size:15px;
    line-height:1.4;
}

.btn-volver-oferta{
    background:#111;
    color:#fff;
    padding:11px 20px;
    border-radius:6px;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

.btn-volver-oferta:hover{
    background:#c00000;
    color:#fff;
}

.postulacion-presentacion{
    display:flex;
    align-items:center;
    gap:20px;
    margin-bottom:45px;
}

.postulacion-logo{
    width:120px;
    height:120px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.postulacion-logo img{
    max-width:90px;
    max-height:90px;
    object-fit:contain;
}

.postulacion-intro{
    flex:1;
    text-align:center;
}

.postulacion-intro p{
    font-size:15px;
    margin-bottom:15px;
    line-height:1.5;
}

.postulacion-intro h1{
    font-size:20px;
    font-weight:800;
    margin:0;
    color:#111;
}

.postulacion-card{
    background:#fff;
    border:1px solid #e5e5e5;
    padding:40px;
    border-radius:10px;
    box-shadow:0 5px 18px rgba(0,0,0,0.06);
}

.bloque-postulacion{
    margin-bottom:40px;
}

.bloque-postulacion h2{
    font-size:22px;
    color:#a00000;
    font-weight:700;
    margin-bottom:22px;
}

.form-postulacion label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
    font-size:14px;
}

.form-postulacion .form-control{
    height:48px;
    border:1px solid #ccc;
    border-radius:6px;
    font-size:15px;
}

.form-postulacion input[type="file"]{
    padding:10px;
    height:auto;
}

.form-postulacion small{
    display:block;
    margin-top:6px;
    color:#777;
    font-size:13px;
}

.contenedor-btn-postulacion{
    text-align:center;
    margin-top:20px;
}

.btn-enviar-postulacion{
    background:#c00000;
    color:#fff;
    border:none;
    padding:14px 34px;
    border-radius:7px;
    font-size:15px;
    font-weight:700;
    transition:0.3s;
}

.btn-enviar-postulacion:hover{
    background:#8b0000;
}

@media(max-width:768px){

    .postulacion-header{
        flex-direction:column;
    }

    .postulacion-presentacion{
        flex-direction:column;
        text-align:center;
    }

    .postulacion-card{
        padding:25px;
    }

}

/*botón volver a ofertas laborales y oferta detalles*/

.contenedor-volver-ofertas{
    margin-bottom:25px;
}

.btn-volver-ofertas{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#8b0000;
    text-decoration:none;
    font-size:15px;
    font-weight:600;
    transition:0.3s;
}

.btn-volver-ofertas:hover{
    color:#c00000;
    transform:translateX(-2px);
}


/* ===== PAGINACIÓN BLAST ===== */

.pagination .page-link{
    color:#c00000;
    border:1px solid #c00000;
    transition:.25s ease;
}

/* Hover */

.pagination .page-link:hover{
    background:#c00000;
    color:#fff;
    border-color:#c00000;
}

/* Página activa */

.pagination .page-item.active .page-link{
    background:#c00000;
    border-color:#c00000;
    color:#fff;
}

/* Focus Bootstrap */

.pagination .page-link:focus{
    box-shadow:0 0 0 .2rem rgba(192,0,0,.25);
}

/* Deshabilitados */

.pagination .page-item.disabled .page-link{
    color:#999;
    background:#f8f9fa;
    border-color:#ddd;
}