/* ================== ESTILOS PARA EL FONDO REDONDO DEL ICONO ================== */

.timeline-icon-wrapper {
    /* Define el tamaño del círculo */
    height: 96px; /* Equivalente a h-24 de Tailwind */
    width: 96px;  /* Equivalente a w-24 de Tailwind */

    /* Estilos para crear el círculo */
    background-color: #f0f4f8; /* Un color de fondo azul-grisáceo claro */
    border-radius: 50%; /* Esto lo hace perfectamente redondo */
    border: 1px solid #e2e8f0; /* Un borde sutil ligeramente más oscuro */

    /* Centra el icono dentro del círculo */
    display: flex;
    align-items: center;
    justify-content: center;

    transition: background-color 0.3s ease;
}

.timeline-icon-wrapper:hover {
    background-color: #e2e8f0; /* Cambia de color al pasar el mouse */
}

/* Ajusta el tamaño del icono para que quepa dentro del círculo */
.timeline-icon-wrapper img {
    width: 50%;
    height: auto;
}

/* ================== ESTILOS PARA LAS TARJETAS DE CATEGORÍAS CON EFECTO FLIP ================== */

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 200px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #fff;
}

.flip-card-front img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.flip-card-front h4 {
    margin: 0;
    font-size: 1.2em;
    color: #333;
}

.flip-card-back {
    transform: rotateY(180deg);
    background-color: #f0f4f8;
}

.flip-card-back p {
    margin: 0;
    color: #555;
    line-height: 1.4;
}