/* Réglage des notifications de l'appareil : cloche du site, accueil de ASB - CLUB, Profil, Communication. */

.asb-push { display: grid; gap: 10px; max-width: 520px; font-size: 14px; line-height: 1.45; }
.asb-push__message { margin: 0; }
.asb-push__message--ok { color: #00713a; font-weight: 600; }
.asb-push__message--alerte { color: #b32d2e; }
.asb-push__compte { margin: 0; font-size: 13px; opacity: .8; }
.asb-push__types { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.asb-push__types legend { margin-bottom: 4px; padding: 0; font-weight: 600; }
.asb-push__types label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.asb-push__types input { margin: 3px 0 0; }
.asb-push__types span { display: grid; }
.asb-push__types small { opacity: .75; }

/* hors tableau de bord, les boutons n'ont pas le style de WordPress */
body:not(.wp-admin) .asb-push__bouton {
	justify-self: start; padding: 9px 16px; border: 0; border-radius: 6px;
	background: #DD0106; color: #fff; font: inherit; font-weight: 600; cursor: pointer;
}
body:not(.wp-admin) .asb-push__bouton--discret { background: transparent; color: inherit; padding: 0; text-decoration: underline; font-weight: 400; }
.wp-admin .asb-push__bouton { justify-self: start; }
.asb-push__bouton[disabled] { opacity: .6; cursor: wait; }

/* Cloche du site public */
.asb-push-cloche { position: fixed; bottom: 16px; z-index: 9990; }
.asb-push-cloche[hidden] { display: none; }
.asb-push-cloche--droite { right: 16px; }
.asb-push-cloche--gauche { left: 16px; }
.asb-push-cloche__bouton {
	position: relative; display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
	border: 0; border-radius: 50%; background: #DD0106; color: #fff; cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.asb-push-cloche__bouton:focus-visible { outline: 3px solid #1d2327; outline-offset: 2px; }
.asb-push-cloche__point { position: absolute; top: 9px; right: 11px; width: 10px; height: 10px; border: 2px solid #DD0106; border-radius: 50%; background: #fff; }
.asb-push-cloche__point[hidden] { display: none; }
.asb-push-volet {
	position: absolute; bottom: 64px; width: min(340px, calc(100vw - 32px)); padding: 16px;
	border-radius: 10px; background: #fff; color: #1d2327; box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
}
.asb-push-cloche--droite .asb-push-volet { right: 0; }
.asb-push-cloche--gauche .asb-push-volet { left: 0; }
.asb-push-volet[hidden] { display: none; }
.asb-push-volet__invitation { margin: 0 0 12px; font-weight: 600; }

.asb-push-encart { padding: 16px; border: 1px solid rgba(0, 0, 0, .12); border-radius: 8px; }

/* Invitation en haut de l'accueil de ASB - CLUB */
.asb-push-invite {
	display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin: 16px 0; padding: 14px 18px;
	border-left: 4px solid #DD0106; background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
}
.asb-push-invite[hidden] { display: none; }
.asb-push-invite > .dashicons { color: #DD0106; font-size: 28px; width: 28px; height: 28px; }
.asb-push-invite > div:first-of-type { flex: 1 1 260px; }
.asb-push-invite p { margin: 2px 0 0; }

.asb-push-appareils { margin: 0; }
