/*=========================================
        CARD HORAS ESPEJO
=========================================*/

.cardHoraEspejo{

    border:none;

    border-radius:22px;

    overflow:hidden;

    background:#fff;

    transition:.35s;

    box-shadow:0 12px 28px rgba(0,0,0,.08);

}

.cardHoraEspejo:hover{

    transform:translateY(-8px);

    box-shadow:0 22px 45px rgba(13,110,253,.20);

}


/*=========================================
            BODY
=========================================*/

.cardHoraEspejo .card-body{

    padding:30px 22px;

}


/*=========================================
            IMAGEN
=========================================*/


.imagenHora{

    width:100%;

    aspect-ratio:1/1;

    object-fit:cover;

    object-position:center;

    border-radius:18px;

    border:4px solid #fff;

    box-shadow:0 10px 25px rgba(13,110,253,.18);

    transition:all .4s ease;

    margin-bottom:20px;

}

.cardHoraEspejo:hover .imagenHora{

    transform:scale(1.04);

    box-shadow:0 18px 35px rgba(13,110,253,.30);

}


/*=========================================
            TITULO
=========================================*/

.cardHoraEspejo h3{

    color:#0d6efd;

    font-size:1.55rem;

    font-weight:700;

    margin-bottom:12px;

}


/*=========================================
        TIPO DE HORA
=========================================*/

.tipoHora{

    display:inline-block;

    background:#e8f4ff;

    color:#0d6efd;

    font-weight:600;

    border-radius:30px;

    padding:6px 18px;

    margin-bottom:18px;

}


/*=========================================
            DESCRIPCIÓN
=========================================*/

.descripcionHora{

    color:#666;

    line-height:1.7;

    min-height:80px;

    font-size:.97rem;

}


/*=========================================
            FOOTER
=========================================*/

.cardHoraEspejo .card-footer{

    background:transparent;

    border:none;

    padding:20px;

}

.cardHoraEspejo .btn{

    border-radius:12px;

    padding:10px;

    font-weight:600;

}

/*=========================================
            BUSCADOR
=========================================*/

.search-box{
    position:relative;
}

/* Icono de la lupa a la izquierda */
.search-box > i:not(.search-clear-btn i) {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    color: #0d6efd;
    font-size: 1.1rem;
    z-index: 2;
}

.search-box input{
    height: 58px;
    padding-left: 55px;
    padding-right: 55px;
    border-radius: 50px;
    border: 1px solid rgba(13,110,253,.10);
    background: linear-gradient(180deg,#ffffff,#f8fbff);
    box-shadow: 0 12px 30px rgba(13,110,253,.10);
}

.search-box input:focus{
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.15),
                0 10px 30px rgba(13,110,253,.15);
    border: none;
}

.search-box input:hover{
    box-shadow: 0 15px 35px rgba(13,110,253,.16);
}


/*=========================================
      BOTÓN LIMPIAR / TACHE (BUSCADOR)
=========================================*/

.search-box input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.search-clear-btn {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: #e8f4ff;
    color: #0d6efd;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    z-index: 2;
    padding: 0;
    transition: all 0.25s ease;
}

/* Forzar que el ícono de la "X" quede perfectamente centrado y sin heredar posiciones absolutas */
.search-clear-btn i {
    position: static !important;
    transform: none !important;
    left: auto !important;
    margin: 0 !important;
    color: inherit;
}

.search-clear-btn:hover {
    background: #0d6efd;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(13,110,253,.3);
}

.search-clear-btn:hover i {
    color: #fff !important;
}