body {
    background-color: var(--light);
}

.card-evento {
    width: 100%;
    max-width: 540px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-radius: 8px;
}

.evento-title {
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0;
}

/* filtros */
.filtros-eventos {
    padding: 1rem;
}

.filtros-eventos h5 {
    color: #000;
    font-family: Urbanist, sans-serif;
    font-size: 16px;
    font-weight: 500;
}

.filtro-opcion {
    cursor: pointer;
    font-family: Urbanist, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000;
    position: relative;
    user-select: none;
    text-transform: uppercase;
    margin-bottom: .75rem;
}

.filtro-opcion input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkmark {
    display: flex;
    width: 20px;
    height: 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    aspect-ratio: 1/1;
    border-radius: 4px;
    border: 2px solid var(--secundario);
}

/* Icono SVG oculto por defecto */
.checkmark .check-icon {
    width: 12px;
    height: 12px;
    color: var(--blanco);
    display: none;
    z-index: 2;
}

/* Mostrar check-icon y fondo al marcar */
.filtro-opcion input:checked ~ .checkmark {
    background-color: var(--secundario); /* Fondo del marcado */
    border-color: var(--secundario);
}

.filtro-opcion input:checked ~ .checkmark .check-icon {
    display: block;
}

.filtro-opcion input:checked ~ .checkmark .check-icon {
    display: block;
}

.filtro-opcion .label {
    margin-left: 4px;
}

/* Filtros */
/* Estilo base del checkbox */
/* Wrapper del input */
.checkbox-color-box {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 2px solid #ccc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.checkbox-color-box input[type="checkbox"] {
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    z-index: 2;
}

.checkbox-color-box .checkmark {
    color: black;
    font-size: 20px;
    font-weight: bold;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.2s ease;
    border: none;
}

.checkbox-color-box input[type="checkbox"]:checked + .checkmark {
    opacity: 1;
}

.titulo-filtro{
    font-size: 14px;
}
