#credit-user-modal.add .remove, #credit-user-ils-modal.add .remove {
    display: none;
}

#credit-user-modal.remove .add, #credit-user-ils-modal.remove .add {
    display: none;
}

#credit-user-modal input.error,
#credit-user-ils-modal input.error,
#send-message-modal input.error,
#send-message-modal select.error,
#send-message-modal textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 .2rem #dc354588;
}

.tab-pane > h3 {
    margin-top: 0.5em;
}

#send-message-modal label {
    margin: 1rem 0 .65rem 0;
}

/* Badge de statut SecureAcces */
.secureacces-status {
    padding: 5px 15px;
    border-radius: 5px;
    background-color: green;
    color: #fff;
    font-weight: bold;
    width: fit-content;
}

.secureacces-status.error {
    background-color: red;
}

/* Section health check (parametres SecureAcces) */
.hc-subsection-disabled  { opacity: 0.5; }
.hc-legend               { font-size: 1.2rem; }
.hc-gobesous-legend      { font-size: 1rem; }
.hc-check-row            { gap: 1.5rem; }
.hc-email-hint           { margin-top: -0.5em; margin-bottom: 0.5em; }
.hc-interval-input-group { max-width: 300px; }
.hc-issues-list          { font-size: 0.9rem; }
.hc-quiet-hours-row      { gap: 0.5rem; max-width: 350px; }
.hc-quiet-hours-row input.form-control { width: 70px; }
#healthcheck-gobesous-sub-settings { margin-left: 1.5rem; }

/* Diagnostic - tableaux */
.diag-table-narrow { max-width: 600px; }
.diag-table-wide   { max-width: 800px; }
.diag-table-key    { width: 250px; }

/* Diagnostic - tailles d'inputs et de cartes */
.diag-input-narrow { max-width: 200px; }
.diag-input-medium { max-width: 300px; }
.diag-input-wide   { max-width: 400px; }
.diag-card-wide    { max-width: 700px; }

/* Diagnostic - gobe-sous */
.gs-value-col  { width: 80px; }
.gs-flag-code  { color: inherit; }
.gs-hw-label   { white-space: nowrap; }
.gs-hwid-value { word-break: break-all; }

/* Diagnostic - pre de sortie (resultats d'execution) */
.task-output-pre { max-height: 300px; overflow: auto; }

/* Diagnostic SIP - rangee Status / Error / Deny */
.sip-status-row              { display: flex; gap: 15px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.sip-status-row .input-group-text         { white-space: nowrap; }
.sip-status-row .sip-status-value         { color: red; min-width: 50px; text-align: center; }
.sip-status-row .form-control             { width: 250px; }

/* Diagnostic SIP - panneau de detection d'encodage */
.encoding-diagnostic         { margin-top: 10px; margin-bottom: 15px; max-width: 600px; font-size: 0.9rem; }
.encoding-header             { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; gap: 12px; flex-wrap: wrap; }
.encoding-diagnostic h5      { font-size: 1rem; font-weight: bold; margin: 0; }
.encoding-default-setting    { color: #555; }
.encoding-card               { margin-bottom: 12px; padding: 10px; border: 1px solid #ddd; border-radius: 4px; }
.encoding-card strong        { font-size: 0.95rem; }
.encoding-card .badge        { margin-left: 8px; }
.encoding-recommended-value  { margin-top: 5px; font-family: monospace; color: #333; word-break: break-all; }
.encoding-recommended-value .enc-label { color: #666; margin-right: 6px; font-weight: bold; }
.encoding-empty-msg          { padding: 10px; border: 1px solid #ddd; border-radius: 4px; color: #666; }
.encoding-mismatch           { color: #c00; font-weight: bold; }
.encoding-details            { margin-top: 8px; }
.encoding-details summary    { cursor: pointer; color: #555; font-size: 0.9em; }
.encoding-details-body       { margin-top: 8px; font-family: monospace; font-size: 0.85em; }
.encoding-hex                { color: #777; word-break: break-all; }
.encoding-table              { margin-top: 6px; border-collapse: collapse; }
.encoding-table td           { padding: 2px 0; word-break: break-all; }
.encoding-table .enc-name    { padding: 2px 10px 2px 0; color: #555; vertical-align: top; }
.encoding-table .enc-invalid { color: #c00; }
