/* Pages de compte (rendu statique, sans composants interactifs) */
.account-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eceff1;
    font-family: Roboto, Helvetica, Arial, sans-serif;
}

.login-card {
    width: 100%;
    max-width: 360px;
    padding: 32px;
    border-radius: 8px;
    background: #fff;
}

.login-card h1 {
    margin: 0 0 24px;
    font-size: 1.5rem;
    font-weight: 500;
    color: #37474f;
    text-align: center;
}

.login-card label {
    display: block;
    margin: 12px 0 4px;
    font-size: .875rem;
    color: #546e7a;
}

.login-card input[type=text], .login-card input[type=password], .login-card input:not([type]) {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #b0bec5;
    border-radius: 4px;
    font-size: 1rem;
}

.login-card input:focus {
    outline: none;
    border-color: #37474f;
}

.login-card label.remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.login-card button {
    width: 100%;
    margin-top: 24px;
    padding: 10px;
    border: 0;
    border-radius: 4px;
    background: #37474f;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}

.login-card .validation-message, .login-error {
    margin-top: 4px;
    font-size: .8rem;
    color: #c62828;
}

.login-error {
    margin-top: 16px;
}

/* Matrice des droits (fiche profil) */
.rights-table td, .rights-table th {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

.rights-table input[type=radio] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #37474f;
}

/* Texte brut (détail des logs...) */
.log-text {
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 300px;
    overflow: auto;
    padding: 8px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: .8rem;
}

/* Email invalide : texte d'aide en rouge sans bloquer l'enregistrement (comme GPad) */
.bad-email .mud-input-helper-text {
    color: #c62828;
}

/* Saisie de code HTML */
.html-source textarea {
    font-family: Consolas, "Courier New", monospace;
    font-size: .8rem;
}

/* Exemplaires d'une œuvre du Kardex (colonnes de 15, couleur de l'édition, vendus barrés sur fond rouge) */
.k-copies {
    border-collapse: collapse;
    font-size: .8rem;
    min-width: 220px;
}
.k-copies th, .k-copies td {
    border: 1px solid var(--mud-palette-lines-default);
    padding: 1px 6px;
    white-space: nowrap;
}
.k-copies tbody tr {
    cursor: pointer;
}
.k-copies tbody tr:hover td {
    filter: brightness(.95);
}
.k-copies .k-sold {
    text-decoration: line-through;
}
.k-copies .k-sold-state {
    background: #e53935;
    color: #fff;
}
