/* ============================================================================
   RECRUITER THEME — Rekrufy Espace Recruteur
   Identité : sidebar NOIRE premium + accents JAUNES Rekrufy (look SaaS pro)
   ============================================================================ */

:root {
    /* === SIDEBAR NOIRE PREMIUM === */
    --rec-sidebar-bg: #1A1A1A;
    --rec-sidebar-hover: #2A2A2A;
    --rec-sidebar-active: #FFB400;          /* item actif = jaune */
    --rec-sidebar-active-text: #1A1A1A;     /* texte sur item actif = noir */
    --rec-sidebar-accent: #FFB400;          /* avatars, CTA sidebar */
    --rec-sidebar-text: #E5E5E5;
    --rec-sidebar-text-muted: #9A9A9A;
    --rec-sidebar-border: #2E2E2E;

    /* === ACCENTS REKRUFY === */
    --rec-yellow: #FFB400;
    --rec-yellow-hover: #E6A200;
    --rec-yellow-light: #FFF4CC;
    --rec-black: #1A1A1A;

    /* primary = NOIR dominant (le jaune ponctue, ne domine pas) */
    --rec-primary: #1A1A1A;
    --rec-primary-soft: #FFF4CC;

    /* === COULEURS FONCTIONNELLES === */
    --rec-secondary: #16A34A;
    --rec-success: #16A34A;
    --rec-warning: #F59E0B;
    --rec-danger: #DC2626;
    --rec-info: #2563EB;

    /* === FONDS === */
    --rec-bg: #F7F7F5;
    --rec-card: #FFFFFF;
    --rec-header: #FFFFFF;
    --rec-bg-soft: #FAFAF8;

    /* === TEXTE === */
    --rec-text: #1A1A1A;
    --rec-text-secondary: #5A5A5A;
    --rec-text-muted: #8E8E8E;
    --rec-border: #E8E8E5;

    /* === SCORING (fonctionnel, inchangé) === */
    --score-high: #16A34A;
    --score-mid: #2563EB;
    --score-avg: #F59E0B;
    --score-low: #DC2626;

    /* === BADGES RÉCOMPENSE === */
    --badge-500: #16A34A;
    --badge-1000: #2563EB;
    --badge-1500: #8B5CF6;
    --badge-cumul: #FFB400;

    /* === OMBRES / RAYONS / TRANSITIONS === */
    --rec-shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --rec-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --rec-shadow-lg: 0 10px 28px rgba(0,0,0,0.10);
    --rec-radius: 10px;
    --rec-radius-lg: 14px;
    --rec-radius-pill: 100px;
    --rec-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================================
   GLOBAL / BODY
   ============================================================================ */
.recruiter-body {
    font-family: 'Poppins', sans-serif;
    background: var(--rec-bg);
    color: var(--rec-text);
    margin: 0;
    min-height: 100vh;
}

.rec-app-wrapper {
    display: flex;
    min-height: 100vh;
}

/* ============================================================================
   SIDEBAR
   ============================================================================ */
.rec-sidebar {
    width: 260px;
    min-width: 260px;
    background: var(--rec-sidebar-bg);
    color: #fff;
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.rec-sidebar-logo {
    padding: 20px 20px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rec-sidebar-logo a {
    text-decoration: none;
}

.rec-logo-full {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}

.rec-logo-mini {
    display: none;
}

.rec-sidebar-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

/* Company block */
.rec-sidebar-company {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 8px;
}

.rec-company-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--rec-sidebar-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.rec-company-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #fff;
    padding: 3px;
}

.rec-company-initials {
    font-size: 13px;
    font-weight: 700;
    color: var(--rec-black);
}

.rec-company-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.rec-company-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rec-company-plan {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
}

/* Nav */
.rec-sidebar-nav {
    flex: 1;
    padding: 4px 0;
    overflow-y: auto;
}

.rec-sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rec-menu-item {
    margin: 2px 10px;
}

.rec-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--rec-radius);
    color: var(--rec-sidebar-text);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: var(--rec-transition);
}

.rec-menu-link:hover {
    background: var(--rec-sidebar-hover);
    color: #fff;
}

.rec-menu-item.active .rec-menu-link {
    background: var(--rec-sidebar-active);
    color: var(--rec-sidebar-active-text);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255,180,0,0.25);
}
.rec-menu-item.active .rec-menu-icon { color: var(--rec-sidebar-active-text) !important; }

.rec-menu-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.rec-menu-separator {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 10px 14px;
}

/* CTA */
.rec-sidebar-cta {
    padding: 12px 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.rec-btn-publish {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px;
    background: var(--rec-yellow);
    color: var(--rec-black);
    border: none;
    border-radius: var(--rec-radius);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--rec-transition);
}

.rec-btn-publish:hover {
    background: var(--rec-yellow-hover);
    color: var(--rec-black);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255,180,0,0.40);
}

/* User */
.rec-sidebar-user {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.rec-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--rec-sidebar-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.rec-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rec-user-avatar span {
    font-size: 12px;
    font-weight: 700;
    color: var(--rec-black);
}

.rec-user-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.rec-user-name {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rec-user-role {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
}

.rec-user-logout {
    color: rgba(255,255,255,0.4);
    font-size: 14px;
    transition: color 0.2s;
}

.rec-user-logout:hover {
    color: var(--rec-danger);
}

/* ============================================================================
   MAIN CONTENT
   ============================================================================ */
.rec-main-content {
    flex: 1;
    margin-left: 260px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ============================================================================
   HEADER
   ============================================================================ */
.rec-header {
    background: var(--rec-header);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--rec-border);
    position: sticky;
    top: 0;
    z-index: 1020;
}

.rec-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rec-sidebar-toggle {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--rec-text);
    cursor: pointer;
    padding: 4px;
}

.rec-header-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--rec-text);
}

.rec-header-center {
    flex: 1;
    max-width: 460px;
}

.rec-search-box {
    position: relative;
}

.rec-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 13px;
}

.rec-search-input {
    width: 100%;
    padding: 8px 14px 8px 38px;
    border: 1px solid var(--rec-border);
    border-radius: 8px;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    background: var(--rec-bg);
    transition: border-color 0.2s;
}

.rec-search-input:focus {
    outline: none;
    border-color: var(--rec-yellow);
    box-shadow: 0 0 0 3px rgba(255,180,0,0.25);
}

.rec-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rec-header-btn {
    position: relative;
    background: none;
    border: none;
    font-size: 18px;
    color: #666;
    cursor: pointer;
    padding: 6px;
    transition: color 0.2s;
}

.rec-header-btn:hover {
    color: var(--rec-primary);
}

.rec-notif-badge {
    position: absolute;
    top: 0;
    right: -2px;
    background: var(--rec-danger);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rec-header-user {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background 0.2s;
}

.rec-header-user:hover {
    background: var(--rec-bg);
}

.rec-header-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--rec-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.rec-header-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rec-header-avatar span {
    font-size: 12px;
    font-weight: 700;
    color: var(--rec-black);
}

.rec-header-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--rec-text);
}

/* ============================================================================
   CONTENT AREA
   ============================================================================ */
.rec-content-area {
    flex: 1;
    padding: 24px;
    min-width: 0;
    overflow-x: auto;
}

/* Pending banner */
.rec-pending-banner {
    background: linear-gradient(135deg, #FFF3CD, #FFE69C);
    color: #856404;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid #FFD93D;
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.rec-footer {
    padding: 16px 24px;
    text-align: center;
    font-size: 12px;
    color: var(--rec-text-muted);
    border-top: 1px solid var(--rec-border);
}

/* ============================================================================
   OVERLAY (Mobile)
   ============================================================================ */
.rec-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1035;
}

.rec-sidebar-overlay.show {
    display: block;
}

/* ============================================================================
   BUTTONS
   ============================================================================ */
.rec-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    background: var(--rec-yellow);
    color: var(--rec-black);
    border: none;
    border-radius: var(--rec-radius);
    font-size: 14px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: var(--rec-transition);
}

.rec-btn-primary:hover {
    background: var(--rec-yellow-hover);
    color: var(--rec-black);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255,180,0,0.35);
}

/* ============================================================================
   BOUTONS BOOTSTRAP — harmonisation palette noir + jaune
   ============================================================================ */
.recruiter-body .btn { border-radius: var(--rec-radius); font-weight: 600; transition: var(--rec-transition); }
.recruiter-body .btn-primary {
    background: var(--rec-yellow); border-color: var(--rec-yellow); color: var(--rec-black);
}
.recruiter-body .btn-primary:hover, .recruiter-body .btn-primary:focus {
    background: var(--rec-yellow-hover); border-color: var(--rec-yellow-hover); color: var(--rec-black);
    box-shadow: 0 6px 16px rgba(255,180,0,0.30);
}
.recruiter-body .btn-outline-primary {
    color: var(--rec-black); border-color: var(--rec-black); background: transparent;
}
.recruiter-body .btn-outline-primary:hover, .recruiter-body .btn-outline-primary:focus {
    background: var(--rec-yellow); border-color: var(--rec-yellow); color: var(--rec-black);
    box-shadow: 0 4px 12px rgba(255,180,0,0.28);
}
.recruiter-body .btn-outline-secondary {
    color: var(--rec-text-secondary); border-color: var(--rec-border); background: transparent;
}
.recruiter-body .btn-outline-secondary:hover, .recruiter-body .btn-outline-secondary:focus {
    background: var(--rec-black); border-color: var(--rec-black); color: #fff;
}
.recruiter-body .btn-success { background: var(--rec-success); border-color: var(--rec-success); }
.recruiter-body .btn-outline-success { color: var(--rec-success); border-color: var(--rec-success); }
.recruiter-body .btn-outline-success:hover { background: var(--rec-success); border-color: var(--rec-success); color: #fff; }
.recruiter-body .btn-danger { background: var(--rec-danger); border-color: var(--rec-danger); }
.recruiter-body .btn-outline-danger { color: var(--rec-danger); border-color: var(--rec-danger); }
.recruiter-body .btn-outline-danger:hover { background: var(--rec-danger); border-color: var(--rec-danger); color: #fff; }

/* ============================================================================
   STAT CARDS (Dashboard)
   ============================================================================ */
.rec-stat-card {
    background: var(--rec-card);
    border-radius: var(--rec-radius-lg);
    padding: 20px;
    border: 1px solid var(--rec-border);
    border-left: 4px solid #ccc;
    box-shadow: var(--rec-shadow-sm);
    transition: var(--rec-transition);
}

.rec-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--rec-shadow-md);
}

.rec-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 12px;
    background: color-mix(in srgb, currentColor 13%, #fff);
}

.rec-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--rec-text);
    line-height: 1.1;
}

.rec-stat-label {
    font-size: 12px;
    color: var(--rec-text-muted);
    margin-top: 4px;
}

/* ============================================================================
   DASHBOARD WELCOME
   ============================================================================ */
.rec-dashboard-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.rec-welcome-title {
    font-size: 24px;
    font-weight: 400;
    color: var(--rec-text);
    margin: 0;
}

.rec-welcome-title strong {
    font-weight: 700;
}

.rec-welcome-date {
    font-size: 13px;
    color: var(--rec-text-muted);
    margin: 4px 0 0;
}

/* ============================================================================
   CARDS (reuse from admin with recruiter overrides)
   ============================================================================ */
.rec-content-area .card {
    border-radius: 12px;
    border: 1px solid var(--rec-border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.rec-content-area .card-header {
    background: #fff;
    border-bottom: 1px solid var(--rec-border);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rec-content-area .card-header h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.rec-content-area .card-body {
    padding: 20px;
}

/* ============================================================================
   PROFILE — Logo & Cover previews
   ============================================================================ */
.rec-logo-preview {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 2px dashed var(--rec-border);
}

.rec-logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rec-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--rec-bg);
    color: var(--rec-text-muted);
    gap: 4px;
}

.rec-logo-placeholder i {
    font-size: 28px;
}

.rec-logo-placeholder span {
    font-size: 11px;
}

.rec-cover-preview {
    width: 100%;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px dashed var(--rec-border);
}

.rec-cover-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rec-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--rec-bg);
    color: var(--rec-text-muted);
    gap: 4px;
}

.rec-cover-placeholder i {
    font-size: 24px;
}

.rec-cover-placeholder span {
    font-size: 11px;
}

/* ============================================================================
   PROFILE — Preview
   ============================================================================ */
.rec-preview-wrapper {
    max-width: 900px;
}

.rec-preview-cover {
    position: relative;
    height: 220px;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    background: linear-gradient(135deg, #1A1A1A, #2A2A2A);
}

.rec-preview-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rec-preview-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.2);
    font-size: 48px;
}

.rec-preview-logo-overlay {
    position: absolute;
    bottom: -36px;
    left: 24px;
    width: 72px;
    height: 72px;
    border-radius: 14px;
    overflow: hidden;
    border: 3px solid #fff;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 2;
}

.rec-preview-logo-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rec-preview-logo-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rec-primary);
    color: #fff;
    font-weight: 700;
    font-size: 20px;
}

.rec-preview-job-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--rec-border);
}

.rec-preview-job-row:last-child {
    border-bottom: none;
}

.rec-rich-text {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
}

/* ============================================================================
   MEDIA PAGE — Cards & Dropzone
   ============================================================================ */
.rec-media-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--rec-border);
    background: #fff;
}

.rec-media-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.rec-media-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    opacity: 0;
    transition: opacity 0.2s;
}

.rec-media-card:hover .rec-media-actions {
    opacity: 1;
}

.rec-dropzone {
    border: 2px dashed var(--rec-border);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    color: var(--rec-text-muted);
}

.rec-dropzone:hover,
.rec-dropzone.dz-drag-hover {
    border-color: var(--rec-primary);
    background: rgba(255,180,0,0.03);
}

.rec-dropzone .dz-message {
    margin: 0;
}

/* Hide Dropzone default preview */
.rec-dropzone .dz-preview {
    display: none !important;
}

/* ============================================================================
   AUTH PAGES (Login, Register, etc.)
   ============================================================================ */
.rec-auth-page {
    font-family: 'Poppins', sans-serif;
    background: var(--rec-bg);
    margin: 0;
    min-height: 100vh;
}

.rec-auth-wrapper {
    display: flex;
    min-height: 100vh;
}

.rec-auth-form-side {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #fff;
}

.rec-auth-form-side-register {
    display: block;          /* conteneur de défilement */
    overflow-y: auto;
}
.rec-auth-form-side-register .rec-auth-form-container {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;  /* centré verticalement, scroll si trop haut */
    margin: 0 auto;
    padding: 32px 0;
    box-sizing: border-box;
}

.rec-auth-form-container {
    width: 100%;
    max-width: 420px;
}

.rec-auth-logo {
    margin-bottom: 32px;
}

.rec-auth-logo .rek-logo-img {
    height: 42px;
    width: auto;
    max-width: 180px;
}

.rec-logo-text {
    font-size: 32px;
    font-weight: 700;
    color: var(--rec-primary);
    margin: 0;
    letter-spacing: -0.5px;
}

.rec-logo-tagline {
    font-size: 13px;
    color: var(--rec-text-muted);
    margin: 4px 0 0;
}

.rec-auth-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--rec-text);
    margin: 0 0 8px;
}

.rec-auth-subtitle {
    font-size: 14px;
    color: var(--rec-text-muted);
    margin: 0 0 24px;
}

/* Form elements */
.rec-form-group {
    margin-bottom: 16px;
}

.rec-form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--rec-text);
    margin-bottom: 6px;
}

.rec-form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--rec-border);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: var(--rec-text);
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.rec-form-input:focus {
    outline: none;
    border-color: var(--rec-primary);
    box-shadow: 0 0 0 3px rgba(255,180,0,0.1);
}

.rec-input-icon {
    position: relative;
}

.rec-input-icon i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 14px;
}

.rec-input-icon .rec-form-input {
    padding-left: 40px;
}

.rec-link {
    color: var(--rec-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.rec-link:hover {
    color: #1A1A1A;
    text-decoration: underline;
}

.rec-auth-footer-text {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: var(--rec-text-muted);
}

/* ============================================================================
   VISUAL SIDE — design JAUNE inspiré du front (hero + post-its)
   ============================================================================ */
.rec-auth-visual-side {
    flex: 0 0 50%;
    background: var(--rec-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

/* Décor "post-it" / cercles doux en arrière-plan */
.rec-auth-visual-side::before {
    content: '';
    position: absolute;
    width: 440px; height: 440px;
    border-radius: 50%;
    background: rgba(255,255,255,0.20);
    top: -130px; right: -130px;
}

.rec-auth-visual-side::after {
    content: '';
    position: absolute;
    width: 260px; height: 260px;
    border-radius: 34px;
    background: rgba(26,26,26,0.06);
    bottom: -70px; left: -50px;
    transform: rotate(16deg);
}

.rec-auth-visual-content {
    position: relative;
    z-index: 1;
    text-align: left;
    color: var(--rec-black);
    max-width: 420px;
}

.rec-visual-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 26px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

.rec-visual-icon i {
    font-size: 30px;
    color: var(--rec-black);
}

.rec-auth-visual-content h2 {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 14px;
    color: var(--rec-black);
}

.rec-visual-text {
    font-size: 14.5px;
    line-height: 1.7;
    color: #3A3526;
    margin: 0;
}

/* Cartes post-it (features login + steps register) */
.rec-visual-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
}

.rec-visual-feature,
.rec-visual-step {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 18px;
    background: #fff;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 600;
    color: var(--rec-black);
    box-shadow: 0 6px 18px rgba(0,0,0,0.09);
    transition: var(--rec-transition);
}

.rec-visual-feature:nth-child(odd),
.rec-visual-step:nth-child(odd) { transform: rotate(-1.2deg); }
.rec-visual-feature:nth-child(even),
.rec-visual-step:nth-child(even) { transform: rotate(1.2deg); }
.rec-visual-feature:hover,
.rec-visual-step:hover { transform: rotate(0) translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.14); }

.rec-visual-feature i {
    color: var(--rec-black);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Steps (register) */
.rec-visual-steps {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.rec-step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--rec-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--rec-yellow);
    flex-shrink: 0;
}

/* Welcome page */
.rec-welcome-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #16A34A, #00E68A);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.rec-welcome-icon i {
    font-size: 36px;
    color: #fff;
}

.rec-welcome-steps {
    text-align: left;
    max-width: 400px;
    margin: 32px auto 0;
}

.rec-welcome-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--rec-border);
}

.rec-welcome-step:last-child {
    border-bottom: none;
}

.rec-welcome-step-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

.rec-welcome-step-icon.done {
    background: #D4EDDA;
    color: #16A34A;
}

.rec-welcome-step-icon.pending {
    background: #FFF3CD;
    color: #F59E0B;
}

.rec-welcome-step-icon.waiting {
    background: #E8EAF6;
    color: #1A1A1A;
}

/* ============================================================================
   TRIAL BANNER
   ============================================================================ */
.rec-trial-banner {
    background: linear-gradient(135deg, #1A1A1A, #2A2A2A);
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
}

/* ============================================================================
   ALERTS BAR (Dashboard)
   ============================================================================ */
.rec-alerts-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rec-alert {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
}

.rec-alert-warning {
    background: #FFF8E1;
    color: #856404;
    border-left: 3px solid #F59E0B;
}

.rec-alert-danger {
    background: #FDECEA;
    color: #8B1A1A;
    border-left: 3px solid #DC2626;
}

.rec-alert-info {
    background: #E8F0FE;
    color: #1A3A6B;
    border-left: 3px solid #2563EB;
}

.rec-alert-link {
    margin-left: auto;
    font-weight: 600;
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
}

.rec-alert-link:hover {
    text-decoration: underline;
}

/* ============================================================================
   RECENT APPLICATIONS LIST (Dashboard)
   ============================================================================ */
.rec-recent-apps {
    display: flex;
    flex-direction: column;
}

.rec-app-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--rec-border);
    text-decoration: none;
    color: var(--rec-text);
    transition: background 0.15s;
}

.rec-app-row:last-child {
    border-bottom: none;
}

.rec-app-row:hover {
    background: var(--rec-bg);
    color: var(--rec-text);
}

.rec-app-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--rec-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.rec-app-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rec-app-avatar span {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.rec-app-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.rec-app-name {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rec-app-job {
    font-size: 12px;
    color: var(--rec-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rec-app-score {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.rec-app-score.excellent {
    background: rgba(0,202,114,0.12);
    color: #16A34A;
}

.rec-app-score.good {
    background: rgba(87,155,252,0.12);
    color: #2563EB;
}

.rec-app-score.average {
    background: rgba(253,171,61,0.12);
    color: #F59E0B;
}

.rec-app-score.low {
    background: rgba(226,68,92,0.12);
    color: #DC2626;
}

.rec-app-time {
    font-size: 11px;
    color: var(--rec-text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ============================================================================
   PAGE HEADER (reusable in content pages)
   ============================================================================ */
.rec-content-area .page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.rec-content-area .page-header h1 {
    font-size: 20px;
    margin: 0;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 991.98px) {
    .rec-sidebar {
        transform: translateX(-100%);
    }
    .rec-sidebar.show {
        transform: translateX(0);
    }
    .rec-main-content {
        margin-left: 0;
    }
    .rec-header-center {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .rec-auth-wrapper {
        flex-direction: column;
    }
    .rec-auth-form-side,
    .rec-auth-visual-side {
        flex: none;
        width: 100%;
    }
    .rec-auth-visual-side {
        padding: 40px 24px;
        min-height: auto;
    }
    .rec-auth-form-side {
        padding: 24px;
    }
    .rec-content-area {
        padding: 16px;
    }
    .rec-dashboard-welcome {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .rec-stat-card {
        padding: 14px;
    }
    .rec-stat-value {
        font-size: 22px;
    }
}

/* ============================================================================
   WIZARD STEPPER (Job creation)
   ============================================================================ */
.rec-wizard-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 16px 20px;
    background: var(--rec-card);
    border-radius: 12px;
    border: 1px solid var(--rec-border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.rec-wizard-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--rec-text-muted);
}

.rec-wizard-step.active {
    color: var(--rec-black);
    font-weight: 700;
}

.rec-wizard-step.completed {
    color: #16A34A;
}

.rec-wizard-step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    background: var(--rec-bg);
    color: var(--rec-text-muted);
    border: 2px solid var(--rec-border);
    flex-shrink: 0;
}

.rec-wizard-step.active .rec-wizard-step-number {
    background: var(--rec-yellow);
    color: var(--rec-black);
    border-color: var(--rec-yellow);
}

.rec-wizard-step.completed .rec-wizard-step-number {
    background: #16A34A;
    color: #fff;
    border-color: #16A34A;
}

.rec-wizard-line {
    width: 40px;
    height: 2px;
    background: var(--rec-border);
    margin: 0 8px;
    flex-shrink: 0;
}

.rec-wizard-line.completed {
    background: #16A34A;
}

/* ============================================================================
   STATUS TABS (Job list)
   ============================================================================ */
.rec-status-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding: 4px;
    background: var(--rec-card);
    border-radius: 10px;
    border: 1px solid var(--rec-border);
}

.rec-status-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--rec-text-muted);
    text-decoration: none;
    transition: all 0.15s;
}

.rec-status-tab:hover {
    background: var(--rec-bg);
    color: var(--rec-text);
}

.rec-status-tab.active {
    background: var(--rec-primary);
    color: #fff;
}

.rec-tab-count {
    font-size: 11px;
    font-weight: 700;
    background: rgba(0,0,0,0.08);
    padding: 1px 7px;
    border-radius: 10px;
}

.rec-status-tab.active .rec-tab-count {
    background: rgba(255,255,255,0.25);
}

/* ============================================================================
   JOB CARDS (Job list)
   ============================================================================ */
.rec-job-card {
    background: var(--rec-card);
    border-radius: 12px;
    border: 1px solid var(--rec-border);
    border-left: 4px solid var(--job-status-color, #888);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.rec-job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.rec-job-card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 16px 12px;
}

.rec-job-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}

.rec-job-card-info {
    flex: 1;
    min-width: 0;
}

.rec-job-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--rec-text);
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
}

.rec-job-title:hover {
    color: var(--rec-primary);
}

.rec-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: var(--rec-text-muted);
}

.rec-job-meta span {
    white-space: nowrap;
}

.rec-job-reward {
    background: #16A34A;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.rec-job-card-stats {
    display: flex;
    gap: 0;
    border-top: 1px solid var(--rec-border);
    border-bottom: 1px solid var(--rec-border);
}

.rec-job-stat {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    border-right: 1px solid var(--rec-border);
}

.rec-job-stat:last-child {
    border-right: none;
}

.rec-job-stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--rec-text);
    display: block;
}

.rec-job-stat-label {
    font-size: 11px;
    color: var(--rec-text-muted);
}

.rec-job-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
}

.rec-job-card-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rec-job-card-actions {
    display: flex;
    gap: 4px;
}

/* ============================================================================
   JOB PHOTO PREVIEW (Create/Edit)
   ============================================================================ */
.rec-job-photo-preview {
    width: 100%;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px dashed var(--rec-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--rec-bg);
    color: var(--rec-text-muted);
    gap: 4px;
}

.rec-job-photo-preview i {
    font-size: 24px;
}

.rec-job-photo-preview span {
    font-size: 11px;
}

.rec-job-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================================
   JOB PREVIEW PHOTO (Preview page)
   ============================================================================ */
.rec-job-preview-photo {
    height: 200px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.rec-job-preview-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================================
   PACK CARDS (Pack selection)
   ============================================================================ */
.rec-pack-card {
    display: block;
    background: var(--rec-card);
    border-radius: 12px;
    border: 2px solid var(--rec-border);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    height: 100%;
}

.rec-pack-card:hover:not(.disabled) {
    border-color: var(--rec-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255,180,0,0.15);
}

.rec-pack-card.selected {
    border-color: var(--rec-primary);
    box-shadow: 0 0 0 3px rgba(255,180,0,0.2);
}

.rec-pack-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.rec-pack-header {
    padding: 20px;
    color: #fff;
    text-align: center;
}

.rec-pack-header h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
}

.rec-pack-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.rec-pack-amount {
    font-size: 28px;
    font-weight: 800;
}

.rec-pack-currency {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.8;
}

.rec-pack-period {
    font-size: 12px;
    opacity: 0.7;
}

.rec-pack-body {
    padding: 16px;
}

.rec-pack-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rec-pack-features li {
    padding: 6px 0;
    font-size: 13px;
    color: var(--rec-text);
    border-bottom: 1px solid var(--rec-border);
}

.rec-pack-features li:last-child {
    border-bottom: none;
}

.rec-pack-features li i {
    width: 20px;
    text-align: center;
    color: var(--rec-primary);
}

.rec-pack-contracts {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--rec-border);
}

.rec-pack-restricted {
    text-align: center;
    color: var(--rec-danger);
    font-size: 12px;
    font-weight: 600;
}

/* ============================================================================
   QUESTION CARDS (Questions page)
   ============================================================================ */
.rec-question-card .card-header {
    cursor: grab;
}

.rec-drag-handle {
    cursor: grab;
}

.rec-question-card .card-header h3 {
    font-size: 14px;
}

/* Question rows (show page) */
.rec-question-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--rec-border);
}

.rec-question-row:last-child {
    border-bottom: none;
}

.rec-question-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--rec-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Question preview items (preview page) */
.rec-questions-preview {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.rec-question-preview-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--rec-border);
}

.rec-question-preview-item:last-child {
    border-bottom: none;
}

/* ============================================================================
   APPLICATIONS PAGE — Candidate Cards & Score
   ============================================================================ */
.rec-candidate-card {
    background: var(--rec-card);
    border-radius: 12px;
    border: 1px solid var(--rec-border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.rec-candidate-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.rec-score-circle-lg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
    border: 4px solid currentColor;
}

.rec-score-circle-lg.excellent { color: #16A34A; background: rgba(0,202,114,0.08); }
.rec-score-circle-lg.good { color: #2563EB; background: rgba(87,155,252,0.08); }
.rec-score-circle-lg.average { color: #F59E0B; background: rgba(253,171,61,0.08); }
.rec-score-circle-lg.low { color: #DC2626; background: rgba(226,68,92,0.08); }

.rec-score-bar {
    height: 8px;
    border-radius: 4px;
    background: var(--rec-bg);
    overflow: hidden;
    position: relative;
}

.rec-score-bar .rec-score-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
}

.rec-timeline {
    position: relative;
    padding-left: 24px;
}

.rec-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--rec-border);
}

.rec-timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.rec-timeline-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--rec-primary);
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--rec-primary);
}

.rec-timeline-item:last-child {
    padding-bottom: 0;
}

/* ============================================================================
   MESSAGES — Conversations & Chat
   ============================================================================ */
.rec-conversations-list {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--rec-border);
    height: 100%;
    overflow-y: auto;
}

.rec-conversation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--rec-border);
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
    color: var(--rec-text);
}

.rec-conversation-item:hover,
.rec-conversation-item.active {
    background: rgba(255,180,0,0.04);
    color: var(--rec-text);
}

.rec-conversation-item.active {
    border-left: 3px solid var(--rec-primary);
}

.rec-conversation-item.unread {
    background: rgba(255,180,0,0.06);
    font-weight: 600;
}

.rec-chat-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 500px;
}

.rec-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rec-chat-bubble {
    max-width: 70%;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
    word-wrap: break-word;
}

.rec-chat-bubble.sent {
    align-self: flex-end;
    background: var(--rec-primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.rec-chat-bubble.received {
    align-self: flex-start;
    background: var(--rec-bg);
    color: var(--rec-text);
    border-bottom-left-radius: 4px;
}

.rec-chat-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1px solid var(--rec-border);
    background: #fff;
}

.rec-chat-input input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--rec-border);
    border-radius: 8px;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
}

.rec-chat-input input:focus {
    outline: none;
    border-color: var(--rec-primary);
    box-shadow: 0 0 0 3px rgba(255,180,0,0.1);
}

/* ============================================================================
   SETTINGS — Tabs, Avatar Upload, Danger Zone
   ============================================================================ */
.rec-settings-tabs {
    display: flex;
    gap: 0;
    padding: 0;
    border-bottom: none;
    background: var(--rec-card);
    border-radius: 12px;
    overflow: hidden;
}

.rec-settings-tabs .nav-item {
    flex: none;
}

.rec-settings-tabs .nav-link {
    display: flex;
    align-items: center;
    padding: 14px 24px;
    font-size: 13px;
    font-weight: 500;
    color: var(--rec-text-muted);
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: none;
    transition: all 0.2s;
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
}

.rec-settings-tabs .nav-link:hover {
    color: var(--rec-text);
    background: rgba(255,180,0,0.03);
}

.rec-settings-tabs .nav-link.active {
    color: var(--rec-black);
    border-bottom-color: var(--rec-yellow);
    font-weight: 700;
    background: none;
}

.rec-avatar-upload {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 3px solid var(--rec-border);
    transition: border-color 0.2s;
}

.rec-avatar-upload:hover {
    border-color: var(--rec-primary);
}

.rec-avatar-upload img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rec-avatar-upload-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1A1A1A, #2A2A2A);
    color: #fff;
    gap: 2px;
}

.rec-avatar-upload-placeholder i {
    font-size: 20px;
    opacity: 0.8;
}

.rec-avatar-upload-placeholder span {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

.rec-avatar-upload-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    gap: 2px;
    opacity: 0;
    transition: opacity 0.2s;
}

.rec-avatar-upload:hover .rec-avatar-upload-overlay {
    opacity: 1;
}

.rec-avatar-upload-overlay i {
    font-size: 18px;
}

.rec-avatar-upload-overlay span {
    font-size: 11px;
    font-weight: 600;
}

.rec-danger-zone .card {
    border: 1px solid #FED7D7;
}

.rec-danger-zone .card:hover {
    transform: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* ============================================================================
   REWARDS STEPPER
   ============================================================================ */
.rec-reward-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 20px;
    background: var(--rec-card);
    border-radius: 12px;
    border: 1px solid var(--rec-border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.rec-reward-stepper .rec-reward-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--rec-text-muted);
}

.rec-reward-stepper .rec-reward-step.active {
    color: var(--rec-black);
    font-weight: 700;
}

.rec-reward-stepper .rec-reward-step.completed {
    color: var(--rec-secondary);
}

.rec-reward-stepper .rec-reward-step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    background: var(--rec-bg);
    color: var(--rec-text-muted);
    border: 2px solid var(--rec-border);
    flex-shrink: 0;
}

.rec-reward-stepper .rec-reward-step.active .rec-reward-step-number {
    background: var(--rec-yellow);
    color: var(--rec-black);
    border-color: var(--rec-yellow);
}

.rec-reward-stepper .rec-reward-step.completed .rec-reward-step-number {
    background: var(--rec-secondary);
    color: #fff;
    border-color: var(--rec-secondary);
}

.rec-reward-stepper .rec-reward-line {
    width: 32px;
    height: 2px;
    background: var(--rec-border);
    margin: 0 6px;
    flex-shrink: 0;
}

.rec-reward-stepper .rec-reward-line.completed {
    background: var(--rec-secondary);
}

/* ============================================================================
   KANBAN PIPELINE
   ============================================================================ */
.rec-pipeline-wrapper {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
    min-height: 400px;
}

.rec-pipeline-column {
    flex: 0 0 280px;
    min-width: 280px;
    background: var(--rec-bg);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 200px);
}

.rec-pipeline-column .rec-pipeline-column-header {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--rec-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--rec-border);
}

.rec-pipeline-column .rec-pipeline-column-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rec-pipeline-card {
    background: var(--rec-card);
    border-radius: 8px;
    border: 1px solid var(--rec-border);
    padding: 12px;
    cursor: grab;
    transition: transform 0.15s, box-shadow 0.15s;
}

.rec-pipeline-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.rec-pipeline-card:active {
    cursor: grabbing;
}

/* ============================================================================
   CVTHEQUE — Filters & Results
   ============================================================================ */
.rec-cvtheque-filters {
    background: var(--rec-card);
    border-radius: 12px;
    border: 1px solid var(--rec-border);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.rec-candidate-result {
    background: var(--rec-card);
    border-radius: 12px;
    border: 1px solid var(--rec-border);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.rec-candidate-result:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.rec-completeness-bar {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--rec-bg);
    overflow: hidden;
}

.rec-completeness-bar .rec-completeness-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease;
}

/* ============================================================================
   RESPONSIVE — Settings & New Components
   ============================================================================ */
@media (max-width: 767.98px) {
    .rec-settings-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .rec-settings-tabs .nav-link {
        padding: 12px 16px;
        font-size: 12px;
    }

    .rec-pipeline-wrapper {
        min-height: 300px;
    }

    .rec-pipeline-column {
        flex: 0 0 250px;
        min-width: 250px;
    }

    .rec-chat-bubble {
        max-width: 85%;
    }

    .rec-conversations-list {
        border-right: none;
        border-bottom: 1px solid var(--rec-border);
    }

    .rec-candidate-result {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ==========================================================================
   Compteur de primes (pack mensuel) — Point 2 améliorations réunion
   ========================================================================== */
.rec-prime-card {
    background: #fff;
    border: 1px solid #E6E9EF;
    border-radius: 14px;
    padding: 20px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-left: 4px solid #FFB400;
}
.rec-prime-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.rec-prime-ico {
    width: 44px; height: 44px; border-radius: 12px; flex: 0 0 auto;
    background: rgba(255,180,0,0.16); color: #9A7B00;
    display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.rec-prime-title { font-weight: 700; color: #1A1A1A; }
.rec-prime-sub { font-size: 0.8125rem; color: #8E8E8E; }

.prime-counter { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.prime-dots { display: flex; gap: 10px; }
.prime-dot {
    width: 34px; height: 34px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.8rem; transition: all 0.2s ease;
}
.prime-dot.is-filled { background: #FFB400; color: #1A1A1A; box-shadow: 0 2px 6px rgba(255,180,0,0.4); }
.prime-dot.is-used { background: #EDEFF5; color: transparent; border: 2px dashed #C9CEDC; }
.prime-counter-label { font-size: 1.05rem; color: #5A5A5A; }
.prime-counter-label strong { color: #1A1A1A; font-size: 1.25rem; }

@media (max-width: 480px) {
    .prime-dot { width: 28px; height: 28px; }
}

/* Logo image personnalisé (Paramètres admin > Logos) */
.rek-logo-img { height: 30px; width: auto; max-width: 150px; display: inline-block; object-fit: contain; vertical-align: middle; }
.rec-logo-full .rek-logo-img { height: 28px; }
