/* === Outil Preparation CEE - Styles === */

:root {
    --primary-color: #0d6efd;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --muted-color: #6c757d;
}

/* === Wizard Steps === */
.wizard-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    gap: 0;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.step.active {
    opacity: 1;
}

.step.done {
    opacity: 0.7;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
}

.step.done .step-number {
    background: var(--success-color);
}

.step-label {
    font-weight: 600;
}

.step-line {
    width: 4rem;
    height: 2px;
    background: #dee2e6;
    margin: 0 0.5rem;
}

/* === Step Content === */
.step-content {
    animation: fadeIn 0.3s ease;
}

.step-content[hidden] {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Upload Zone === */
.upload-zone {
    border: 2px dashed #dee2e6;
    border-radius: 0.5rem;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    margin-bottom: 1.5rem;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--primary-color);
    background: rgba(13, 110, 253, 0.05);
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.upload-zone .link {
    color: var(--primary-color);
    cursor: pointer;
    text-decoration: underline;
}

.upload-zone .muted {
    color: var(--muted-color);
    font-size: 0.85rem;
}

/* === File List === */
.file-list {
    margin-top: 1.5rem;
}

.file-list table {
    font-size: 0.9rem;
}

.status-ok {
    color: var(--success-color);
    font-weight: bold;
}

.status-warning {
    color: var(--warning-color);
    font-weight: bold;
}

.status-error {
    color: var(--danger-color);
    font-weight: bold;
}

/* === Actions === */
.actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 0.75rem;
}

/* === Warnings === */
.warnings {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    list-style: none;
}

.warnings li {
    padding: 0.25rem 0;
    color: #856404;
    font-size: 0.9rem;
}

.warnings li::before {
    content: "\26A0\FE0F ";
}

/* === Status Badge === */
.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.status-badge.success {
    background: #d1e7dd;
    color: #0f5132;
}

.status-badge.partial {
    background: #fff3cd;
    color: #856404;
}

.status-badge.error {
    background: #f8d7da;
    color: #842029;
}

/* === Download Button === */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.8rem;
    background: var(--success-color);
    color: white;
    border: none;
    border-radius: 0.3rem;
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: none;
}

.btn-download:hover {
    opacity: 0.9;
}

/* === Loading Overlay === */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-overlay[hidden] {
    display: none;
}

/* === Compact layout overrides (PicoCSS) === */
main.container h2 {
    margin-bottom: 0.5rem;
}

main.container h3 {
    margin-bottom: 0.5rem;
}

main.container p {
    margin-bottom: 0.5rem;
}

main.container table {
    margin-bottom: 0.5rem;
}

main.container table th,
main.container table td {
    padding: 0.35rem 0.5rem;
}

/* === Config Page === */
.mapping-editor {
    overflow-x: auto;
}

.mapping-editor table {
    font-size: 0.85rem;
    min-width: 800px;
}

.mapping-editor input,
.mapping-editor select,
.mapping-editor textarea {
    font-size: 0.85rem;
    padding: 0.15rem 0.4rem;
    margin-bottom: 0;
    height: auto;
    line-height: 1.3;
}

/* Textarea pour en-tete source : compact par defaut, s'agrandit si multilignes */
.source-header-textarea {
    width: 100%;
    min-height: 1.6rem;
    resize: vertical;
    overflow: hidden;
    font-family: inherit;
    field-sizing: content;
    flex: 1;
}

/* Checkbox "Oblig." a droite du champ en-tete */
.header-required-label {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    font-size: 0.75rem;
    white-space: nowrap;
    color: var(--muted-color);
    cursor: pointer;
    margin: 0;
    padding-top: 0.15rem;
}
.header-required-label input[type="checkbox"] {
    margin: 0;
    width: auto;
    height: auto;
}

.form-group {
    margin-bottom: 0.75rem;
}

.form-group label {
    font-weight: 600;
}

/* === Config Details === */
#config-details .file-config {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
}

#config-details .file-config h4 {
    margin: 0 0 0.5rem 0;
}

#config-details .file-config .detail {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

#config-details .file-config .detail span {
    color: var(--muted-color);
}

/* === Config Page: Row Deleted (intermediate column) === */
.row-deleted {
    background-color: rgba(220, 53, 69, 0.08) !important;
}

.row-deleted td {
    opacity: 0.7;
}

/* === Config Page: Output Column Letter === */
.output-col-letter {
    font-family: 'Consolas', 'Courier New', monospace;
    font-weight: bold;
    text-align: center;
    min-width: 2.5rem;
    color: var(--primary-color);
}

/* === Config Page: Formula Cell === */
.formula-cell {
    position: relative;
}

.formula-cell .formula-row {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-formula-args {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    font-size: 0.7rem;
    border: 1px solid #dee2e6;
    border-radius: 0.2rem;
    background: #f8f9fa;
    cursor: pointer;
    flex-shrink: 0;
}

.btn-formula-args:hover {
    background: #e9ecef;
}

.formula-args-panel {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.3rem;
    padding: 0.4rem 0.6rem;
    margin-top: 0.3rem;
    font-size: 0.78rem;
}

.formula-args-panel label {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin: 0.15rem 0;
    font-weight: normal;
    color: var(--muted-color);
}

.formula-args-panel input {
    font-size: 0.78rem;
    padding: 0.15rem 0.3rem;
    width: 6rem;
}

/* === Config Page: Fiche Table (Section B) === */
.fiche-table {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.fiche-table select,
.fiche-table input {
    font-size: 0.8rem;
    padding: 0.15rem 0.4rem;
    margin-bottom: 0;
    height: auto;
    line-height: 1.3;
}

.fiche-table .mapping-link {
    color: var(--primary-color);
    cursor: pointer;
    text-decoration: underline;
    font-weight: 600;
}

.fiche-table .mapping-link:hover {
    opacity: 0.8;
}

.fiche-table .variant-row {
    font-size: 0.8rem;
    color: var(--muted-color);
    margin-bottom: 0.15rem;
}

.fiche-table td {
    vertical-align: middle;
    padding: 0.25rem 0.5rem;
}

/* === Config Page: Header Search Strings (Section A) === */
.header-strings-editor {
    margin-bottom: 0.75rem;
}

.header-strings-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.header-string-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.header-string-item input {
    flex: 1;
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
}

.header-string-item .btn-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    padding: 0;
    border: 1px solid #dee2e6;
    border-radius: 0.2rem;
    background: #fff;
    color: var(--danger-color);
    cursor: pointer;
    font-size: 1rem;
    flex-shrink: 0;
}

.header-string-item .btn-remove:hover {
    background: rgba(220, 53, 69, 0.1);
}

.btn-add-string {
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
    background: none;
    border: 1px dashed #dee2e6;
    border-radius: 0.3rem;
    cursor: pointer;
    color: var(--muted-color);
}

.btn-add-string:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* === Config Page: Section Cards === */
.config-section {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.config-section h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* === Mapping: Empty output column (orange letter) === */
.output-col-empty {
    color: var(--warning-color) !important;
}

/* === Mapping: Insert TEMP row button === */
.insert-row-tr {
    height: 0.5rem;
}

.insert-row-tr td {
    padding: 0 !important;
    border: none !important;
}

.btn-insert-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
    padding: 0;
    font-size: 0.8rem;
    font-weight: bold;
    border: 1px dashed #adb5bd;
    border-radius: 50%;
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.15s;
}

.btn-insert-row:hover {
    opacity: 1;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* === Mapping: Delete TEMP column button === */
.btn-delete-temp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    font-size: 0.75rem;
    border: none;
    background: transparent;
    color: var(--danger-color);
    cursor: pointer;
    margin-left: 0.15rem;
}

.btn-delete-temp:hover {
    background: rgba(220, 53, 69, 0.1);
    border-radius: 0.2rem;
}

/* === Mapping: Mutual exclusion disabled fields === */
.source-disabled {
    opacity: 0.35 !important;
    background: #f8f9fa !important;
}

/* === Mapping: champ source actif (renseigne) === */
.source-active {
    border: 2px solid #198754 !important;
    background: #f0fdf4 !important;
}

/* === Config Hub Cards === */
.config-hub-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 2.5rem;
    border: 2px solid #dee2e6;
    border-radius: 0.75rem;
    text-decoration: none;
    color: inherit;
    flex: 1;
    min-width: 14rem;
    max-width: 22rem;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    background: #fff;
}

.config-hub-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(13, 110, 253, 0.12);
    transform: translateY(-2px);
}

.config-hub-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.config-hub-card h3 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
}

.config-hub-card p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted-color);
}

/* === Formula Editor Modal === */
.formula-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.formula-modal-overlay[hidden] {
    display: none;
}

.formula-modal {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    width: 95%;
    max-width: 700px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.formula-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #dee2e6;
    background: #f8f9fa;
}

.formula-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--muted-color);
    border-radius: 0.3rem;
}

.formula-modal-close:hover {
    background: #e9ecef;
    color: var(--danger-color);
}

.formula-modal-body {
    padding: 1.25rem;
    overflow-y: auto;
    flex: 1;
}

.formula-modal-footer {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding: 1rem 1.25rem;
    border-top: 1px solid #dee2e6;
    background: #f8f9fa;
}

.formula-modal-footer button {
    padding: 0.4rem 1.2rem;
    font-size: 0.9rem;
}

.formula-expr-input {
    width: 100%;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.9rem;
    padding: 0.6rem 0.75rem;
    border: 2px solid #dee2e6;
    border-radius: 0.4rem;
    resize: vertical;
    min-height: 3rem;
    margin-bottom: 0.5rem;
}

.formula-expr-input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.formula-validation {
    font-size: 0.8rem;
    padding: 0.35rem 0.6rem;
    border-radius: 0.3rem;
    margin-bottom: 0.5rem;
}

.formula-valid {
    color: #0f5132;
    background: #d1e7dd;
}

.formula-invalid {
    color: #842029;
    background: #f8d7da;
}

.formula-toolbar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.formula-toolbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
    border: 1px solid #dee2e6;
    border-radius: 0.3rem;
    background: #f8f9fa;
    cursor: pointer;
    color: #333;
}

.formula-toolbar-btn:hover {
    background: #e9ecef;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.formula-sub-panel {
    border: 1px solid #dee2e6;
    border-radius: 0.4rem;
    margin-bottom: 0.5rem;
    background: #fafbfc;
    max-height: 12rem;
    overflow-y: auto;
}

.formula-sub-panel[hidden] {
    display: none;
}

.formula-sub-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0.6rem;
    background: #f0f1f3;
    border-bottom: 1px solid #dee2e6;
    font-size: 0.8rem;
}

.formula-fn-list {
    padding: 0.25rem;
}

.formula-fn-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.4rem;
    border-radius: 0.2rem;
    font-size: 0.78rem;
}

.formula-fn-row:hover {
    background: #e9ecef;
}

.formula-fn-name {
    font-weight: 700;
    color: var(--primary-color);
    min-width: 4.5rem;
}

.formula-fn-syntax {
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.72rem;
    color: #555;
    background: #e9ecef;
    padding: 0.1rem 0.3rem;
    border-radius: 0.15rem;
    min-width: 10rem;
}

.formula-fn-desc {
    color: var(--muted-color);
    flex: 1;
    font-size: 0.72rem;
}

.formula-fn-insert {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
    padding: 0;
    font-size: 0.75rem;
    font-weight: bold;
    border: 1px solid var(--primary-color);
    border-radius: 0.2rem;
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    flex-shrink: 0;
}

.formula-fn-insert:hover {
    background: var(--primary-color);
    color: #fff;
}

.formula-mapping-list {
    padding: 0.25rem;
}

.formula-mapping-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 0.4rem;
    border-radius: 0.2rem;
    font-size: 0.8rem;
}

.formula-mapping-row:hover {
    background: #e9ecef;
}

.formula-help {
    font-size: 0.8rem;
}

.formula-help p {
    margin: 0.2rem 0;
}

.formula-help code {
    font-size: 0.75rem;
    background: #e9ecef;
    padding: 0.1rem 0.3rem;
    border-radius: 0.15rem;
}

.btn-open-formula {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    font-size: 0.7rem;
    color: #333;
    border: 1px solid #dee2e6;
    border-radius: 0.2rem;
    background: #f8f9fa;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 0.2rem;
}

.btn-open-formula:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.btn-clear-formula {
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    font-size: 0.85rem;
    line-height: 1;
    border: 1px solid #e0a0a0;
    border-radius: 0.2rem;
    background: #fff0f0;
    color: #c0392b;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 0.15rem;
}

.btn-clear-formula:hover {
    background: #c0392b;
    color: #fff;
    border-color: #c0392b;
}

/* === Responsive === */
@media (max-width: 768px) {
    .wizard-steps {
        flex-wrap: wrap;
    }

    .step-line {
        display: none;
    }

    .actions {
        flex-direction: column;
    }
}

/* === Schema error rules === */

.error-rule-badge {
    display: inline-block;
    padding: 0.1rem 0.4rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    background: var(--danger-color);
    border-radius: 0.25rem;
}

.btn-add-error {
    padding: 0.1rem 0.4rem;
    font-size: 0.7rem;
    background: none;
    border: 1px dashed var(--muted-color);
    color: var(--muted-color);
    cursor: pointer;
    border-radius: 0.2rem;
}
.btn-add-error:hover {
    border-color: var(--danger-color);
    color: var(--danger-color);
}

.btn-edit-error {
    padding: 0.05rem 0.3rem;
    font-size: 0.65rem;
    background: none;
    border: 1px solid var(--muted-color);
    color: var(--muted-color);
    cursor: pointer;
    border-radius: 0.2rem;
}
.btn-edit-error:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-remove-error {
    padding: 0 0.25rem;
    font-size: 0.85rem;
    background: none;
    border: none;
    color: var(--muted-color);
    cursor: pointer;
    line-height: 1;
}
.btn-remove-error:hover {
    color: var(--danger-color);
}

/* Error rule dialog */
.error-rule-dialog {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 0;
    max-width: 36rem;
    width: 90vw;
    box-shadow: 0 0.5rem 2rem rgba(0,0,0,0.15);
}
.error-rule-dialog::backdrop {
    background: rgba(0,0,0,0.4);
}
.error-rule-dialog-content {
    padding: 1.5rem;
}

/* === Alerts section in results === */

.alerts-section {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-left: 4px solid var(--danger-color);
    border-radius: 0.25rem;
}
.alerts-section h3 {
    color: var(--danger-color);
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}
.alerts-section ul {
    margin: 0;
    padding-left: 1.2rem;
}
.alerts-section li {
    color: #856404;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

/* === Boutons actions resultat (bleu/vert/outline) === */
.btn-action-blue,
.btn-action-green,
.btn-action-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0 0.9rem;
    margin: 0;
    color: #fff;
    border: none;
    border-radius: 0.3rem;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    line-height: 2rem;
    box-sizing: border-box;
    height: 2rem;
    vertical-align: middle;
}
.btn-action-blue { background: #1976d2; }
.btn-action-green { background: #2e7d32; }
.btn-action-outline {
    background: #fff;
    color: #555;
    border: 1px solid #adb5bd;
}
.btn-action-blue:hover,
.btn-action-green:hover { opacity: 0.88; }
.btn-action-outline:hover { background: #f1f3f5; }
.btn-action-blue:disabled,
.btn-action-green:disabled,
.btn-action-outline:disabled { opacity: 0.5; cursor: default; }

/* Ligne de fichier en erreur (alerte) */
tr.output-row-alert {
    background: #fff9c4 !important;
}
tr.output-row-alert td {
    background: inherit !important;
}

/* === Auth : infos utilisateur dans le nav === */
.user-info-li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-info {
    font-size: 0.85rem;
    color: var(--muted-color);
}

.user-info small {
    font-size: 0.75rem;
    opacity: 0.7;
}

.logout-link {
    font-size: 0.8rem;
    color: var(--danger-color, #dc3545) !important;
    text-decoration: underline;
    cursor: pointer;
}

.logout-link:hover {
    opacity: 0.8;
}

/* === Lien "Mon profil" dans le nav === */
.profile-link {
    font-size: 0.8rem;
    color: var(--primary) !important;
    text-decoration: underline;
    cursor: pointer;
    margin-right: 0.25rem;
}

.profile-link:hover {
    opacity: 0.8;
}

/* === Bandeau configuration SharePoint === */
.sp-setup-banner {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.sp-setup-banner span {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* === Modal Profil === */
#profile-modal::backdrop {
    background: rgba(0, 0, 0, 0.4);
}

#profile-modal {
    border: none;
    border-radius: 12px;
    padding: 0;
    max-width: 480px;
    width: 90vw;
}

.profile-article {
    margin: 0;
}

.profile-article header {
    padding: 1rem 1.25rem;
    margin-bottom: 0;
}

.profile-article header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.profile-body {
    padding: 0.5rem 1.25rem 1.25rem;
}

.profile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 0;
}

.profile-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--muted-color);
}

.profile-value {
    font-size: 0.9rem;
}

.profile-body h4 {
    font-size: 0.95rem;
    margin: 0.5rem 0 0.25rem;
}

.profile-body hr {
    margin: 0.75rem 0;
}
