body {
    /* Used to move footer at bottom of the page */
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at top, rgba(59, 130, 246, 0.10), transparent 35%),
        linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%);
}

#errormessage {
    color: var(--danger);
    font-weight: bold;
    min-height: 1.5rem;
    margin-top: 1rem;
}

.nogroups {
    display: none;
}

.navbar-brand {
  margin-bottom: 1rem;
  font-size: 2.4rem;
  color: var(--text-dark);
  letter-spacing: -0.03em;
}

.home {
  margin: auto;
  padding: 2.5rem;
  width: min(100%, 52rem);
  background: linear-gradient(180deg, var(--surface-card) 0%, var(--surface-panel) 100%);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
}

.home::before {
  content: "ELIODATA";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  height: 2rem;
  padding: 0 0.9rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--brand-primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.home::after {
  content: "Espace de reunion securise";
  display: block;
  margin-top: 0.25rem;
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-size: 1rem;
}

#public-groups-table tr a{
    margin-left: 0.25rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--brand-primary);
}

a:hover {
    color: var(--brand-primary-hover);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

#groupform {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    align-items: end;
}

#groupform label {
    grid-column: 1 / -1;
}

#group {
    height: 2.85rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.94);
}

#submitbutton {
    height: 2.85rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    border-radius: 0.85rem;
    min-width: 9.5rem;
}

#public-groups {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

#public-groups h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

#public-groups-table {
    width: 100%;
    border-collapse: collapse;
}

#public-groups-table td {
    padding: 0.9rem 0.5rem;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
}

.signature {
    padding: 1rem 0 2rem;
    border-top-color: transparent;
    color: var(--muted);
}

@media only screen and (max-device-width: 768px) {
    .home {
        padding: 1.2rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
        box-shadow: none;
    }

    #groupform {
        grid-template-columns: 1fr;
    }
}
