body {
    background: #f2f2f2;
}
/* Estilos para el contenedor del div */
#miDiv {
    display: flex;
    flex-wrap: wrap; /* Permite que los selects se envuelvan a la siguiente línea en pantallas pequeñas */
}

/* Estilos para cada select */
#miDiv select {
    margin-right: 10px; /* Espacio entre selects */
    margin-bottom: 10px; /* Espacio debajo de cada select */
}
.loader-puestos {
    width: 100%;
    min-height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner-puestos {
    width: 36px;
    height: 36px;
    border: 3px solid #eee;
    border-top-color: #F4623A;
    border-radius: 50%;
    animation: spinPuestos .7s linear infinite;
}

@keyframes spinPuestos {
    to {
        transform: rotate(360deg);
    }
}
/* Transiciones y Microinteracciones */
.job-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background-color: #ffffff;
}

.job-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12) !important;
}

/* Control de Imagen Completa (Sin Recorte) */
.card-img-wrapper {
    width: 100%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img-wrapper img {
    width: 100%;
    height: auto; /* Mantiene la proporción original completa */
    object-fit: contain;
    display: block;
    transition: transform 0.35s ease;
}

.job-card:hover .card-img-wrapper img {
    transform: scale(1.02); /* Zoom más sutil para no desbordar */
}

/* Tarjeta Horizontal Modernizada */
.card-placa {
    background: #ffffff;
    border: 1px solid #eeeeee !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

.card-placa:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08) !important;
}

/* Contenedor del Icono con fondo suave */
.card-placa-icon {
    width: 48px;
    height: 48px;
    background-color: #eef2ff; /* Azul pastel */
    color: #f4623a;           /* Índigo moderno */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.card-placa-imagen {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 12px;
}

.card-placa-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-placa-img {
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

.buscador-placas {
    margin-top: 20px;
    border-radius: 50px;
    overflow: hidden;
}

.buscador-placas .input-group-text,
.buscador-placas .form-control,
.buscador-placas .btn {
    border-color: #e5e7eb;
}

.buscador-placas .form-control {
    box-shadow: none;
}

.buscador-placas .form-control:focus {
    border-color: #e5e7eb;
    box-shadow: none;
}

.buscador-placas .input-group-text {
    padding-left: 20px;
}

.skeleton {
    position: relative;
    overflow: hidden;
    background: #f1f3f5;
    border-radius: 8px;
}

.skeleton::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
    );
    animation: skeleton-loading 1.4s infinite;
}

.skeleton-imagen {
    width: 90px;
    height: 90px;
    border-radius: 12px;
}

.skeleton-label {
    width: 120px;
    height: 11px;
}

.skeleton-titulo {
    width: 180px;
    max-width: 100%;
    height: 18px;
}

.skeleton-boton {
    width: 95px;
    height: 40px;
    border-radius: 50px;
}

@keyframes skeleton-loading {
    100% {
        left: 100%;
    }
}
.sin-resultados {
    padding: 60px 20px;
}

.sin-resultados-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto;
    border-radius: 50%;
    background: #f1f3f5;
    color: #6c757d;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.2rem;
}

.sin-resultados h5 {
    color: #343a40;
    font-weight: 600;
}

.sin-resultados p {
    font-size: 0.95rem;
}

.card-placa {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #ffffff;
    border: 1px solid #eeeeee !important;
}

.card-placa:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08) !important;
}

.card-placa-imagen {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #f8f9fa;
}

.card-placa-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-placa-titulo {
    font-size: 1.05rem;
    line-height: 1.3;
    word-break: break-word;
}

.min-width-0 {
    min-width: 0;
}
@media (max-width: 575.98px) {

    .card-placa .card-body {
        padding: 12px !important;
    }

    .card-placa-imagen {
        width: 70px;
        height: 70px;
    }

    .card-placa-titulo {
        font-size: 0.95rem;
    }

    .card-placa small {
        font-size: 0.65rem !important;
    }

    .card-placa .btn-ver-placa {
        padding: 7px 10px !important;
        font-size: 0.8rem;
    }

}
#btnVerMas.cargando {
    cursor: wait;
    opacity: 0.85;
}

#btnVerMas .puntos {
    display: inline-block;
    width: 18px;
    text-align: left;
}

#btnVerMas .puntos {
    animation: puntos 1.2s infinite;
}

@keyframes puntos {
    0% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.2;
    }
}
#btnVerMas.cargando {
    background-color: #fff !important;
    color: var(--colorPrincipal) !important;
    border-color: var(--colorPrincipal) !important;
    cursor: wait;
}
.card-placa {
    animation: aparecerPuesto 0.45s ease-out both;
}

.card-placa:nth-child(1) {
    animation-delay: 0.05s;
}

.card-placa:nth-child(2) {
    animation-delay: 0.10s;
}

.card-placa:nth-child(3) {
    animation-delay: 0.15s;
}

.card-placa:nth-child(4) {
    animation-delay: 0.20s;
}

.card-placa:nth-child(5) {
    animation-delay: 0.25s;
}

.card-placa:nth-child(6) {
    animation-delay: 0.30s;
}

@keyframes aparecerPuesto {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.imagen-puesto {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.imagen-puesto.cargada {
    opacity: 1;
}

.skeleton-imagen-puesto {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        #e2e2e2 25%,
        #eeeeee 50%,
        #e2e2e2 75%
    );
    background-size: 200% 100%;
    animation: skeletonMovimiento 1.5s infinite;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

.skeleton-imagen-puesto.oculto {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    animation: none;
}
@keyframes skeletonMovimiento {
    0% {
        background-position: 200% 0;
    }

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

/* ============================================================
NAVBAR VUSKA.ME
============================================================ */

#header01-2 {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1050;

    background: rgba(25, 38, 48, 0.90) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

#header01-2 .navbar {
    min-height: 100px;
    padding: 0;
    background: transparent !important;
}

#header01-2 .navbar .container {
    min-height: 100px;
    display: flex;
    align-items: center;
}


/* ============================================================
LOGO
============================================================ */

#header01-2 .navbar-brand {
    margin: 0;
    padding: 0;
}

#header01-2 .navbar-caption {
    color: #ffffff !important;
    font-size: 52px !important;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -2px;
    text-decoration: none !important;
}


/* ============================================================
BOTONES DESKTOP
============================================================ */

#header01-2 .navbar-buttons {
    margin-left: auto;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 20px;
}

#header01-2 .navbar-buttons .btn-principal {
    min-height: 40px;

    padding: 10px 28px !important;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #f4623a !important;
    border: none !important;
    color: #ffffff !important;

    font-size: 16px !important;
    font-weight: 600;
    line-height: 1.2;

    border-radius: 30px !important;

    box-shadow: none !important;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

#header01-2 .navbar-buttons .btn-principal:hover {
    background: #e9532c !important;
    color: #ffffff !important;
    transform: translateY(-1px);

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.15) !important;
}


/* ============================================================
TABLET
============================================================ */

@media (max-width: 991.98px) {

    #header01-2 .navbar,
    #header01-2 .navbar .container {
        min-height: 80px;
    }

    #header01-2 .navbar-caption {
        font-size: 40px !important;
    }

    #header01-2 .navbar-buttons {
        gap: 10px;
    }

    #header01-2 .navbar-buttons .btn-principal {
        padding: 9px 18px !important;
        font-size: 14px !important;
    }
}


/* ============================================================
MOBILE
============================================================ */

@media (max-width: 767.98px) {

    #header01-2 .navbar,
    #header01-2 .navbar .container {
        min-height: 68px;
    }

    #header01-2 .navbar .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Logo más chico */
    #header01-2 .navbar-caption {
        font-size: 30px !important;
        letter-spacing: -1px;
    }

    /* Botón hamburguesa */
    #header01-2 .navbar-toggler {
        margin-left: auto;
        padding: 7px 9px;

        border: 1px solid rgba(255, 255, 255, 0.35);
        border-radius: 8px;

        /* background: rgba(255, 255, 255, 0.08); */
    }

    #header01-2 .navbar-toggler:focus {
        box-shadow: none;
    }

    #header01-2 .navbar-toggler .hamburger {
        width: 24px;
    }

    #header01-2 .navbar-toggler .hamburger span {
        display: block;
        height: 2px;
        margin: 5px 0;

        background: #ffffff;
        border-radius: 2px;
    }

    /* Menú desplegable */
    #header01-2 .navbar-collapse {
        margin-top: 10px;
        padding: 15px;

        /* background: rgba(25, 38, 48, 0.98); */

        border-radius: 0 0 14px 14px;

        box-shadow:
            0 8px 20px rgba(0, 0, 0, 0.20);
    }

    /* Botones uno debajo del otro */
    #header01-2 .navbar-buttons {
        width: 100%;
        margin: 0;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 10px;
    }

    #header01-2 .navbar-buttons .btn-principal {
        width: 100%;
        min-height: 44px;

        padding: 10px 15px !important;

        font-size: 15px !important;
    }
}


/* ============================================================
MOBILE MUY PEQUEÑO
============================================================ */

@media (max-width: 400px) {

    #header01-2 .navbar-caption {
        font-size: 26px !important;
    }

    #header01-2 .navbar-toggler {
        padding: 6px 8px;
    }
}
#header01-2 {
    background: rgba(25, 38, 48, 0.78) !important;
}
#header01-2 .navbar {
    background: transparent !important;
}
.margen-superior {
    margin-top: 4rem !important;
}
.buscador-fijo {
    position: sticky;
    top: 70px;
    z-index: 1000;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
}
.footer-casoto {
    width: 100%;
    background: #f4623a;
    padding: 30px 15px;
    text-align: center;
}

.footer-casoto-text {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.footer-casoto-text a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
}

.footer-casoto-text a:hover {
    text-decoration: underline;
}