/* Fondo animado */
.animated-background {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 0;
}

.animated-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75vh;
    background-image: url('/static/bolsa_trabajo/img/jobs-img.jpg');
    background-repeat: repeat-x;
    background-size: auto 100%;
    background-position: 0 0;
    animation: scrollBackground 23s linear infinite;
    opacity: 0.3;
    z-index: -1;
}

@keyframes scrollBackground {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 100% 0;
    }
}

/* Contenedor principal */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    padding: 0 1rem;
}

/* Barra lateral de filtros */
.filters-sidebar {
    /* position: sticky; */
    /* top: 1rem; */
    height: fit-content;
    align-self: start;
}

.filters-sidebar .card {
    border-radius: 12px;
    overflow: hidden;
    height: auto;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
}

/* Contenedor de empleos */
.jobs-content {
    width: 100%;
    min-height: 100vh;
}

/* Tarjeta de empleo */
.job-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #fff;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    width: 100%;
}

.job-card:hover {
    border-color: #19bcb9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Contenido de la tarjeta */
.job-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}

/* Primera fila: Logo y detalles principales */
.job-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* Logo de la empresa */
.company-logo {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 50%;
    background: #FDEAE0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    position: relative;
    flex-shrink: 0;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    border-radius: 50%;
}

.company-logo i {
    font-size: 32px;
    color: #F55503;
}

/* Contenedor de información */
.job-info-container {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Segunda fila: Descripción y botones */
.job-footer {
    padding-top: 0.5rem;
}

/* Descripción del empleo */
.job-description {
    color: #616161;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Etiquetas */
.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.2rem;
}

.job-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(25, 188, 185, 0.1) !important;
    color: var(--primary) !important;
    border-radius: 20px;
    font-size: 0.75rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.job-tag.destacado {
    background: #FDEAE0 !important;
    color: #F55503 !important;
}

.job-tag.destacado i {
    margin-right: 0.5rem;
    font-size: 0.8125rem;
}

/* Botones de acción */
.job-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.job-actions .btn {
    flex: 1;
    min-width: 120px;
    max-width: 200px;
    justify-content: center;
}

.job-actions .btn.btn-primary {
    background-color: #b2f2e5;
    border-color: #b2f2e5;
    color: #22544a;
}

.job-actions .btn.btn-primary:hover {
    background-color: #7be0cc;
    border-color: #7be0cc;
    color: #183c34;
}

.job-actions .btn-success {
    background-color: #9e9e9e;
    border-color: #9e9e9e;
    color: #ffffff;
}

.job-actions .btn-success:hover {
    background-color: #757575;
    border-color: #757575;
    color: #ffffff;
}

.job-actions .btn-info {
    background-color: #b3e0ff;
    border-color: #b3e0ff;
    color: #2c5282;
}

.job-actions .btn-info:hover {
    background-color: #99d0f0;
    border-color: #99d0f0;
    color: #1a365d;
}

.job-actions .dropdown-menu {
    padding: 0.25rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.job-actions .dropdown-item {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.7rem;
}

.job-actions .dropdown-item:hover {
    background-color: #f5f5f5;
}

/* Título y detalles */
.job-title {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: #2A7B9B;
    padding-right: 1rem;
    margin-bottom: 0.2px;
}

.job-title a {
    color: #2A7B9B;
    text-decoration: none;
    transition: color 0.2s ease;
}

.job-title a:hover {
    color: var(--primary);
}

.company-name {
    margin-bottom: 0 !important;
    display: inline;
    padding-right: 0.5em;
    font-size: 0.8rem;
    color: #2A7B9B;
    font-weight: 500;
}

/* Metadatos del empleo */
.job-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.job-meta-item {
    display: flex;
    align-items: center;
    height: 32px;
    margin-right: 0.5rem;
}

.job-meta-item i {
    margin-right: 0.35rem;
    color: #2A7B9B;
    font-size: 0.85rem;
}

/* Tooltip para la fecha */
.job-meta-item[data-fecha] {
    position: relative;
}

.job-meta-item[data-fecha]:hover::after {
    content: attr(data-fecha);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 0.25rem;
}

/* Responsive */
@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        padding: 0 0.5rem;
    }

    .filters-sidebar {
        position: static;
        margin-bottom: 2rem;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .job-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .company-logo {
        margin-bottom: 1rem;
    }

    .job-info-container {
        width: 100%;
        align-items: center;
    }

    .job-meta {
        justify-content: flex-start;
        gap: 0.5rem;
        margin-top: 0.75rem !important;
        padding-top: 0.5rem;
        border-top: 1px solid #f0f0f0;
    }

    .job-tags {
        justify-content: center;
    }

    .job-actions {
        justify-content: center;
    }

    .job-actions .btn {
        flex: 1 1 calc(50% - 0.75rem);
        min-width: 140px;
    }

    .job-meta-item {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 130px;
        max-width: 180px;
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .content-wrapper {
        padding: 0;
    }

    .filters-sidebar {
        margin-bottom: 1rem;
        width: 100%;
        max-width: 100%;
    }

    .jobs-content {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .job-content {
        padding: 1rem;
    }

    .job-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .company-logo {
        margin-bottom: 0.5rem;
    }

    .company-and-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.2rem;
        width: 100%;
    }

    .company-name {
        margin: 0 0 0.2rem 0;
        text-align: center;
        font-size: 0.9rem;
    }

    .job-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.3rem 0.6rem;
        justify-items: center;
        width: 100%;
    }

    .job-meta-item {
        width: 100%;
        justify-content: center;
        margin: 0;
        min-width: 0;
        font-size: 0.85rem;
    }

    .job-actions {
        flex-direction: column;
    }

    .job-actions .btn {
        width: 100%;
        max-width: none;
    }

    .job-title {
        font-size: 1.1rem;
        text-align: center;
    }

    .job-description {
        text-align: center;
        -webkit-line-clamp: 4;
    }
}

@media (max-width: 360px) {
    .job-meta-item {
        flex: 1 1 100%;
        max-width: none;
    }
}

/* Estilos para los filtros */
.filters-sidebar .card {
    border-radius: 12px;
    overflow: hidden;
}

.filters-sidebar .card-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 1.5rem;
}

.filters-sidebar .card-body {
    padding: 1.5rem;
}

.filters-sidebar .form-label {
    color: #222 !important;
    font-size: 1.2rem !important;
    margin-bottom: 0.5rem;
}

.filters-sidebar .form-control,
.filters-sidebar .form-select {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 0.5rem 1rem;
    font-size: 0.879rem !important;
}

/* Estilos para la paginación */
.pagination {
    gap: 0.5rem;
}

.pagination .page-link {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    color: #1976D2;
    padding: 0.5rem 1rem;
}

.pagination .page-item.active .page-link {
    background-color: #1976D2;
    border-color: #1976D2;
}

/* Hero section con buscador */
.hero-search {
    background: #042b2b !important;
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 32%, rgba(42, 123, 155, 1) 80%, rgba(25, 188, 185, 1) 100%) !important;
    padding: 3rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.hero-search .container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    text-align: left;
    margin-bottom: 2rem;
}

.hero-content h1 {
    letter-spacing: 2.5px !important;
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: white !important;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    line-height: 1.1;
    word-break: break-word;
}

.hero-content p {
    letter-spacing: 2.5px !important;
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    color: lightgray;
    margin-bottom: 2rem;
    line-height: 1.2;
    word-break: break-word;
}

.search-box {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
    align-items: stretch;
}

.search-input-group {
    position: relative;
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
}

.search-input-group:first-child {
    flex: 2;
    min-width: 250px;
}

.search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d !important;
    z-index: 2;
    pointer-events: none;
}

.search-form input,
.search-form select {
    padding-left: 35px;
    height: 40px;
    border-radius: 6px;
    border: none !important;
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    background-color: #ffffff !important;
    background: #ffffff !important;
    opacity: 1 !important;
    z-index: 1;
    position: relative;
}

/* Estilos específicos para Select2 en el search-box */
.search-input-group .select2-container--default .select2-selection--single {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    height: 40px !important;
    opacity: 1 !important;
}

.search-input-group .select2-container--default .select2-selection--single .select2-selection__rendered {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #333 !important;
    line-height: 38px !important;
    padding-left: 35px !important;
    opacity: 1 !important;
}

.search-input-group .select2-container--default .select2-selection--single .select2-selection__arrow {
    background-color: #ffffff !important;
    background: #ffffff !important;
    height: 38px !important;
    opacity: 1 !important;
}

.search-button {
    height: 40px;
    padding: 0 1.5rem;
    border-radius: 6px;
    background-color: #0d6efd;
    color: white;
    border: none;
    white-space: nowrap;
    min-width: 100px;
}

.search-button:hover {
    background-color: #0b5ed7;
}

/* Breakpoint para tablets grandes */
@media (max-width: 1200px) {
    .search-form {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .search-input-group {
        flex: 1 1 calc(50% - 0.375rem);
        min-width: 180px;
    }

    .search-input-group:first-child {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .search-button {
        flex: 1 1 100%;
        margin-top: 0;
    }
}

/* Breakpoint para tablets medianas */
@media (max-width: 992px) {
    .search-form {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .search-input-group {
        flex: 1 1 calc(50% - 0.375rem);
        min-width: 160px;
    }

    .search-input-group:first-child {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .search-button {
        flex: 1 1 100%;
        margin-top: 0;
    }
}

/* Breakpoint para tablets pequeñas */
@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .search-input-group {
        flex: 1 1 100%;
        min-width: 100%;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .search-input-group:first-child {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .search-button {
        flex: 1 1 100%;
        width: 100%;
        margin-top: 0;
    }
    
    /* Asegurar que Select2 respete el layout en móviles */
    .search-input-group .select2-container {
        width: 100% !important;
        position: relative !important;
        display: block !important;
        margin-bottom: 0 !important;
    }
    
    .search-input-group .select2-container .select2-selection--single {
        width: 100% !important;
        height: 40px !important;
        border: none !important;
        border-radius: 6px !important;
        background: #ffffff !important;
    }
    
    .search-input-group .select2-container .select2-selection--single .select2-selection__rendered {
        width: 100% !important;
        padding: 0 35px 0 35px !important;
        line-height: 40px !important;
        background: #ffffff !important;
    }
}

/* Breakpoint para móviles */
@media (max-width: 576px) {
    .search-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .search-input-group {
        flex: 1 1 100%;
        min-width: 100%;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .search-button {
        width: 100%;
        margin-top: 0;
    }
    
    /* Estilos específicos para móviles */
    .search-input-group .select2-container {
        width: 100% !important;
        position: relative !important;
        display: block !important;
    }
    
    .search-input-group .select2-container .select2-selection--single {
        width: 100% !important;
        height: 40px !important;
        border: none !important;
        border-radius: 6px !important;
        background: #ffffff !important;
        box-sizing: border-box !important;
    }
    
    .search-input-group .select2-container .select2-selection--single .select2-selection__rendered {
        width: 100% !important;
        padding: 0 35px 0 35px !important;
        line-height: 40px !important;
        background: #ffffff !important;
        box-sizing: border-box !important;
    }
    
    .search-input-group .select2-container .select2-selection--single .select2-selection__arrow {
        right: 10px !important;
        height: 40px !important;
        top: 0 !important;
    }
}

/* Breakpoint para pantallas muy pequeñas */
@media (max-width: 480px) {
    .search-form {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .search-input-group {
        margin-bottom: 0.25rem;
    }
    
    .search-input-group .select2-container .select2-selection--single {
        height: 38px !important;
    }
    
    .search-input-group .select2-container .select2-selection--single .select2-selection__rendered {
        line-height: 38px !important;
        font-size: 13px !important;
    }
    
    .search-button {
        height: 38px;
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .search-form {
        grid-template-columns: 1fr;
    }

    .hero-search {
        padding: 2rem 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.5rem;
    }

    .hero-search img,
    .hero-content img {
        height: 120px !important;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-search img,
    .hero-content img {
        height: 80px !important;
    }
}

.btn-job {
    border-radius: 6px;
    border-width: 1px;
    border-style: solid;
}

.btn-ver-detalles {
    background-color: #6CCBD2;
    border: 1px solid #6CCBD2;
    color: #ffffff;
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-ver-detalles:hover {
    background-color: #5badb3;
    border-color: #5badb3;
    color: #ffffff;
}

.job-actions .btn-info {
    border-radius: 6px;
    border-width: 1px;
    border-style: solid;
}

.btn-subir-cv {
    background-color: #a1d40b;
    border: 1px solid #a1d40b;
    color: #ffffff;
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-subir-cv:hover {
    background-color: var(--success-hover);
    border-color: var(--success-hover);
    color: #ffffff;
}

.job-card-detalle {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    max-width: 900px;
    margin: 0 auto 2rem auto;
    box-shadow: none;
    transition: none;
    padding: 3.5rem 4rem;
}

@media (max-width: 992px) {
    .job-card-detalle {
        max-width: 100%;
        padding: 1.5rem;
    }
}

/* ====== ESTILOS EXCLUSIVOS PARA DETALLE DE EMPLEO ====== */

/* HERO del detalle */
.detalle-empleo-hero .hero-content {
    text-align: center;
}

.detalle-empleo-hero .hero-content h1 {
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

/* Tarjeta principal de detalle */
.job-card-detalle {
    box-shadow: 0 6px 32px rgba(33, 150, 243, 0.07);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    margin-top: -3rem;
}

/* Sidebar del detalle */
.detalle-empleo-sidebar,
.card.mb-4 {
    background: #fff;
    border-radius: 8px;
    box-shadow: none;
    padding: 1.2rem 1.2rem 0.7rem 1.2rem;
    border: 1px solid #e0e0e0;
    height: auto;
}

.card.mb-4 .card-header {
    background: none;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 0.7rem;
    margin-bottom: 1rem;
}

.card.mb-4 .card-title {
    font-size: 1.1rem;
    color: #424242;
    font-weight: 600;
    margin-bottom: 0;
}

.card.mb-4 .list-group-item {
    border: none;
    padding: 0.45rem 0;
    font-size: 0.97rem;
    color: #444;
}

.card.mb-4 .fw-bold i {
    font-size: 1rem;
    color: var(--secondary);
    margin-right: 0.5rem;
}

/* Botones del detalle */
.job-card-detalle .btn-job,
.job-card-detalle .btn-ver-detalles,
.job-card-detalle .btn-subir-cv {
    border-radius: 8px !important;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    min-width: 120px;
    transition: box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.07);
}

.job-card-detalle .btn-job i {
    font-size: 1.1em;
}

/* Badges del detalle */
.job-card-detalle .job-tag {
    font-size: 0.85rem;
    padding: 0.35rem 1rem;
    border-radius: 16px;
}

/* Tabs del detalle */
.job-card-detalle .job-tabs .nav-tabs {
    border-bottom: none;
    margin-bottom: 1.5rem;
}

.job-card-detalle .job-tabs .nav-link {
    border-radius: 12px 12px 0 0;
    background: #f0f4f9;
    margin-right: 0.5rem;
    color: rgb(25, 189, 210);
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.5rem 1.2rem;
    border: none;
    transition: background 0.2s;
}

.job-card-detalle .job-tabs .nav-link.active {
    background: #fff;
    color: rgb(25, 189, 210);
    border-bottom: 2px solid rgb(25, 189, 210);
    font-weight: 700;
}

.job-card-detalle .job-tabs .tab-content {
    background: #fff;
    border-radius: 0 0 16px 16px;
    padding: 2rem 0 0 0;
}

/* Responsive para el detalle */
@media (max-width: 992px) {
    .job-card-detalle {
        padding: 1.2rem;
    }

    .detalle-empleo-sidebar {
        padding: 1rem;
    }
}

/* ====== FIN ESTILOS DETALLE DE EMPLEO ====== */

/* Card contenedor para banner+detalle */
.job-card-contenedor {
    max-width: 900px;
    margin: 0 auto 2.5rem auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 32px rgba(33, 150, 243, 0.07);
    overflow: hidden;
}

.job-card-contenedor img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    display: block;
}

.job-card-contenedor .job-card-detalle {
    box-shadow: none;
    border-radius: 0 0 8px 8px;
    margin: 0;
    padding-top: 1.5rem;
}

@media (max-width: 992px) {
    .job-card-contenedor {
        max-width: 100%;
    }

    .job-card-contenedor img {
        height: 180px;
    }
}

.mini-breadcrumb .breadcrumb-item a {
    color: var(--secondary);
    text-decoration: none !important;
    transition: color 0.2s;
}

.mini-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary);
    text-decoration: none !important;
}

.detalles-modern .detalle-item {
    margin-bottom: 1.1rem;
}

.detalles-modern .detalle-item:last-child {
    margin-bottom: 0.3rem;
}

.detalles-modern .detalle-label {
    font-size: 0.72rem;
    color: #b0b4b9;
    font-weight: 500;
    margin-bottom: 0.1rem;
    letter-spacing: 0.01em;
}

.detalles-modern .detalle-valor {
    font-size: 0.85rem;
    color: #3f3f3f;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.2;
}

.detalles-modern i.fa {
    font-size: 1.25rem;
    color: #b0b4b9;
    min-width: 1.7em;
    margin-top: 0.1rem;
}

.sidebar-empresa {
    margin-bottom: 0.5rem;
    gap: 0.35rem !important;
}

.sidebar-logo {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #FDEAE0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.sidebar-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    border-radius: 50%;
}

.sidebar-logo i {
    font-size: 24px;
    color: #F55503;
}

.sidebar-nombre-empresa {
    font-size: 1.01rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.05rem;
    margin-left: 0.2rem;
}

.sidebar-web {
    font-size: 0.75rem;
    color: #b0b4b9;
    margin-bottom: 0.1rem;
    margin-left: 0.2rem;
}

.sidebar-link-web {
    color: #b0b4b9;
    text-decoration: none !important;
    word-break: break-all;
}

.sidebar-link-web:hover {
    color: var(--primary);
    text-decoration: underline !important;
}

.sidebar-headcount {
    font-size: 0.82rem;
    color: #6c757d;
    margin-left: 0.2rem;
}

/* ====== CHECKBOXES PERSONALIZADOS PARA FILTROS ====== */
.exp-checkbox {
    accent-color: #1976D2;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid #d9d2e9;
    margin-right: 0.5em;
    vertical-align: middle;
    transition: box-shadow 0.2s;
    background-color: #fff;
}

.exp-checkbox:focus {
    outline: none;
    box-shadow: 0 0 0 2px #d9d2e955;
}

.exp-checkbox:checked {
    background-color: #d9d2e9;
    border-color: #d9d2e9;
}

.exp-label-group {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.filters-sidebar .exp-label {
    color: #3F3F3F !important;
}

.exp-count {
    color: #888;
    background: #e9e9e9;
    font-size: 0.95em;
    margin-left: 0.3em;
    padding: 0.1em 0.7em;
    border-radius: 8px;
    font-weight: 500;
    display: inline-block;
    min-width: 2.1em;
    text-align: center;
}

.exp-checkbox-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 0.3em;
}

/* ====== FIN CHECKBOXES FILTROS ====== */

/* Estilos específicos para alert-info en lista_empleos */
.jobs-content .alert-info {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.jobs-content .alert-info h5 {
    color: #000000;
    font-weight: 600;
}

.jobs-content .alert-info p {
    color: #616161;
}

.jobs-content .alert-info .badge-primary {
    background-color: #1976D2;
    color: #ffffff;
}

.company-logo-detalle {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 50%;
    background: #FDEAE0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.company-logo-detalle i {
    font-size: 32px;
    color: #F55503;
}

.filters-sidebar .btn-link {
    color: #888;
    background: transparent;
    border: none;
    transition: color 0.2s;
    box-shadow: none;
}

.filters-sidebar .btn-link:hover,
.filters-sidebar .btn-link:focus {
    color: #222;
    background: transparent;
    text-decoration: none;
    box-shadow: none;
}

/* === ACCIONES DE FILTROS (aplicar y limpiar) === */
.filters-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 1rem;
}

.btn-aplicar-filtros,
.btn-limpiar-filtros {
    height: 30px;
    min-height: 30px;
    max-height: 30px;
    display: flex;
    align-items: center;
}

.btn-aplicar-filtros {
    flex-grow: 1;
    width: 100%;
    padding: 0.35rem 1.1rem;
    font-size: 0.95rem;
    text-align: center;
    justify-content: center;
    border-radius: 6px;
    min-width: 80px;
    font-weight: 500;
}

.btn-limpiar-filtros {
    padding: 0.35rem 0.8rem;
    font-size: 1.1rem;
    border-radius: 6px;
    color: #888;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    height: 34px;
}

.btn-limpiar-filtros:hover,
.btn-limpiar-filtros:focus {
    background: #e0e0e0;
    color: #1976D2;
    text-decoration: none;
}

label,
.form-label {
    color: #55bcbe !important;
    letter-spacing: 0.01em;
}

.btn-facebook,
.btn-twitter,
.btn-linkedin,
.btn-whatsapp,
.btn-copy.copy-link {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    max-width: 44px;
    max-height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    border: none;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.07);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    margin-right: 0.5rem;
    padding: 0;
}

.btn-facebook {
    background: #e3eafc;
    color: #4267B2;
}

.btn-facebook:hover {
    background: #d0dbf7;
    color: #29487d;
}

.btn-twitter {
    background: #e0f4fd;
    color: #1da1f2;
}

.btn-twitter:hover {
    background: #b6e6fa;
    color: #0d8ddb;
}

.btn-linkedin {
    background: #e6f0fa;
    color: #0077b5;
}

.btn-linkedin:hover {
    background: #c6e0f5;
    color: #005983;
}

.btn-whatsapp {
    background: #e2f7ec;
    color: #25d366;
}

.btn-whatsapp:hover {
    background: #b6eeda;
    color: #128c7e;
}

.btn-copy.copy-link {
    background: #FDEAE0;
    color: #F55503;
}

.btn-copy.copy-link:hover {
    background: #f3d7c8;
    color: #F55503;
}

.company-and-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    min-height: 32px;
}

.company-name {
    display: flex;
    align-items: center;
    color: #1976D2;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0;
    margin-right: 0.5em;
    white-space: nowrap;
    height: 32px;
}

.job-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.job-meta-item {
    color: #949DA8 !important;
    display: flex;
    align-items: center;
    height: 32px;
}

@media (max-width: 576px) {
    .job-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .company-logo {
        margin-bottom: 0.5rem;
    }

    .company-and-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.2rem;
        width: 100%;
    }

    .company-name {
        margin: 0 0 0.2rem 0;
        text-align: center;
        font-size: 0.9rem;
    }

    .job-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.3rem 0.6rem;
        justify-items: center;
        width: 100%;
    }

    .job-meta-item {
        width: 100%;
        justify-content: center;
        margin: 0;
        min-width: 0;
        font-size: 0.85rem;
    }
}

.filters-sidebar,
.jobs-content {
    width: 100%;
    max-width: 100%;
}

/* Hero responsivo: texto e imagen */
.hero-search img,
.hero-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}