.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.card img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.card h3 {
    font-size: 16px;
    margin: 5px 0;
}

.card p {
    font-size: 14px;
    color: #666;
    margin: 3px 0;
}

.card .estatus {
    margin-top: 10px;
    padding: 5px 10px;
    border-radius: 20px;

    font-size: 12px;
    color: var(--azul-principal);
}

.card button {
    margin-top: 10px;
    padding: 5px 10px;
    border: none;
    background-color: var(--azul-principal);
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

/* === MENÚ DE 3 PUNTOS === */
.card {
    position: relative; /* necesario para el menú */
}

/* Contenedor del botón */
.card-menu {
    position: absolute;
    top: 8px;
    right: 8px;
}

.menu-btn {
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 50%;
    color: #666;
}

/* .menu-btn:hover,
.menu-btn:focus {
    background: var(--azul-principal);
    color: #fff;
} */

/* Menú desplegable */
.menu-dropdown {
    display: none;
    position: absolute;
    top: 28px;
    right: 0;
    background: #fff;
    border-radius: 8px;
    min-width: 210px;
    border: 1px solid #ddd; /* en vez de sombra */
    z-index: 20;
    overflow: hidden;
}

/* Opciones */
.menu-item {
    width: 100%;
    padding: 10px 12px;
    background: none;
    border: none;
    text-align: left;
    font-size: 13px;
    cursor: pointer;
    color: #333;
}
/* 
.menu-item:hover,
.menu-item:focus {
    background: var(--azul-principal);
    color: #fff;
} */
