/* Card "Notifiche" sul profilo cliente */

.notif-device {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--bs-border-color);
    margin-bottom: 4px;
}

.notif-device-info {
    flex: 1;
    min-width: 220px;
}

.notif-push-btn {
    white-space: nowrap;
}

.notif-grid {
    display: flex;
    flex-direction: column;
}

.notif-grid-head,
.notif-grid-row {
    display: grid;
    grid-template-columns: 1fr 72px 72px;
    align-items: center;
    gap: 8px;
}

.notif-grid-head {
    padding: 12px 0 6px;
}

.notif-grid-row {
    padding: 14px 0;
    border-top: 1px solid var(--bs-border-color);
}

.notif-ch-head {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bs-secondary-color);
}

.notif-type {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 600;
}

.notif-ch {
    display: flex;
    justify-content: center;
}

/* Centra l'interruttore Bootstrap nella cella (rimuove il padding riservato alla label) */
.notif-ch .form-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 0;
    min-height: 0;
    margin: 0;
}

.notif-ch .form-switch .form-check-input {
    margin: 0;
    float: none;
    width: 2.4em;
    height: 1.2em;
    cursor: pointer;
}

@media (max-width: 420px) {
    .notif-grid-head,
    .notif-grid-row {
        grid-template-columns: 1fr 52px 52px;
    }
}
