.comptes-page {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.comptes-create {
    padding: 1rem 1.1rem;
    background: rgba(12, 11, 24, 0.55);
}

.comptes-create h2 {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
}

.comptes-create__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.7rem;
}

.comptes-create .field {
    min-width: 12rem;
    flex: 1 1 12rem;
}

.comptes-check {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.35rem;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.comptes-hint {
    margin: 0.65rem 0 0;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.comptes-list {
    overflow-x: auto;
}

.comptes-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.comptes-table th,
.comptes-table td {
    padding: 0.55rem 0.6rem;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid rgba(180, 190, 255, 0.12);
}

.comptes-table th {
    color: var(--text-muted);
    font-weight: 600;
}

.comptes-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.comptes-badge {
    padding: 0.12rem 0.4rem;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: rgba(180, 190, 255, 0.12);
    color: var(--text-muted);
}

.comptes-badge--admin {
    background: rgba(232, 200, 74, 0.18);
    color: #e8c84a;
}

.comptes-badge--off {
    background: rgba(228, 90, 134, 0.16);
    color: #f0a0b8;
}

.comptes-badge--share {
    background: rgba(78, 205, 196, 0.16);
    color: #4ecdc4;
}

.comptes-badge--temp {
    background: rgba(232, 200, 74, 0.16);
    color: #e8c84a;
}

.comptes-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.comptes-actions .btn {
    min-height: 2rem;
    padding: 0.25rem 0.7rem;
    font-size: 0.78rem;
}

.comptes-table tr.is-disabled td {
    opacity: 0.55;
}
