/* Coquille de la PWA R.cube PCO (connexion, choix de l'événement) : par-dessus
   le tableau de bord (style.css du widget), masquée une fois l'événement choisi. */

.shell {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--grist-body-bg, #1e1e2a);
  color: var(--grist-text, #ececf1);
}

.shell-box {
  width: min(520px, 100%);
}

.shell-brand {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 18px;
  text-align: center;
}

.shell-brand span {
  color: var(--grist-control, #17b87a);
}

.shell-card {
  background: var(--card-bg, rgba(255, 255, 255, .055));
  border: 1px solid var(--grist-border, rgba(255, 255, 255, .14));
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 14px;
}

.shell-card h2 {
  margin: 0 0 10px;
  font-size: 16px;
}

.shell-card p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.4;
}

.shell-muted {
  color: var(--grist-muted, #a0a2b0);
  font-size: 13px;
  text-align: center;
}

.shell-error {
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(229, 72, 77, .15);
  color: var(--grist-error, #e5484d);
  font-size: 14px;
}

.shell-btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--grist-control, #17b87a);
  background: var(--grist-control, #17b87a);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.shell-btn.shell-link {
  margin-top: 10px;
  background: transparent;
  color: var(--grist-muted, #a0a2b0);
  border-color: transparent;
  font-weight: 400;
  font-size: 13px;
}

.shell-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shell-event {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--grist-border, rgba(255, 255, 255, .14));
  background: rgba(255, 255, 255, .04);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.shell-event:hover {
  background: var(--grist-hover, rgba(255, 255, 255, .05));
}

.shell-event-name {
  font-size: 16px;
  font-weight: 800;
}

.shell-event-sub {
  font-size: 13px;
  color: var(--grist-muted, #a0a2b0);
}
