:root {
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    color: #1d2330;
    background: #f4f5f7;
}

body {
    margin: 0;
}

.bandeau {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    background: #1d2330;
    color: #fff;
}

.bandeau a {
    color: #fff;
}

main {
    max-width: 60rem;
    margin: 2rem auto;
    padding: 0 1rem;
}

.carte {
    max-width: 24rem;
    margin: 3rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgb(0 0 0 / 0.12);
}

.carte label {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
}

.carte input {
    box-sizing: border-box;
    width: 100%;
    margin-top: 0.25rem;
    padding: 0.5rem;
    font-size: 1rem;
}

.carte button {
    margin-top: 1.5rem;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
}

.erreur {
    padding: 0.75rem;
    background: #fdecea;
    color: #8a1c14;
    border-radius: 0.25rem;
}

/* Liste des instances (PMSG-20) */
.filtres {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: end;
    margin-bottom: 1.5rem;
}

.filtres label {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    gap: 0.25rem;
}

.filtres select,
.filtres input,
.filtres button {
    padding: 0.4rem 0.6rem;
    font-size: 1rem;
}

.liste {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.liste th,
.liste td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e3e5ea;
    text-align: left;
    vertical-align: top;
}

.liste th {
    background: #eceef2;
}

.derniere-action time {
    display: block;
    color: #5b6275;
    font-size: 0.85rem;
}

.badge {
    display: inline-block;
    padding: 0.1rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    background: #e3e5ea;
    color: #1d2330;
}

.badge-active { background: #dff3e4; color: #1b5e2b; }
.badge-stopped { background: #fff1d6; color: #7a4b00; }
.badge-failed { background: #fdecea; color: #8a1c14; }
.badge-deleted { background: #eceef2; color: #5b6275; }

.administrer-indisponible {
    color: #9aa0ad;
}

.infos {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.4rem 1.5rem;
    padding: 1rem 1.5rem;
    background: #fff;
}

.infos dt {
    font-weight: 600;
}

.infos dd {
    margin: 0;
}

.vide {
    color: #5b6275;
}

.visuellement-masque {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.pagination {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
}
