:root {
    --rh-primary: #007c91;
    --rh-dark: #005f6e;
    --rh-ok: #27ae60;
    --rh-warn: #f39c12;
    --rh-err: #e74c3c;
    --rh-bg: #f4f9fa;
    --rh-card: #fff;
    --rh-border: #cfe9ee;
}

.rh-page { max-width: 1100px; }

/* Cards salariés */
.rh-salarié-card {
    background: var(--rh-card);
    border: 1.5px solid var(--rh-border);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    transition: box-shadow .15s;
    text-decoration: none;
    color: inherit;
}
.rh-salarié-card:hover { box-shadow: 0 4px 16px rgba(0,124,145,.1); border-color: var(--rh-primary); }

.rh-avatar {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, #007c91, #005f6e);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 1.1em;
    flex-shrink: 0;
}

.rh-salarié-name { font-weight: 700; color: var(--rh-dark); font-size: 1em; }
.rh-salarié-sub  { font-size: .82em; color: #888; margin-top: 2px; }

.rh-badge-count {
    margin-left: auto;
    background: var(--rh-bg);
    border: 1px solid var(--rh-border);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: .82em;
    color: var(--rh-primary);
    font-weight: 700;
}

/* Documents */
.rh-doc-table { width: 100%; border-collapse: collapse; }
.rh-doc-table th {
    background: var(--rh-primary);
    color: #fff;
    padding: 10px 14px;
    font-size: .82em;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.rh-doc-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0;
    font-size: .88em;
    vertical-align: middle;
}
.rh-doc-table tr:hover td { background: #f8fdfe; }

.rh-cat-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: .75em;
    font-weight: 700;
    text-transform: uppercase;
}
.rh-cat-bulletin    { background: #e8f4f7; color: #007c91; }
.rh-cat-contrat     { background: #eafaf1; color: #27ae60; }
.rh-cat-avenant     { background: #fef9e7; color: #f39c12; }
.rh-cat-attestation { background: #f5eef8; color: #8e44ad; }
.rh-cat-autre       { background: #f2f3f4; color: #555; }

/* Upload zone */
.rh-upload-zone {
    border: 2px dashed var(--rh-primary);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    background: var(--rh-bg);
    cursor: pointer;
    transition: background .2s;
}
.rh-upload-zone:hover { background: #e8f4f7; }

/* Boutons */
.rh-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 18px; border-radius: 8px;
    font-size: .88em; font-weight: 700;
    text-decoration: none; cursor: pointer; border: none;
    transition: opacity .15s;
}
.rh-btn:hover { opacity: .85; }
.rh-btn-primary { background: var(--rh-primary); color: #fff; }
.rh-btn-outline { background: #fff; color: var(--rh-primary); border: 1.5px solid var(--rh-primary); }
.rh-btn-danger  { background: #fee2e2; color: #dc2626; }

/* Header section */
.rh-section-header {
    background: linear-gradient(135deg, #005f6e, #007c91);
    border-radius: 12px;
    padding: 20px 24px;
    color: #fff;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.rh-section-title { font-size: 1.3em; font-weight: 800; }
.rh-section-sub   { font-size: .85em; opacity: .8; margin-top: 4px; }

.rh-empty {
    text-align: center;
    padding: 48px 20px;
    color: #aaa;
}
.rh-empty-icon { font-size: 2.5em; margin-bottom: 12px; }

div.mainmenu.mjpgrh::before {
    content: "0c0";
}
