
.banner-style-two .banner-text h1 {
    font-size: 40px;
}

@media (max-width: 991px) {
    .banner-style-two .banner-text h1 {
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .banner-style-two .banner-text h1 {
        font-size: 22px;
    }
}

.toast { opacity: 1 !important; }
.logoApp {
    width: 150px;
}

#profile-thumb-save {
    display: none;
}

#serviceCardIdPlacement {
    height: 400px;
}

/* Styles pour la section des Partenaires */
.partner-logos-slider {
    background-color: #f4f4f4; /* Couleur de fond légère */
    overflow: hidden; /* Cache tout ce qui dépasse */
}

.logo-slider-container {
    width: 100%;
    /* Nécessaire pour contenir l'animation de défilement */
}

.logo-slider {
    display: flex;
    white-space: nowrap; /* Force les éléments à rester sur une seule ligne */
    animation: slide-logos 30s linear infinite; /* Animation de défilement */
}

.logo-item {
    flex-shrink: 0; /* Empêche les éléments de se réduire */
    padding: 0 40px;
    width: 200px; /* Largeur fixe pour chaque logo */
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    max-height: 80%; /* Taille max du logo dans l'item */
    max-width: 100%;
    transition: filter 0.3s ease, transform 0.3s ease;
    
    /* EFFET NOIR ET BLANC GRISÉ */
    filter: grayscale(100%) opacity(0.6);
}

/* EFFET HOVER : Retour à la couleur normale et augmentation légère de la taille */
.logo-item img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

#authenticatorPage {
    min-height: 100vh;
}

#loadingScreen {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: rgba(24, 24, 24, 0.8);
    display: none;
}

#loader-content {
    width: 40%;
    height: 300px;
    background-color: #fff;
    margin: auto;
    margin-top: 30%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.profile-thumb {
    position: relative;
    display: inline-block;
}

.profile-thumb img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.profile-thumb-edit {
    position: absolute;
    bottom: 125px; /* Ajustez selon la position du texte H3 */
    right: 20px;
    background: #ff0210; /* Votre couleur primaire */
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.profile-thumb-edit3 {
    background: #ff0210; /* Votre couleur primaire */
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.profile-thumb-edit:hover, .profile-thumb-button-camera:hover, .profile-thumb-edit3:hover {
    background: #d1010b;
    transform: scale(1.1);
}

.profile-thumb-save {
    position: absolute;
    bottom: 105px; /* Ajustez selon la position du texte H3 */
    right: -9px;
    background: #000000; /* Votre couleur primaire */
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.profile-thumb-save:hover {
    background: #d1010b;
    transform: scale(1.1);
}

.profile-thumb-button-save:hover {
    background: #000000;
    transform: scale(1.1);
}

.profile-thumb-buttons {
    position: absolute;
    margin-top: -120px;
    margin-left: 180px;
}

.profile-image-container {
    position: relative; /* Très important : l'ancrage */
    width: 200px;
    height: 200px;
    margin: 0 auto; /* Centre le bloc sur mobile */
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.profile-thumb-buttons {
    position: absolute;
    bottom: 40px; /* Aligné vers le bas de l'image */
    right: -10px;   /* Aligné à droite de l'image */
    display: flex;
    flex-direction: column; /* Boutons l'un au-dessus de l'autre */
    gap: 8px;
}

/* Style commun des boutons */
.profile-thumb-buttons button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #ff0210;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}

.rm-btn-create-or-edit {
    float: right;
    color: #303030;
    font-size: 1rem;
}

.rm-btn-create-or-edit:hover {
    color: #ff0210;
}

/*for responsive*/
@media (max-width: 768px) {
    #loader-content {
        width: 80%;
        height: 200px;
        margin-top: 70%;
    }

    #serviceCardIdPlacement {
        height: auto;
    }
}

.rm-btn-danger {
    background-color: #ff0210;
    color: #fff;
}

.rm-btn-danger:hover {
    background-color: #a8030b;
    color: #fff;
}

.blog-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #000;
    margin-top:-50px;
}

.blog-content p {
    color: #000;
}

.blog-content img {
    max-width: 100%;
    border-radius: 10px;
    margin: 20px 0;
}

.blog-content blockquote {
    border-left: 4px solid #007bff;
    padding-left: 15px;
    font-style: italic;
    color: #000;
}

.ql-editor pre {
  background: #0b1220; /* ou couleur claire, selon le thème HLJS */
  color: #e6eef6;
  padding: 12px;
  border-radius: 6px;
  overflow: auto;
  font-family: "Fira Code", "Source Code Pro", monospace;
  font-size: 0.95rem;
}

/* si tu utilises le thème "github" de highlight.js, ajuste la couleur */
.ql-editor pre code {
  background: transparent;
  color: inherit;
}

.ql-code-block {
    background: #0b1220; /* ou couleur claire, selon le thème HLJS */
    color: #e6eef6;
    padding: 12px;
    border-radius: 6px;
    overflow: auto;
    font-family: "Fira Code", "Source Code Pro", monospace;
    font-size: 0.95rem;
}


/* Définition de l'animation de défilement (Keyframes) */
@keyframes slide-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Déplace le slider vers la gauche de la moitié de sa largeur (pour l'effet de boucle) */
        /* La duplication des items dans le JS est nécessaire pour une boucle parfaite */
        transform: translateX(-50%); 
    }
}

/* Limiter la hauteur de la liste déroulante */
.category + .nice-select .list {
    max-height: 250px; /* Hauteur maximale avant le scroll */
    overflow-y: auto !important; /* Active le défilement vertical */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15); /* Optionnel : pour plus de relief */
}

/* Personnaliser la barre de défilement (Scrollbar) pour un look pro */
.category + .nice-select .list::-webkit-scrollbar {
    width: 6px;
}

.category + .nice-select .list::-webkit-scrollbar-thumb {
    background-color: #ff0210; /* Votre couleur primaire */
    border-radius: 10px;
}

.category + .nice-select .list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.rm-red-button {
    background-color: #ff0210;
    color: #fff;
}

.rm-red-button:hover {
    background-color: #d1010b;
}

#userMenuMobile {
    display: none;
}

@media (max-width: 853px) {
    #userMenuMobile {
        display: block;
    }

    #menuDesktopList {
        padding-bottom: 60px;
    }
}

/* ============================================================
   MODALE ENTREPRISE — UI PREMIUM
   ============================================================ */
.rm-enterprise-modal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    background: #ffffff;
}

.rm-enterprise-modal .modal-header {
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    border-bottom: none;
    padding: 1.5rem 1.75rem;
    align-items: center;
}

.rm-enterprise-modal .rm-modal-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rm-enterprise-modal .rm-modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.rm-enterprise-modal .modal-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0;
}

.rm-enterprise-modal .rm-modal-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    margin: 0;
    margin-top: 2px;
}

.rm-enterprise-modal .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.8;
}

.rm-enterprise-modal .modal-body {
    padding: 1.75rem;
}

.rm-enterprise-modal .rm-field-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: #303030;
    margin-bottom: 0.5rem;
}

.rm-enterprise-modal .rm-field-label i {
    color: #ff0210;
    font-size: 0.9rem;
}

.rm-enterprise-modal .rm-input {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    background: #fafafa;
}

.rm-enterprise-modal .rm-input:focus {
    border-color: #ff0210;
    box-shadow: 0 0 0 3px rgba(255, 2, 16, 0.12);
    background: #fff;
}

.rm-enterprise-modal .rm-input::placeholder {
    color: #9ca3af;
}

/* NiceSelect pleine largeur dans la modale entreprise */
.rm-enterprise-modal .category + .nice-select {
    width: 100% !important;
    float: none;
    display: block;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    height: auto;
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
    background: #fafafa;
    line-height: 1.5;
}

.rm-enterprise-modal .category + .nice-select:focus,
.rm-enterprise-modal .category + .nice-select.open {
    border-color: #ff0210;
    box-shadow: 0 0 0 3px rgba(255, 2, 16, 0.12);
    background: #fff;
}

.rm-enterprise-modal .category + .nice-select .list {
    width: 100%;
}

/* Zone de téléversement du logo */
.rm-enterprise-modal .rm-logo-upload {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    background: #fafafa;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rm-enterprise-modal .rm-logo-upload:hover {
    border-color: #ff0210;
    background: rgba(255, 2, 16, 0.03);
}

.rm-enterprise-modal .rm-logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: #6b7280;
}

.rm-enterprise-modal .rm-logo-placeholder i {
    font-size: 2rem;
    color: #ff0210;
}

.rm-enterprise-modal .rm-logo-placeholder span {
    font-weight: 600;
    font-size: 0.9rem;
    color: #303030;
}

.rm-enterprise-modal .rm-logo-placeholder small {
    font-size: 0.75rem;
    color: #9ca3af;
}

.rm-enterprise-modal .rm-logo-preview {
    max-width: 100%;
}

.rm-enterprise-modal .rm-logo-preview img {
    max-height: 120px;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.rm-enterprise-modal .modal-footer {
    border-top: 1px solid #f0f0f0;
    padding: 1rem 1.75rem;
    background: #fafafa;
}

.rm-enterprise-modal .rm-btn-cancel {
    background: #f3f4f6;
    color: #4b5563;
    border-radius: 10px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.rm-enterprise-modal .rm-btn-cancel:hover {
    background: #e5e7eb;
    color: #303030;
}

.rm-enterprise-modal .rm-btn-save {
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    border-radius: 10px;
    padding: 0.6rem 1.75rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
    transition: all 0.25s ease;
}

.rm-enterprise-modal .rm-btn-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 2, 16, 0.4);
    color: #fff;
}

/* ============================================================
   SECTION MES ENTREPRISES — UI PREMIUM
   ============================================================ */
.rm-enterprises-section {
    border-radius: 16px;
    padding: 1.75rem;
}

.rm-enterprises-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f0f0f0;
}

.rm-enterprises-title {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.rm-enterprises-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
}

.rm-enterprises-title h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #303030;
}

.rm-enterprises-count {
    margin: 0;
    font-size: 0.8rem;
    color: #9ca3af;
}

.rm-btn-add {
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    border-radius: 10px;
    padding: 0.55rem 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
    transition: all 0.25s ease;
    border: none;
}

.rm-btn-add:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 2, 16, 0.4);
    color: #fff;
}

.rm-enterprises-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.rm-enterprise-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    transition: all 0.25s ease;
}

.rm-enterprise-card:hover {
    background: #fff;
    border-color: rgba(255, 2, 16, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.rm-ent-logo-wrap {
    flex-shrink: 0;
}

.rm-ent-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.rm-ent-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    font-size: 1.4rem;
}

.rm-ent-info {
    flex: 1;
    min-width: 0;
}

.rm-ent-name {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    font-weight: 700;
    color: #303030;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rm-ent-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.35rem;
}

.rm-ent-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 100px;
}

.rm-ent-badge i {
    font-size: 0.7rem;
}

.rm-ent-badge-sector {
    background: rgba(255, 2, 16, 0.08);
    color: #ff0210;
}

.rm-ent-badge-type {
    background: rgba(255, 214, 110, 0.25);
    color: #8a6d1a;
}

.rm-ent-email {
    font-size: 0.8rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.rm-ent-email i {
    color: #ff0210;
    font-size: 0.8rem;
}

.rm-ent-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.rm-ent-action {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.rm-ent-action-edit {
    background: rgba(255, 2, 16, 0.08);
    color: #ff0210;
}

.rm-ent-action-edit:hover {
    background: #ff0210;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
}

.rm-ent-action-delete {
    background: rgba(220, 53, 69, 0.08);
    color: #dc3545;
}

.rm-ent-action-delete:hover {
    background: #dc3545;
    color: #fff;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.rm-enterprises-empty {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1.5rem;
    border: 2px dashed #e5e7eb;
    border-radius: 14px;
    background: #fafafa;
}

.rm-enterprises-empty i {
    font-size: 3rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.rm-enterprises-empty h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #303030;
    margin-bottom: 0.4rem;
}

.rm-enterprises-empty p {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 1.25rem;
}

@media (max-width: 576px) {
    .rm-enterprise-card {
        flex-wrap: wrap;
    }
    .rm-ent-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* ============================================================
   MODALE SUPPRESSION ENTREPRISE — UI PREMIUM
   ============================================================ */
.rm-delete-modal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    background: #ffffff;
}

.rm-delete-modal .modal-header {
    border-bottom: none;
    padding: 1.5rem 1.5rem 0;
    justify-content: flex-end;
}

.rm-delete-modal .rm-delete-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto;
    box-shadow: 0 0 0 8px rgba(220, 53, 69, 0.05);
}

.rm-delete-modal .rm-logout-icon {
    background: rgba(255, 2, 16, 0.1);
    color: #ff0210;
    box-shadow: 0 0 0 8px rgba(255, 2, 16, 0.05);
}

.rm-delete-modal .btn-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0.6;
}

.rm-delete-modal .btn-close:hover {
    opacity: 1;
}

.rm-delete-modal .modal-body {
    text-align: center;
    padding: 1.5rem 2rem 1rem;
}

.rm-delete-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #303030;
    margin-bottom: 0.75rem;
}

.rm-delete-text {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.rm-delete-text strong {
    color: #dc3545;
}

.rm-delete-modal .modal-footer {
    border-top: 1px solid #f0f0f0;
    padding: 1rem 1.75rem;
    background: #fafafa;
    justify-content: center;
    gap: 0.75rem;
}

.rm-delete-modal .rm-btn-cancel {
    background: #f3f4f6;
    color: #4b5563;
    border-radius: 10px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.rm-delete-modal .rm-btn-cancel:hover {
    background: #e5e7eb;
    color: #303030;
}

.rm-delete-modal .rm-btn-delete {
    background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
    color: #fff;
    border-radius: 10px;
    padding: 0.6rem 1.75rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    transition: all 0.25s ease;
}

.rm-delete-modal .rm-btn-delete:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(220, 53, 69, 0.4);
    color: #fff;
}

/* ============================================================
   DASHBOARD — INFORMATIONS DU COMPTE (UI PREMIUM)
   ============================================================ */
.rm-dash-section {
    border-radius: 16px;
    padding: 1.75rem;
}

.rm-dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f0f0f0;
}

.rm-dash-heading {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.rm-dash-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
    flex-shrink: 0;
}

.rm-dash-icon-lock {
    background: linear-gradient(135deg, #303030 0%, #000000 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.rm-dash-heading h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #303030;
}

.rm-dash-subtitle {
    margin: 0;
    font-size: 0.8rem;
    color: #9ca3af;
}

.rm-dash-section .rm-field-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: #303030;
    margin-bottom: 0.5rem;
}

.rm-dash-section .rm-field-label i {
    color: #ff0210;
    font-size: 0.9rem;
}

.rm-dash-section .rm-input {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    background: #fafafa;
    height: auto;
}

.rm-dash-section .rm-input:focus {
    border-color: #ff0210;
    box-shadow: 0 0 0 3px rgba(255, 2, 16, 0.12);
    background: #fff;
}

.rm-dash-section .rm-input::placeholder {
    color: #9ca3af;
}

.rm-dash-section .rm-input-disabled {
    background: #f3f4f6;
    color: #6b7280;
    cursor: not-allowed;
}

.rm-dash-section .rm-dash-submit {
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    border-radius: 10px;
    padding: 0.65rem 2rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
    transition: all 0.25s ease;
    border: none;
    margin-top: 0.5rem;
}

.rm-dash-section .rm-dash-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 2, 16, 0.4);
    color: #fff;
}

/* NiceSelect dans le dashboard */
.rm-dash-section .category + .nice-select {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    height: auto;
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
    background: #fafafa;
    line-height: 1.5;
    width: 100% !important;
    float: none;
    display: block;
}

.rm-dash-section .category + .nice-select:focus,
.rm-dash-section .category + .nice-select.open {
    border-color: #ff0210;
    box-shadow: 0 0 0 3px rgba(255, 2, 16, 0.12);
    background: #fff;
}

.rm-dash-section .category + .nice-select .list {
    width: 100%;
}

/* Actions dans l'en-tête du dashboard */
.rm-dash-header-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.rm-dash-header-actions .rm-btn-cancel {
    background: #f3f4f6;
    color: #4b5563;
    border-radius: 10px;
    padding: 0.55rem 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    border: none;
}

.rm-dash-header-actions .rm-btn-cancel:hover {
    background: #e5e7eb;
    color: #303030;
}

.rm-field-hint {
    display: block;
    font-size: 0.75rem;
    color: #ff0210;
    margin-top: 0.35rem;
}

/* Quill editor premium */
.rm-dash-section .ql-toolbar.ql-snow {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px 10px 0 0;
    background: #fafafa;
}

.rm-dash-section .ql-container.ql-snow {
    border: 1.5px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 10px 10px;
    background: #fff;
    font-size: 0.9rem;
}

.rm-dash-section .ql-container.ql-snow:focus-within {
    border-color: #ff0210;
    box-shadow: 0 0 0 3px rgba(255, 2, 16, 0.12);
}

.rm-dash-section .ql-toolbar.ql-snow .ql-picker-label,
.rm-dash-section .ql-toolbar.ql-snow .ql-stroke {
    color: #303030;
}

.rm-dash-section .ql-toolbar.ql-snow .ql-picker-label:hover,
.rm-dash-section .ql-toolbar.ql-snow .ql-picker-item:hover {
    color: #ff0210;
}

/* ============================================================
   BLOG CATEGORIES — UI PREMIUM
   ============================================================ */
.rm-blog-cat-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.rm-blog-cat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    transition: all 0.25s ease;
}

.rm-blog-cat-card:hover {
    background: #fff;
    border-color: rgba(255, 2, 16, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.rm-blog-cat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.25);
    flex-shrink: 0;
}

.rm-blog-cat-info {
    flex: 1;
    min-width: 0;
}

.rm-blog-cat-name {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    font-weight: 700;
    color: #303030;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rm-blog-cat-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.rm-blog-cat-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: #6b7280;
}

.rm-blog-cat-meta-item i {
    color: #ff0210;
    font-size: 0.8rem;
}

.rm-blog-cat-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .rm-blog-cat-card {
        flex-wrap: wrap;
    }
    .rm-blog-cat-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* ============================================================
   BLOG ARTICLES — UI PREMIUM
   ============================================================ */
.rm-blog-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rm-blog-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    transition: all 0.25s ease;
}

.rm-blog-card:hover {
    background: #fff;
    border-color: rgba(255, 2, 16, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.rm-blog-cover {
    position: relative;
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
}

.rm-blog-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rm-blog-cat-tag {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: rgba(255, 2, 16, 0.9);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 100px;
    max-width: 80px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rm-blog-body {
    flex: 1;
    min-width: 0;
}

.rm-blog-title {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #303030;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rm-blog-meta {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.rm-blog-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.rm-blog-meta-item i {
    color: #ff0210;
    font-size: 0.75rem;
}

.rm-blog-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 100px;
}

.rm-blog-status-published {
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.rm-blog-status-draft {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.rm-blog-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.rm-ent-action-view {
    background: rgba(255, 214, 110, 0.25);
    color: #8a6d1a;
}

.rm-ent-action-view:hover {
    background: #ffd66e;
    color: #303030;
    box-shadow: 0 4px 12px rgba(255, 214, 110, 0.4);
}

@media (max-width: 576px) {
    .rm-blog-card {
        flex-wrap: wrap;
    }
    .rm-blog-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* ============================================================
   OFFERS LIST — UI PREMIUM
   ============================================================ */
.rm-offers-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rm-offer-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    transition: all 0.25s ease;
}

.rm-offer-card:hover {
    background: #fff;
    border-color: rgba(255, 2, 16, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.rm-offer-main {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}

.rm-offer-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.25);
    flex-shrink: 0;
}

.rm-offer-info {
    flex: 1;
    min-width: 0;
}

.rm-offer-title-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.4rem;
}

.rm-offer-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #303030;
    line-height: 1.3;
}

.rm-offer-status {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 100px;
}

.rm-offer-status-published {
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.rm-offer-status-draft {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.rm-offer-company {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ff0210;
    margin-bottom: 0.5rem;
}

.rm-offer-meta {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.rm-offer-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: #6b7280;
}

.rm-offer-meta-item i {
    color: #ff0210;
    font-size: 0.8rem;
}

.rm-offer-dates {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    flex-shrink: 0;
}

.rm-offer-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.rm-offer-date-label {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #198754;
}

.rm-offer-date-label-expire {
    color: #dc3545;
}

.rm-offer-date-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #303030;
}

.rm-offer-date-value-expire {
    color: #dc3545;
}

.rm-offer-date-time {
    font-size: 0.72rem;
    color: #9ca3af;
}

.rm-offer-date-divider {
    width: 1px;
    height: 40px;
    background: #e5e7eb;
}

.rm-offer-applications {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 214, 110, 0.15);
    border: 1px solid rgba(255, 214, 110, 0.4);
    border-radius: 12px;
    flex-shrink: 0;
    text-decoration: none;
    transition: all 0.25s ease;
}

.rm-offer-applications:hover {
    background: rgba(255, 214, 110, 0.3);
    border-color: rgba(255, 214, 110, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 214, 110, 0.3);
}

.rm-offer-app-count {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #8a6d1a;
}

.rm-offer-app-count i {
    font-size: 1rem;
}

.rm-offer-app-label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #8a6d1a;
}

.rm-offer-views {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 2, 16, 0.08);
    border: 1px solid rgba(255, 2, 16, 0.2);
    border-radius: 12px;
    flex-shrink: 0;
}

.rm-offer-views .rm-offer-app-count,
.rm-offer-views .rm-offer-app-label {
    color: #ff0210;
}

.rm-offer-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.rm-offer-expired {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #dc3545;
    background: rgba(220, 53, 69, 0.08);
    padding: 0.5rem 0.9rem;
    border-radius: 10px;
}

@media (max-width: 992px) {
    .rm-offer-card {
        flex-wrap: wrap;
    }
    .rm-offer-dates,
    .rm-offer-applications {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .rm-offer-main {
        flex-wrap: wrap;
    }
    .rm-offer-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* ============================================================
   BLOG SHOW (FRONT) — UI PREMIUM
   ============================================================ */
.rm-blog-show {
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.rm-blog-show-cover {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.rm-blog-show-cover img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.rm-blog-show-cat {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
}

.rm-blog-show-meta {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.rm-blog-show-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: #6b7280;
}

.rm-blog-show-meta-item i {
    color: #ff0210;
    font-size: 0.85rem;
}

.rm-blog-show-title {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 800;
    color: #303030;
    line-height: 1.3;
    margin-bottom: 1.25rem;
}

.rm-blog-show-content {
    font-size: 1rem;
    line-height: 1.9;
    color: #4b5563;
    margin-top: -50px;
}

.rm-blog-show-content p {
    color: #4b5563;
    margin-bottom: 1.25rem;
}

.rm-blog-show-content h2,
.rm-blog-show-content h3,
.rm-blog-show-content h4 {
    color: #303030;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.rm-blog-show-content img {
    border-radius: 12px;
    margin: 1.5rem 0;
}

.rm-blog-show-content blockquote {
    border-left: 4px solid #ff0210;
    background: rgba(255, 2, 16, 0.04);
    padding: 1rem 1.25rem;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #303030;
    margin: 1.5rem 0;
}

.rm-blog-show-content ul,
.rm-blog-show-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.rm-blog-show-content li {
    margin-bottom: 0.4rem;
}

.rm-blog-show-share {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.rm-blog-show-share-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #303030;
    margin-right: 0.25rem;
}

.rm-blog-show-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    text-decoration: none;
}

.rm-blog-show-share-btn:hover {
    transform: translateY(-3px);
    color: #fff;
}

.rm-blog-show-share-fb {
    background: #1877f2;
}

.rm-blog-show-share-fb:hover {
    box-shadow: 0 6px 16px rgba(24, 119, 242, 0.4);
}

.rm-blog-show-share-tw {
    background: #000000;
}

.rm-blog-show-share-tw:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.rm-blog-show-share-li {
    background: #0a66c2;
}

.rm-blog-show-share-li:hover {
    box-shadow: 0 6px 16px rgba(10, 102, 194, 0.4);
}

.rm-blog-show-share-wa {
    background: #25d366;
}

.rm-blog-show-share-wa:hover {
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* Widget articles populaires */
.rm-blog-widget {
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.rm-popular-post {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.rm-popular-post:last-child {
    border-bottom: none;
}

.rm-popular-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
}

.rm-popular-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rm-popular-thumb:hover img {
    transform: scale(1.1);
}

.rm-popular-info {
    flex: 1;
    min-width: 0;
}

.rm-popular-info time {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    color: #9ca3af;
    margin-bottom: 0.3rem;
}

.rm-popular-info time i {
    color: #ff0210;
}

.rm-popular-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.3rem;
}

.rm-popular-info h4 a {
    color: #303030;
    text-decoration: none;
    transition: color 0.2s ease;
}

.rm-popular-info h4 a:hover {
    color: #ff0210;
}

.rm-popular-views {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    color: #6b7280;
}

.rm-popular-views i {
    color: #ff0210;
}

@media (max-width: 576px) {
    .rm-blog-show {
        padding: 1rem;
    }
    .rm-blog-show-meta {
        gap: 0.9rem;
    }
}

/* ============================================================
   HOME OFFERS CARDS — UI PREMIUM
   ============================================================ */
.rm-home-offer-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    height: 100%;
}

.rm-home-offer-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 2, 16, 0.3);
    box-shadow: 0 12px 30px rgba(255, 2, 16, 0.1);
}

.rm-home-offer-logo {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid #f0f0f0;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rm-home-offer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rm-home-offer-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    font-size: 1.6rem;
}

.rm-home-offer-body {
    flex: 1;
    min-width: 0;
}

.rm-home-offer-title-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.4rem;
}

.rm-home-offer-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #303030;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
}

.rm-home-offer-title a {
    color: #303030;
    text-decoration: none;
    transition: color 0.2s ease;
}

.rm-home-offer-title a:hover {
    color: #ff0210;
}

.rm-home-offer-type {
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 100px;
    background: rgba(255, 2, 16, 0.08);
    color: #ff0210;
    white-space: nowrap;
}

.rm-home-offer-company {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.6rem;
}

.rm-home-offer-company i {
    color: #ff0210;
}

.rm-home-offer-meta {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.rm-home-offer-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: #6b7280;
}

.rm-home-offer-meta-item i {
    color: #ff0210;
    font-size: 0.85rem;
}

.rm-home-offer-action {
    flex-shrink: 0;
    margin-top: auto;
}

.rm-home-offer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.65rem 1.4rem;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.rm-home-offer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 2, 16, 0.4);
    color: #fff;
}

.rm-home-offer-btn i {
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}

.rm-home-offer-btn:hover i {
    transform: translateX(3px);
}

/* Bouton "Voir toutes les offres" */
.rm-home-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
    transition: all 0.25s ease;
}

.rm-home-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 2, 16, 0.4);
    color: #fff;
}

.rm-home-all-btn i {
    font-size: 0.85rem;
    transition: transform 0.25s ease;
}

.rm-home-all-btn:hover i {
    transform: translateX(3px);
}

/* ============================================================
   PAGE CONTACT — UI PREMIUM
   ============================================================ */
.rm-contact-card {
    text-align: center;
    padding: 1.75rem 1.25rem;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    height: 100%;
    margin-bottom: 1rem;
    transition: all 0.25s ease;
}

.rm-contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 2, 16, 0.3);
    box-shadow: 0 8px 22px rgba(255, 2, 16, 0.1);
}

.rm-contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 0.9rem;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
}

.rm-contact-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
    margin-bottom: 0.3rem;
}

.rm-contact-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #303030;
    text-decoration: none;
    transition: color 0.2s ease;
}

.rm-contact-value:hover {
    color: #ff0210;
}

.rm-contact-card p {
    font-size: 0.78rem;
    color: #9ca3af;
    margin: 0.4rem 0 0;
}

/* Formulaire de contact */
.rm-contact-wrap {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.rm-contact-info {
    padding: 1rem 1.5rem 1rem 0;
}

.rm-contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.45rem 1rem;
    border-radius: 100px;
    background: rgba(255, 2, 16, 0.08);
    color: #ff0210;
    margin-bottom: 1rem;
}

.rm-contact-info h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #303030;
    margin-bottom: 0.75rem;
}

.rm-contact-info > p {
    font-size: 0.92rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.rm-contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    transition: all 0.25s ease;
}

.rm-contact-info-item:hover {
    border-color: rgba(255, 2, 16, 0.25);
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.08);
}

.rm-contact-info-item > i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.rm-contact-info-item div {
    min-width: 0;
}

.rm-contact-info-item span {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #9ca3af;
}

.rm-contact-info-item strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #303030;
}

.rm-contact-form {
    padding: 1rem 0 1rem 2rem;
}

.rm-contact-field {
    margin-bottom: 1rem;
}

.rm-contact-field label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #303030;
    margin-bottom: 0.4rem;
}

.rm-contact-field label i {
    color: #ff0210;
    font-size: 0.9rem;
}

.rm-contact-input {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    background: #fafafa;
    height: auto;
}

.rm-contact-input:focus {
    border-color: #ff0210;
    box-shadow: 0 0 0 3px rgba(255, 2, 16, 0.12);
    background: #fff;
}

.rm-contact-textarea {
    resize: vertical;
}

/* Anti-spam */
.rm-contact-antispam {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 2, 16, 0.04);
    border: 1px dashed rgba(255, 2, 16, 0.3);
    border-radius: 12px;
    flex-wrap: wrap;
}

.rm-antispam-code {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #6b7280;
    background: #000;
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 8px;
}

.rm-antispam-code i {
    color: #ffd66e;
}

.rm-antispam-code strong {
    color: #ff0210;
    letter-spacing: 0.1em;
}

.rm-antispam-input {
    flex: 1;
    min-width: 180px;
}

.rm-antispam-input label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #303030;
    margin-bottom: 0.4rem;
}

.rm-contact-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.8rem 2.5rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
    transition: all 0.25s ease;
}

.rm-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 2, 16, 0.4);
    color: #fff;
}

.rm-contact-submit i {
    font-size: 1rem;
}

@media (max-width: 991px) {
    .rm-contact-wrap {
        padding: 1.5rem;
    }
    .rm-contact-info {
        padding: 0 0 1.5rem;
    }
    .rm-contact-form {
        padding: 0;
    }
}

/* ============================================================
   PAGE À PROPOS — UI PREMIUM
   ============================================================ */
.rm-about-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.45rem 1rem;
    border-radius: 100px;
    background: rgba(255, 2, 16, 0.08);
    color: #ff0210;
    margin-bottom: 1rem;
}

.rm-about-hero-title {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #303030;
    line-height: 1.3;
    margin-bottom: 1.25rem;
}

.rm-about-highlight {
    background: linear-gradient(135deg, #ff0210, #d1010b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rm-about-hero-desc {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.rm-about-pillars {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 1.25rem 0;
}

.rm-about-pillars span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #303030;
    padding: 0.45rem 0.85rem;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 100px;
}

.rm-about-pillars i {
    color: #ff0210;
}

.rm-about-cta {
    margin-top: 1.5rem;
}

.rm-about-hero-img {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.rm-about-hero-img img {
    width: 100%;
    height: auto;
    display: block;
}

.rm-about-lead {
    text-align: center;
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.9;
}

/* Mission & Vision */
.rm-about-mv-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    height: 100%;
    border-top: 4px solid #ff0210;
    transition: all 0.25s ease;
}

.rm-about-mv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.rm-about-mv-vision {
    border-top-color: #ffd66e;
}

.rm-about-mv-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.rm-about-mv-vision .rm-about-mv-icon {
    background: linear-gradient(135deg, #ffd66e 0%, #f0a500 100%);
    color: #5c3d00;
}

.rm-about-mv-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #303030;
    margin-bottom: 0.75rem;
}

.rm-about-mv-card p {
    font-size: 0.92rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.rm-about-mv-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rm-about-mv-card ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #4b5563;
    padding: 0.35rem 0;
}

.rm-about-mv-card ul li i {
    color: #ff0210;
}

.rm-about-vision-values {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.rm-about-vision-values span {
    font-size: 0.78rem;
    font-weight: 600;
    color: #5c3d00;
    background: rgba(255, 214, 110, 0.25);
    padding: 0.4rem 0.8rem;
    border-radius: 100px;
}

/* Nos Valeurs */
.rm-about-value-card {
    text-align: center;
    padding: 1.75rem 1.25rem;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    height: 100%;
    margin-bottom: 10px;
    transition: all 0.25s ease;
}

.rm-mb-10 {
    margin-bottom: 10px;
}

.rm-mb-10 > .rm-about-value-card,
.rm-mb-10 > .rm-about-advantage-card,
.rm-mb-10 > .rm-about-atout-card {
    height: calc(100% - 10px);
}

.rm-about-value-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(255, 2, 16, 0.1);
}

.rm-about-value-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 2, 16, 0.08);
    color: #ff0210;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 0.9rem;
}

.rm-about-value-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #303030;
    margin-bottom: 0.5rem;
}

.rm-about-value-card p {
    font-size: 0.82rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Pourquoi nous choisir */
.rm-about-advantage-card {
    text-align: center;
    padding: 1.75rem 1.25rem;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    height: 100%;
    margin-bottom: 1rem;
    transition: all 0.25s ease;
}

.rm-about-advantage-card:hover {
    border-color: rgba(255, 2, 16, 0.3);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.rm-about-advantage-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 0.9rem;
}

.rm-about-advantage-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #303030;
    margin-bottom: 0.5rem;
}

.rm-about-advantage-card p {
    font-size: 0.82rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Nos Atouts */
.rm-about-atout-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    height: 100%;
    margin-bottom: 1rem;
    transition: all 0.25s ease;
}

.rm-about-atout-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(255, 2, 16, 0.1);
}

.rm-about-atout-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.rm-about-atout-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #303030;
    margin-bottom: 0.35rem;
}

.rm-about-atout-card p {
    font-size: 0.82rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Domaines d'intervention */
.rm-about-domaine-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: #4b5563;
    padding: 0.7rem 0.9rem;
    margin-bottom: 0.75rem;
    border-left: 3px solid #ff0210;
    background: #fafafa;
    border-radius: 0 8px 8px 0;
}

.rm-about-domaine-item i {
    color: #ff0210;
}

/* Secteurs */
.rm-about-secteur-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 1.25rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
    transition: all 0.25s ease;
}

.rm-about-secteur-card:hover {
    border-left: 4px solid #ff0210;
    box-shadow: 0 6px 18px rgba(255, 2, 16, 0.1);
    transform: translateX(4px);
}

.rm-about-secteur-card i {
    color: #ff0210;
    font-size: 1.3rem;
}

.rm-about-secteur-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #303030;
    margin: 0;
}

/* Profils */
.rm-about-profil-card {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 0.9rem;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    transition: all 0.25s ease;
}

.rm-about-profil-card:hover {
    border-color: rgba(255, 2, 16, 0.3);
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.08);
}

.rm-about-profil-card i {
    color: #ff0210;
    font-size: 1.1rem;
}

.rm-about-profil-card span {
    font-size: 0.85rem;
    font-weight: 500;
    color: #4b5563;
}

/* Engagement */
.rm-about-engagement {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.rm-about-engagement::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(255, 2, 16, 0.25) 0%, transparent 60%),
                radial-gradient(ellipse at bottom left, rgba(255, 214, 110, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.rm-about-engagement .row {
    position: relative;
    z-index: 1;
}

.rm-about-engagement h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.25rem;
    color: #fff;
}

.rm-about-engagement p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.rm-about-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.4);
    transition: all 0.25s ease;
}

.rm-about-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 2, 16, 0.5);
    color: #fff;
}

.rm-about-cta-btn i {
    font-size: 0.85rem;
    transition: transform 0.25s ease;
}

.rm-about-cta-btn:hover i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .rm-about-hero-img {
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }
}

/* ============================================================
   PARTENARIAT RH STRATÉGIQUE (GROW) — UI PREMIUM
   ============================================================ */
.rm-grow-header {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.rm-grow-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.45rem 1rem;
    border-radius: 100px;
    background: rgba(255, 2, 16, 0.08);
    color: #ff0210;
    margin-bottom: 1rem;
}

.rm-grow-badge i {
    font-size: 0.85rem;
}

.rm-grow-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #303030;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.rm-grow-highlight {
    background: linear-gradient(135deg, #ff0210, #d1010b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rm-grow-subtitle {
    font-size: 1.05rem;
    color: #6b7280;
    margin: 0;
}

.rm-grow-text p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.rm-grow-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.rm-grow-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    transition: all 0.25s ease;
}

.rm-grow-feature:hover {
    border-color: rgba(255, 2, 16, 0.25);
    box-shadow: 0 6px 20px rgba(255, 2, 16, 0.08);
    transform: translateY(-2px);
}

.rm-grow-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.rm-grow-feature h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #303030;
    margin: 0 0 0.25rem;
}

.rm-grow-feature p {
    font-size: 0.8rem;
    color: #9ca3af;
    line-height: 1.5;
    margin: 0;
}

.rm-grow-cta {
    margin-top: 1.5rem;
}

.rm-grow-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
    transition: all 0.25s ease;
}

.rm-grow-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 2, 16, 0.4);
    color: #fff;
}

.rm-grow-cta-btn i {
    font-size: 0.85rem;
    transition: transform 0.25s ease;
}

.rm-grow-cta-btn:hover i {
    transform: translateX(3px);
}

.rm-grow-img-wrap {
    position: relative;
}

.rm-grow-img {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.rm-grow-img img {
    width: 100%;
    height: auto;
    display: block;
}

.rm-grow-badge-float {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.25rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.rm-grow-badge-float i {
    font-size: 1.4rem;
    color: #ff0210;
}

.rm-grow-badge-float strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #303030;
}

.rm-grow-badge-float span {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
}

@media (max-width: 768px) {
    .rm-grow-features {
        grid-template-columns: 1fr;
    }
    .rm-grow-img-wrap {
        margin-top: 1.5rem;
    }
}

/* ============================================================
   NEWSLETTER POPUP — UI PREMIUM
   ============================================================ */
.rm-newsletter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.rm-newsletter-overlay.show {
    display: flex;
    animation: rm-newsletter-fade 0.3s ease;
}

.rm-newsletter-popup {
    position: relative;
    background: #fff;
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    padding: 2.5rem 2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: rm-newsletter-pop 0.4s ease;
}

.rm-newsletter-popup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff0210, #ffd66e, #ff0210);
}

.rm-newsletter-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #f3f4f6;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 2;
}

.rm-newsletter-close:hover {
    background: #ff0210;
    color: #fff;
    transform: rotate(90deg);
}

.rm-newsletter-content {
    text-align: center;
}

.rm-newsletter-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.25rem;
    box-shadow: 0 8px 20px rgba(255, 2, 16, 0.3);
}

.rm-newsletter-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #303030;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.rm-newsletter-text {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.rm-newsletter-form {
    margin-bottom: 1rem;
}

.rm-newsletter-input-wrap {
    position: relative;
    margin-bottom: 0.75rem;
}

.rm-newsletter-input-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.9rem;
    pointer-events: none;
}

.rm-newsletter-input {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.75rem 0.9rem 0.75rem 2.5rem;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    background: #fafafa;
    height: auto;
}

.rm-newsletter-input:focus {
    border-color: #ff0210;
    box-shadow: 0 0 0 3px rgba(255, 2, 16, 0.12);
    background: #fff;
}

.rm-newsletter-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
    transition: all 0.25s ease;
}

.rm-newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 2, 16, 0.4);
    color: #fff;
}

.rm-newsletter-note {
    font-size: 0.72rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin: 0;
}

.rm-newsletter-note i {
    color: #ff0210;
}

@keyframes rm-newsletter-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes rm-newsletter-pop {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media (max-width: 480px) {
    .rm-newsletter-popup {
        padding: 2rem 1.25rem;
    }
    .rm-newsletter-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .rm-home-offer-card {
        gap: 1rem;
    }
    .rm-home-offer-action {
        width: 100%;
    }
    .rm-home-offer-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .rm-home-offer-logo {
        width: 60px;
        height: 60px;
    }
    .rm-home-offer-meta {
        gap: 0.8rem;
    }
}

/* ============================================================
   OFFERS GRID CARDS (FRONT /offers) — UI PREMIUM
   ============================================================ */
.rm-offers-grid-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.rm-offers-grid-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 2, 16, 0.3);
    box-shadow: 0 12px 30px rgba(255, 2, 16, 0.1);
}

.rm-offers-grid-logo {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid #f0f0f0;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.rm-offers-grid-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rm-offers-grid-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    font-size: 1.4rem;
}

.rm-offers-grid-body {
    flex: 1;
    min-width: 0;
}

.rm-offers-grid-title-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.4rem;
}

.rm-offers-grid-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #303030;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
}

.rm-offers-grid-title a {
    color: #303030;
    text-decoration: none;
    transition: color 0.2s ease;
}

.rm-offers-grid-title a:hover {
    color: #ff0210;
}

.rm-offers-grid-type {
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.25rem 0.55rem;
    border-radius: 100px;
    background: rgba(255, 2, 16, 0.08);
    color: #ff0210;
    white-space: nowrap;
}

.rm-offers-grid-company {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.7rem;
}

.rm-offers-grid-company i {
    color: #ff0210;
}

.rm-offers-grid-meta {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.rm-offers-grid-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: #6b7280;
}

.rm-offers-grid-meta-item i {
    color: #ff0210;
    font-size: 0.85rem;
}

.rm-offers-grid-action {
    margin-top: auto;
}

.rm-offers-grid-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.65rem 1.4rem;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
    transition: all 0.25s ease;
}

.rm-offers-grid-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 2, 16, 0.4);
    color: #fff;
}

.rm-offers-grid-btn i {
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}

.rm-offers-grid-btn:hover i {
    transform: translateX(3px);
}

/* ============================================================
   OFFER SHOW (FRONT /offers/{uid}) — UI PREMIUM
   ============================================================ */
.rm-offer-show {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.rm-offer-show-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 1.5rem;
}

.rm-offer-show-logo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid #f0f0f0;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rm-offer-show-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rm-offer-show-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    font-size: 1.8rem;
}

.rm-offer-show-heading {
    flex: 1;
    min-width: 0;
}

.rm-offer-show-title {
    margin: 0 0 0.4rem;
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    font-weight: 800;
    color: #303030;
    line-height: 1.3;
}

.rm-offer-show-company {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.6rem;
}

.rm-offer-show-company i {
    color: #ff0210;
}

.rm-offer-show-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.rm-offer-show-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.3rem 0.65rem;
    border-radius: 100px;
}

.rm-offer-show-badge i {
    font-size: 0.7rem;
}

.rm-offer-show-badge-type {
    background: rgba(255, 2, 16, 0.08);
    color: #ff0210;
}

.rm-offer-show-badge-exp {
    background: rgba(255, 214, 110, 0.25);
    color: #8a6d1a;
}

.rm-offer-show-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.rm-offer-show-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
}

.rm-offer-show-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.rm-offer-show-info-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #9ca3af;
    margin-bottom: 0.15rem;
}

.rm-offer-show-info-value {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #303030;
}

.rm-offer-show-section {
    margin-bottom: 1.5rem;
}

.rm-offer-show-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #303030;
    margin-bottom: 1rem;
}

.rm-offer-show-section-title i {
    color: #ff0210;
}

.rm-offer-show-content {
    font-size: 1rem;
    line-height: 1.9;
    color: #4b5563;
    margin-top: 0;
}

.rm-offer-show-content p {
    color: #4b5563;
    margin-bottom: 1.25rem;
}

.rm-offer-show-content h2,
.rm-offer-show-content h3,
.rm-offer-show-content h4 {
    color: #303030;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.rm-offer-show-content img {
    border-radius: 12px;
    margin: 1.5rem 0;
}

.rm-offer-show-content blockquote {
    border-left: 4px solid #ff0210;
    background: rgba(255, 2, 16, 0.04);
    padding: 1rem 1.25rem;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #303030;
    margin: 1.5rem 0;
}

.rm-offer-show-content ul,
.rm-offer-show-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.rm-offer-show-content li {
    margin-bottom: 0.4rem;
}

.rm-offer-show-apply {
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.rm-offer-show-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
    transition: all 0.25s ease;
}

.rm-offer-show-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 2, 16, 0.4);
    color: #fff;
}

.rm-offer-show-btn-disabled {
    background: #198754;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
    cursor: not-allowed;
}

.rm-offer-show-btn-disabled:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
}

@media (max-width: 992px) {
    .rm-offer-show-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .rm-offer-show {
        padding: 1.25rem;
    }
    .rm-offer-show-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .rm-offer-show-info-grid {
        grid-template-columns: 1fr;
    }
    .rm-offer-show-btn {
        width: 100%;
    }
}

/* ============================================================
   EMAILS NEWSLETTER (DASHBOARD) — UI PREMIUM
   ============================================================ */
.rm-emails-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.rm-email-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    transition: all 0.25s ease;
}

.rm-email-card:hover {
    background: #fff;
    border-color: rgba(255, 2, 16, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.rm-email-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.25);
    flex-shrink: 0;
}

.rm-email-info {
    flex: 1;
    min-width: 0;
}

.rm-email-address {
    font-size: 0.95rem;
    font-weight: 700;
    color: #303030;
    margin-bottom: 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rm-email-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.rm-email-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: #6b7280;
}

.rm-email-meta-item i {
    color: #ff0210;
    font-size: 0.8rem;
}

.rm-email-actions {
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .rm-email-card {
        flex-wrap: wrap;
    }
    .rm-email-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* ============================================================
   LOGIN PAGE — UI PREMIUM
   ============================================================ */
.rm-login-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 2.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.rm-login-card .signin-form {
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.rm-login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff0210, #ffd66e, #ff0210);
}

.rm-login-logo {
    text-align: center;
    margin-bottom: 1.75rem;
}

.rm-login-logo img {
    width: 180px;
    height: auto;
}

.rm-login-heading {
    text-align: center;
    margin-bottom: 1.75rem;
}

.rm-login-heading h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #303030;
    margin-bottom: 0.5rem;
}

.rm-login-heading p {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.rm-login-field {
    margin-bottom: 1.25rem;
}

.rm-login-field label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #303030;
    margin-bottom: 0.5rem;
}

.rm-login-field label i {
    color: #ff0210;
    font-size: 0.85rem;
}

.rm-login-input-wrap {
    position: relative;
}

.rm-login-input-wrap .rm-input {
    padding-left: 2.5rem;
}

.rm-login-input-wrap .rm-input[type="date"] {
    padding-left: 2.5rem;
}

.rm-login-input-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.9rem;
    pointer-events: none;
}

.rm-login-input {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.7rem 2.5rem;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    background: #fafafa;
    height: auto;
}

.rm-login-input:focus {
    border-color: #ff0210;
    box-shadow: 0 0 0 3px rgba(255, 2, 16, 0.12);
    background: #fff;
}

.rm-login-input::placeholder {
    color: #9ca3af;
}

.rm-login-toggle-password {
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}

.rm-login-toggle-password:hover {
    color: #ff0210;
}

.rm-login-options {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.25rem;
}

.rm-login-forgot {
    font-size: 0.82rem;
    color: #ff0210;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.rm-login-forgot:hover {
    color: #d1010b;
    text-decoration: underline;
}

.rm-login-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
    transition: all 0.25s ease;
}

.rm-login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 2, 16, 0.4);
}

.rm-login-submit i {
    font-size: 0.85rem;
    transition: transform 0.25s ease;
}

.rm-login-submit:hover i {
    transform: translateX(3px);
}

.rm-login-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    border-radius: 10px;
    padding: 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
}

.rm-login-register {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f0f0f0;
}

.rm-login-register p {
    font-size: 0.88rem;
    color: #6b7280;
    margin: 0;
}

.rm-login-register a {
    color: #ff0210;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.rm-login-register a:hover {
    color: #d1010b;
}

.rm-login-register a i {
    font-size: 0.8rem;
}

@media (max-width: 576px) {
    .rm-login-card {
        padding: 1.75rem 1.25rem;
    }
    .rm-login-logo img {
        width: 150px;
    }
}

/* ============================================================
   REGISTER PAGE — SECTIONS GROUPÉES (UI PREMIUM)
   ============================================================ */
.rm-register-card {
    padding: 2.5rem 2.25rem;
}

.rm-register-section {
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.rm-register-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #303030;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.rm-register-section-title i {
    color: #ff0210;
    font-size: 1rem;
}

.rm-register-card .rm-login-field {
    margin-bottom: 0;
}

.rm-register-card .rm-login-submit {
    width: auto;
    min-width: 160px;
}

.rm-register-card .rm-btn-cancel {
    background: #f3f4f6;
    color: #4b5563;
    border-radius: 10px;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    transition: all 0.25s ease;
    border: none;
}

.rm-register-card .rm-btn-cancel:hover {
    background: #e5e7eb;
    color: #303030;
}

.rm-register-card .rm-login-input {
    background: #fff;
}

.rm-register-card .category + .nice-select {
    width: 100% !important;
    float: none;
    display: block;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    height: auto;
    padding: 0.7rem 0.9rem;
    font-size: 0.9rem;
    background: #fff;
    line-height: 1.5;
}

.rm-register-card .category + .nice-select:focus,
.rm-register-card .category + .nice-select.open {
    border-color: #ff0210;
    box-shadow: 0 0 0 3px rgba(255, 2, 16, 0.12);
}

.rm-register-card .category + .nice-select .list {
    width: 100%;
}

@media (max-width: 576px) {
    .rm-register-card {
        padding: 1.75rem 1.25rem;
    }
    .rm-register-card .rm-login-submit {
        width: 100%;
    }
}

/* Upload photo de profil (register) */
.rm-profile-upload {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    cursor: pointer;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.rm-profile-upload:hover {
    box-shadow: 0 8px 25px rgba(255, 2, 16, 0.25);
    transform: scale(1.02);
}

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

.rm-profile-upload-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rm-profile-upload:hover .rm-profile-upload-overlay {
    opacity: 1;
}

.rm-profile-upload-overlay i {
    color: #fff;
    font-size: 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.rm-profile-upload-hint {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* ============================================================
   CANDIDATE DASHBOARD (my-cv) — UI PREMIUM
   ============================================================ */
.rm-cv-profile-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.rm-cv-profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff0210, #ffd66e, #ff0210);
}

.rm-cv-avatar {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto;
    border-radius: 50%;
    cursor: pointer;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.rm-cv-avatar:hover {
    box-shadow: 0 8px 25px rgba(255, 2, 16, 0.25);
    transform: scale(1.02);
}

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

.rm-cv-avatar-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rm-cv-avatar:hover .rm-cv-avatar-overlay {
    opacity: 1;
}

.rm-cv-avatar-overlay i {
    color: #fff;
    font-size: 1.8rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.rm-cv-avatar-wrap {
    position: relative;
    display: inline-block;
}

.rm-cv-avatar-camera {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease;
    z-index: 2;
}

.rm-cv-avatar-camera:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.4);
}

.rm-cv-avatar-upload {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
    transition: all 0.25s ease;
}

.rm-cv-avatar-upload:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 2, 16, 0.4);
    color: #fff;
}

.rm-cv-name {
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    font-weight: 800;
    color: #303030;
    margin-bottom: 0.4rem;
}

.rm-cv-rmcode {
    font-size: 0.85rem;
    color: #9ca3af;
    font-weight: 600;
}

.rm-cv-qualification {
    font-size: 1rem;
    color: #ff0210;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.rm-cv-contact {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.rm-cv-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.rm-cv-contact-item i {
    color: #ff0210;
    font-size: 0.85rem;
}

.rm-cv-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.rm-cv-location i {
    color: #ff0210;
}

.rm-cv-location-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.rm-cv-location-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
}

.rm-cv-location-item > i {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.rm-cv-location-item div {
    min-width: 0;
}

.rm-cv-location-item span {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #9ca3af;
}

.rm-cv-location-item strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #303030;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .rm-cv-location-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   HERO OFFRE (PROFIL CANDIDAT) — UI PREMIUM
   ============================================================ */
.rm-candidate-hero {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    padding: 2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.rm-candidate-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(255, 2, 16, 0.25) 0%, transparent 60%),
                radial-gradient(ellipse at bottom left, rgba(255, 214, 110, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.rm-candidate-hero-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.rm-candidate-hero-logo {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.rm-candidate-hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rm-candidate-hero-logo i {
    font-size: 1.8rem;
    color: #ff0210;
}

.rm-candidate-hero-info {
    min-width: 0;
}

.rm-candidate-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 100px;
    background: rgba(255, 2, 16, 0.2);
    color: #ffd66e;
    margin-bottom: 0.5rem;
}

.rm-candidate-hero-title {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.35rem;
    line-height: 1.3;
}

.rm-candidate-hero-company {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.rm-candidate-hero-company i {
    color: #ffd66e;
}

.rm-candidate-hero-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.rm-candidate-hero-stat {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.rm-candidate-hero-stat > i {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 2, 16, 0.3);
    color: #ffd66e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.rm-candidate-hero-stat div {
    min-width: 0;
}

.rm-candidate-hero-stat span {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.6);
}

.rm-candidate-hero-stat strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .rm-candidate-hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .rm-candidate-hero {
        padding: 1.5rem;
    }
    .rm-candidate-hero-content {
        flex-direction: column;
        text-align: center;
    }
    .rm-candidate-hero-stats {
        grid-template-columns: 1fr;
    }
}

.rm-cv-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.rm-cv-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
}

.rm-cv-btn i {
    font-size: 0.8rem;
}

.rm-cv-btn-edit {
    background: rgba(255, 2, 16, 0.08);
    color: #ff0210;
}

.rm-cv-btn-edit:hover {
    background: #ff0210;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
}

.rm-cv-btn-password {
    background: rgba(255, 214, 110, 0.25);
    color: #8a6d1a;
}

.rm-cv-btn-password:hover {
    background: #ffd66e;
    color: #303030;
    box-shadow: 0 4px 12px rgba(255, 214, 110, 0.4);
}

.rm-cv-btn-applied {
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.rm-cv-btn-applied:hover {
    background: #198754;
    color: #fff;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
}

.rm-cv-btn-logout {
    background: rgba(220, 53, 69, 0.08);
    color: #dc3545;
}

.rm-cv-btn-logout:hover {
    background: #dc3545;
    color: #fff;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Sections CV */
.rm-cv-section {
    border-radius: 16px;
    padding: 1.5rem;
}

.rm-cv-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.rm-cv-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #303030;
}

.rm-cv-section-title i {
    color: #ff0210;
    font-size: 1.1rem;
}

.rm-cv-about-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4b5563;
    margin: 0;
}

.rm-cv-edit-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    background: rgba(255, 2, 16, 0.08);
    color: #ff0210;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.rm-cv-edit-btn:hover {
    background: #ff0210;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
}

.rm-cv-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
    transition: all 0.25s ease;
}

.rm-cv-add-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 2, 16, 0.4);
    color: #fff;
}

/* Items CV premium */
.rm-cv-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    transition: all 0.25s ease;
}

.rm-cv-item:hover {
    background: #fff;
    border-color: rgba(255, 2, 16, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.rm-cv-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.rm-cv-item-body {
    flex: 1;
    min-width: 0;
}

.rm-cv-item-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #303030;
    margin: 0 0 0.2rem;
}

.rm-cv-item-subtitle {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0 0 0.4rem;
}

.rm-cv-item-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.rm-cv-item-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: #6b7280;
}

.rm-cv-item-meta-item i {
    color: #ff0210;
    font-size: 0.8rem;
}

.rm-cv-item-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 100px;
    background: rgba(255, 214, 110, 0.25);
    color: #8a6d1a;
    vertical-align: middle;
}

.rm-cv-item-desc {
    font-size: 0.82rem;
    color: #6b7280;
    line-height: 1.6;
    margin-top: 0.4rem;
}

/* Compétences — tags premium */
.rm-skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 2, 16, 0.08);
    color: #ff0210;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.45rem 0.75rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 2, 16, 0.15);
    transition: all 0.25s ease;
}

.rm-skill-tag:hover {
    background: rgba(255, 2, 16, 0.12);
}

.rm-skill-tag > i {
    font-size: 0.75rem;
}

.rm-skill-tag-remove {
    background: none;
    border: none;
    color: #ff0210;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.rm-skill-tag-remove:hover {
    color: #d1010b;
    transform: scale(1.2);
}

.rm-skill-tag-temp {
    background: rgba(255, 2, 16, 0.1);
    border-color: rgba(255, 2, 16, 0.25);
}

/* Modale compétences — recherche */
.rm-skill-preview {
    min-height: 40px;
    padding: 0.5rem;
    background: #fafafa;
    border: 1px dashed #e5e7eb;
    border-radius: 10px;
}

.rm-skill-search {
    position: relative;
    margin-bottom: 1rem;
}

.rm-skill-search-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.9rem;
    pointer-events: none;
}

.rm-enterprise-modal .rm-skill-search-input {
    padding-left: 2.5rem;
}

.rm-skill-results {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 0.25rem;
}

.rm-skill-result-item {
    display: block;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-bottom: 0.15rem;
}

.rm-skill-result-item:hover {
    background: rgba(255, 2, 16, 0.05);
}

.rm-skill-result-item .form-check-input:checked {
    background-color: #ff0210;
    border-color: #ff0210;
}

/* Menu profil — barre de navigation */
.rm-nav-profile {
    position: relative;
    display: inline-block;
}

.rm-nav-profile-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50px;
    transition: all 0.25s ease;
}

.rm-nav-profile-btn:hover {
    background: rgba(255, 2, 16, 0.08);
}

.rm-nav-profile-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.rm-nav-profile-caret {
    color: #fff;
    font-size: 0.7rem;
    transition: transform 0.25s ease;
}

.rm-nav-profile-btn:hover .rm-nav-profile-caret {
    color: #ff0210;
}

.rm-nav-profile-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    width: 260px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    z-index: 1000;
}

.rm-nav-profile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rm-nav-profile-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.5rem 0.75rem;
}

.rm-nav-profile-header-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}

.rm-nav-profile-header div {
    min-width: 0;
}

.rm-nav-profile-header strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #303030;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rm-nav-profile-header span {
    display: block;
    font-size: 0.72rem;
    color: #9ca3af;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rm-nav-profile-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 0.25rem 0;
}

.rm-nav-profile-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.2s ease;
}

.rm-nav-profile-item i {
    width: 18px;
    text-align: center;
    color: #ff0210;
    font-size: 0.9rem;
}

.rm-nav-profile-item:hover {
    background: rgba(255, 2, 16, 0.06);
    color: #ff0210;
}

.rm-nav-profile-item-danger {
    color: #dc3545;
}

.rm-nav-profile-item-danger i {
    color: #dc3545;
}

.rm-nav-profile-item-danger:hover {
    background: rgba(220, 53, 69, 0.08);
    color: #dc3545;
}

/* ============================================================
   RECHERCHE D'OFFRES — UI PREMIUM
   ============================================================ */
.rm-search-form {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.rm-search-field {
    position: relative;
}

.rm-search-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.9rem;
    pointer-events: none;
}

.rm-search-input {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.7rem 0.9rem 0.7rem 2.5rem;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    background: #fafafa;
    height: auto;
}

.rm-search-input:focus {
    border-color: #ff0210;
    box-shadow: 0 0 0 3px rgba(255, 2, 16, 0.12);
    background: #fff;
}

.rm-search-field .category + .nice-select {
    width: 100% !important;
    float: none;
    display: block;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    height: auto;
    padding: 0.7rem 0.9rem 0.7rem 2.5rem;
    font-size: 0.9rem;
    background: #fafafa;
    line-height: 1.5;
}

.rm-search-field .category + .nice-select:focus,
.rm-search-field .category + .nice-select.open {
    border-color: #ff0210;
    box-shadow: 0 0 0 3px rgba(255, 2, 16, 0.12);
    background: #fff;
}

.rm-search-field .category + .nice-select .list {
    width: 100%;
}

.rm-search-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
    transition: all 0.25s ease;
}

.rm-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 2, 16, 0.4);
    color: #fff;
}

/* En-tête résultats de recherche */
.rm-search-results-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.rm-search-results-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-right: auto;
}

.rm-search-results-title > i {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.rm-search-results-title h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #303030;
    margin: 0;
}

.rm-search-results-title p {
    font-size: 0.8rem;
    color: #9ca3af;
    margin: 0;
}

.rm-search-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.7rem;
    border-radius: 100px;
    background: rgba(255, 2, 16, 0.08);
    color: #ff0210;
}

.rm-search-clear {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.rm-search-clear:hover {
    color: #ff0210;
}

/* État vide */
.rm-search-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.rm-search-empty i {
    font-size: 3rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.rm-search-empty h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #303030;
    margin-bottom: 0.5rem;
}

.rm-search-empty p {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1.25rem;
}

.rm-search-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
    transition: all 0.25s ease;
}

.rm-search-empty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 2, 16, 0.4);
    color: #fff;
}

/* ============================================================
   SIDEBAR FILTRES OFFERS — UI PREMIUM
   ============================================================ */
.rm-filter-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 20px;
}

.rm-filter-sidebar-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
}

.rm-filter-sidebar-header > i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.rm-filter-sidebar-header h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.rm-filter-sidebar-header p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.rm-filter-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.rm-filter-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #303030;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.rm-filter-card-header i {
    color: #ff0210;
    font-size: 0.9rem;
}

.rm-filter-count {
    margin-left: auto;
    background: rgba(255, 2, 16, 0.08);
    color: #ff0210;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 100px;
}

.rm-filter-search {
    position: relative;
}

.rm-filter-search-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.9rem;
    pointer-events: none;
}

.rm-filter-search-input {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.65rem 0.9rem 0.65rem 2.5rem;
    font-size: 0.85rem;
    transition: all 0.25s ease;
    background: #fafafa;
    height: auto;
}

.rm-filter-search-input:focus {
    border-color: #ff0210;
    box-shadow: 0 0 0 3px rgba(255, 2, 16, 0.12);
    background: #fff;
}

.rm-filter-search-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
    transition: all 0.25s ease;
}

.rm-filter-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 2, 16, 0.4);
    color: #fff;
}

.rm-filter-list {
    max-height: 220px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.rm-filter-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.82rem;
    color: #4b5563;
    transition: all 0.2s ease;
}

.rm-filter-item:hover {
    background: rgba(255, 2, 16, 0.05);
    color: #303030;
}

.rm-filter-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #ff0210;
}

.rm-filter-checkbox:checked {
    background-color: #ff0210;
    border-color: #ff0210;
}

.rm-filter-list::-webkit-scrollbar {
    width: 5px;
}

.rm-filter-list::-webkit-scrollbar-thumb {
    background: #ff0210;
    border-radius: 10px;
}

.rm-filter-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

@media (max-width: 991px) {
    .rm-filter-sidebar {
        position: static;
        margin-bottom: 1.5rem;
    }
}

/* Bouton filtres mobile */
.rm-filter-mobile-toggle {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
    transition: all 0.25s ease;
    margin-bottom: 1rem;
}

.rm-filter-mobile-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 2, 16, 0.4);
    color: #fff;
}

.rm-filter-mobile-caret {
    transition: transform 0.25s ease;
}

.rm-filter-mobile-caret.rotated {
    transform: rotate(180deg);
}

/* ============================================================
   ESSAID (SIDEBAR ADMIN) — UI PREMIUM
   ============================================================ */
.rm-essaid {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.rm-essaid-profile {
    text-align: center;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #f0f0f0;
}

.rm-essaid-avatar-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.rm-essaid-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
}

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

.rm-essaid-avatar-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rm-essaid-avatar:hover .rm-essaid-avatar-overlay {
    opacity: 1;
}

.rm-essaid-avatar-overlay i {
    color: #fff;
    font-size: 1.5rem;
}

.rm-essaid-avatar-camera {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease;
    z-index: 2;
}

.rm-essaid-avatar-camera:hover {
    transform: scale(1.1);
}

.rm-essaid-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #303030;
    margin: 0 0 0.25rem;
}

.rm-essaid-role {
    font-size: 0.85rem;
    color: #ff0210;
    font-weight: 600;
    margin: 0;
}

.rm-essaid-save {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 0.75rem auto 0;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
    transition: all 0.25s ease;
}

.rm-essaid-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 2, 16, 0.4);
    color: #fff;
}

.rm-essaid-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rm-essaid-menu li {
    margin-bottom: 0.25rem;
}

.rm-essaid-menu li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.2s ease;
}

.rm-essaid-menu li a i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    color: #9ca3af;
    transition: color 0.2s ease;
}

.rm-essaid-menu li a:hover {
    background: rgba(255, 2, 16, 0.06);
    color: #ff0210;
}

.rm-essaid-menu li a:hover i {
    color: #ff0210;
}

.rm-essaid-menu li a.active {
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
}

.rm-essaid-menu li a.active i {
    color: #fff;
}

.rm-essaid-menu-section {
    margin-top: 0.75rem;
    padding: 0 0.9rem;
}

.rm-essaid-menu-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 0.25rem;
}

/* ============================================================
   GESTION UTILISATEURS — UI PREMIUM
   ============================================================ */
.rm-users-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.rm-user-search {
    position: relative;
    margin-bottom: 1.25rem;
}

.rm-user-search-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.9rem;
    pointer-events: none;
}

.rm-user-search-input {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.7rem 0.9rem 0.7rem 2.5rem;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    background: #fafafa;
    height: auto;
}

.rm-user-search-input:focus {
    border-color: #ff0210;
    box-shadow: 0 0 0 3px rgba(255, 2, 16, 0.12);
    background: #fff;
}

.rm-user-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    transition: all 0.25s ease;
    height: 100%;
}

.rm-user-card:hover {
    background: #fff;
    border-color: rgba(255, 2, 16, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.rm-user-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

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

.rm-user-info {
    flex: 1;
    min-width: 0;
    width: 100%;
}

.rm-user-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #303030;
    margin: 0 0 0.35rem;
}

.rm-user-meta {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.25rem;
}

.rm-user-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.rm-user-meta-item i {
    color: #ff0210;
    font-size: 0.8rem;
}

.rm-user-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-shrink: 0;
    width: 100%;
}

.rm-user-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 100px;
}

.rm-user-status-active {
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.rm-user-status-inactive {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* Skeleton loader */
.rm-user-skeleton {
    pointer-events: none;
}

.rm-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: rm-skeleton-shimmer 1.5s infinite;
    border-radius: 8px;
}

.rm-skeleton-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.rm-skeleton-line {
    width: 80%;
    height: 12px;
}

.rm-skeleton-line-lg {
    width: 60%;
    height: 16px;
}

.rm-skeleton-btn {
    width: 100px;
    height: 32px;
    border-radius: 8px;
}

@keyframes rm-skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================================
   CANDIDATS D'UNE OFFRE — UI PREMIUM
   ============================================================ */
.rm-candidates-offer-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.rm-candidates-offer-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
}

.rm-candidates-offer-item > i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.rm-candidates-offer-item div {
    min-width: 0;
}

.rm-candidates-offer-item span {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #9ca3af;
}

.rm-candidates-offer-item strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #303030;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rm-candidate-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding: 1.25rem;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    transition: all 0.25s ease;
    height: 100%;
    margin-bottom: 1rem;
}

.rm-candidate-card:hover {
    background: #fff;
    border-color: rgba(255, 2, 16, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.rm-candidate-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.rm-candidate-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rm-candidate-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #303030;
    margin: 0;
}

.rm-candidate-meta {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    width: 100%;
}

.rm-candidate-meta-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.rm-candidate-meta-item i {
    color: #ff0210;
    font-size: 0.8rem;
}

.rm-candidate-date {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    color: #9ca3af;
    margin-top: 0.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid #f0f0f0;
    width: 100%;
    justify-content: center;
}

.rm-candidate-date i {
    color: #ff0210;
}

.rm-candidate-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
    transition: all 0.25s ease;
}

.rm-candidate-view-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 2, 16, 0.4);
    color: #fff;
}

@media (max-width: 768px) {
    .rm-candidates-offer-info {
        grid-template-columns: 1fr;
    }
}

/* Barre d'outils candidats */
.rm-candidates-toolbar {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.rm-candidates-search {
    flex: 1;
    min-width: 220px;
}

.rm-candidates-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.rm-candidates-filter {
    position: relative;
    min-width: 160px;
}

.rm-candidates-filter-icon {
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.8rem;
    pointer-events: none;
    z-index: 1;
}

.rm-candidates-filter .category + .nice-select {
    width: 100% !important;
    float: none;
    display: block;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    height: auto;
    padding: 0.65rem 0.9rem 0.65rem 2rem;
    font-size: 0.85rem;
    background: #fafafa;
    line-height: 1.5;
}

.rm-candidates-filter .category + .nice-select:focus,
.rm-candidates-filter .category + .nice-select.open {
    border-color: #ff0210;
    box-shadow: 0 0 0 3px rgba(255, 2, 16, 0.12);
}

.rm-candidates-filter .category + .nice-select .list {
    width: 100%;
}

@media (max-width: 768px) {
    .rm-candidates-toolbar {
        flex-direction: column;
    }
    .rm-candidates-filters {
        width: 100%;
    }
    .rm-candidates-filter {
        flex: 1;
        min-width: calc(50% - 0.4rem);
    }
}

/* Carte candidat — indicateurs de qualité */
.rm-candidate-card-top {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.rm-candidate-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 100px;
    background: linear-gradient(135deg, #ffd66e 0%, #f0a500 100%);
    color: #5c3d00;
    box-shadow: 0 2px 8px rgba(255, 214, 110, 0.5);
}

.rm-candidate-score {
    width: 100%;
    padding: 0.5rem 0.6rem;
    background: #f0f0f0;
    border-radius: 8px;
}

.rm-candidate-score-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.68rem;
    color: #6b7280;
    margin-bottom: 0.3rem;
}

.rm-candidate-score-label strong {
    color: #ff0210;
    font-weight: 700;
}

.rm-candidate-score-bar {
    height: 6px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.rm-candidate-score-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff0210 0%, #ffd66e 100%);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.rm-candidate-stats {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    width: 100%;
}

.rm-candidate-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #6b7280;
}

.rm-candidate-stat i {
    color: #ff0210;
    font-size: 0.75rem;
}

/* ============================================================
   CONFIGURATIONS GÉNÉRALES — UI PREMIUM
   ============================================================ */
.rm-settings-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    transition: all 0.25s ease;
    height: 100%;
}

.rm-settings-col {
    margin-bottom: 10px;
}

.rm-settings-card:hover {
    background: #fff;
    border-color: rgba(255, 2, 16, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.rm-settings-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.rm-settings-info {
    flex: 1;
    min-width: 0;
    width: 100%;
}

.rm-settings-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #303030;
    margin: 0 0 0.35rem;
    line-height: 1.4;
}

.rm-settings-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.25rem 0.55rem;
    border-radius: 100px;
    background: rgba(255, 214, 110, 0.25);
    color: #8a6d1a;
}

.rm-settings-tag i {
    font-size: 0.65rem;
}

.rm-settings-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

@media (max-width: 576px) {
    .rm-settings-card {
        margin-bottom: 0.5rem;
    }
}

/* Liste des catégories de compétences */
.rm-settings-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.rm-settings-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    transition: all 0.25s ease;
    margin-bottom: 0px;
}

.rm-settings-list-item:hover {
    background: #fff;
    border-color: rgba(255, 2, 16, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.rm-settings-list-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.rm-settings-list-info {
    flex: 1;
    min-width: 0;
}

.rm-settings-list-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: #303030;
    margin: 0;
}

.rm-settings-list-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .rm-filter-mobile-toggle {
        display: flex;
    }
    .rm-filter-sidebar {
        display: none;
    }
    .rm-filter-sidebar.open {
        display: flex;
    }
}

/* Menu profil mobile — à côté du burger */
.rm-mobile-profile {
    position: absolute;
    top: 8px;
    right: 75px;
    z-index: 1000;
}

/* Boutons Connexion/Inscription mobile */
.rm-mobile-auth {
    position: absolute;
    top: 12px;
    right: 55px;
    z-index: 1000;
}

.rm-mobile-auth-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #ff0210 0%, #d1010b 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 2, 16, 0.3);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.rm-mobile-auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 2, 16, 0.4);
    color: #fff;
}

.rm-mobile-auth-caret {
    font-size: 0.6rem;
    transition: transform 0.25s ease;
}

.rm-mobile-auth-caret.rotated {
    transform: rotate(180deg);
}

.rm-mobile-auth-menu {
    position: fixed;
    top: 60px;
    right: 12px;
    width: 200px;
    max-width: calc(100vw - 24px);
}

@media (max-width: 480px) {
    .rm-mobile-auth {
        top: 13px;
        right: 50px;
    }
    .rm-mobile-auth-btn {
        font-size: 0.7rem;
        padding: 0.4rem 0.7rem;
    }
}

.rm-mobile-profile-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rm-mobile-profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.rm-mobile-profile-menu {
    position: fixed;
    top: 60px;
    right: 12px;
    width: 280px;
    max-width: calc(100vw - 24px);
}

@media (max-width: 991px) {
    .rm-mobile-profile {
        top: 8px;
        right: 75px;
    }
}

@media (max-width: 480px) {
    .rm-mobile-profile {
        top: 10px;
        right: 70px;
    }
    .rm-mobile-profile-avatar {
        width: 36px;
        height: 36px;
    }
}

/* Projets & Réalisations — items premium */
.rm-cv-project {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    transition: all 0.25s ease;
}

.rm-cv-project:hover {
    background: #fff;
    border-color: rgba(255, 2, 16, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.rm-cv-project-cover {
    flex-shrink: 0;
    width: 120px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
}

.rm-cv-project-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rm-cv-project-body {
    flex: 1;
    min-width: 0;
}

.rm-cv-project-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.rm-cv-project-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #303030;
    margin: 0;
}

.rm-cv-project-desc {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 0.5rem;
}

.rm-cv-project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ff0210;
    text-decoration: none;
    transition: color 0.2s ease;
}

.rm-cv-project-link:hover {
    color: #d1010b;
    text-decoration: underline;
}

@media (max-width: 576px) {
    .rm-cv-project {
        flex-direction: column;
    }
    .rm-cv-project-cover {
        width: 100%;
        height: 140px;
    }
    .rm-cv-project-title-row {
        flex-wrap: wrap;
    }
}

.rm-cv-item-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .rm-cv-item {
        flex-wrap: wrap;
    }
    .rm-cv-item-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* Style des blocs CV (formations, expériences, etc.) */
.rm-cv-section .candidate-info-text {
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    margin-bottom: 0;
}

.rm-cv-section .candidate-info-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #303030;
    margin-bottom: 0;
}

@media (max-width: 576px) {
    .rm-cv-profile-card {
        padding: 1.5rem 1rem;
    }
    .rm-cv-avatar {
        width: 140px;
        height: 140px;
    }
    .rm-cv-actions {
        justify-content: center;
    }
}

