/**
 * Styles pour la Bourse Aux Missions (BAM)
 * Utilise les couleurs de la charte PMI France
 */


/* ============================================
   ÉCRAN D'ACCUEIL - SANS PROFIL
   ============================================ */

.bam-welcome-section {
    padding-top: 120px;
}

.bam-hero-title {
    color: #4f17a8;
    font-size: 48px;
    margin-top: 20px;
    line-height: 1.2;
}

.bam-hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin-top: 1.5rem;
}

.bam-icon-main {
    font-size: 120px;
    color: #ff610f;
    opacity: 0.9;
}
.btn-action-active {
    background: linear-gradient(135deg, #17a840 0%, #3cc565 100%);
    color: #fff;
}

/* Blocs d'avantages */

.bam-feature-card {
    background: #f8f9fa;
    border-radius: 10px;
    height: 100%;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bam-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.bam-feature-card.orange {
    border-left: 4px solid #ff610f;
}

.bam-feature-card.purple {
    border-left: 4px solid #4f17a8;
}

.bam-feature-card.blue {
    border-left: 4px solid #05bfe0;
}

.bam-feature-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.bam-feature-title {
    font-size: 22px;
    margin-bottom: 1rem;
    color: #4f17a8;
}

.bam-feature-description {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}


/* Section "Comment ça marche" */

.bam-how-it-works-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 3rem;
}

.bam-step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    line-height: 60px;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.bam-step-number.orange {
    background-color: #ff610f;
}

.bam-step-number.purple {
    background-color: #4f17a8;
}

.bam-step-number.blue {
    background-color: #05bfe0;
}

.bam-step-number.red {
    background-color: #dd310b;
}

.bam-step-title {
    color: #4f17a8;
    font-size: 18px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.bam-step-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}


/* Call to Action */

.bam-cta-section {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
}

.bam-cta-title {
    color: #4f17a8;
    font-size: 28px;
    margin-bottom: 2rem;
}

.bam-cta-button {
    font-size: 18px;
    padding: 20px 40px;
    min-width: 300px;
    display: inline-block;
    text-decoration: none;
}

.bam-cta-button:hover {
    text-decoration: none;
}

.bam-security-text {
    margin-top: 1.5rem;
    font-size: 14px;
    color: #6c757d;
}


/* Statistiques */

.bam-stats-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #e0e0e0;
}

.bam-stat-number {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.bam-stat-number.orange {
    color: #ff610f;
}

.bam-stat-number.purple {
    color: #4f17a8;
}

.bam-stat-number.blue {
    color: #05bfe0;
}

.bam-stat-label {
    color: #666;
    font-size: 16px;
}


/* ============================================
   TABLEAU DE BORD - AVEC PROFIL
   ============================================ */

.bam-dashboard-title {
    color: #4f17a8;
}

.bam-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.bam-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.bam-card-title {
    color: #4f17a8;
    margin-bottom: 1.5rem;
    font-size: 22px;
}

.bam-sidebar-actions .btn-primary,
.bam-sidebar-actions .btn-secondary,
.bam-sidebar-actions .btn-third {
    display: block;
    margin-bottom: 1rem;
    text-align: center;
    min-width: auto;
    width: 100%;
}

.bam-activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bam-activity-list li {
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.bam-activity-list li:last-child {
    border-bottom: none;
}

.bam-activity-icon {
    margin-right: 0.5rem;
}


/* Bloc de feedback */

.bam-feedback-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f17a8 0%, #7b3ff2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bam-feedback-icon i {
    font-size: 28px;
    color: white;
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .bam-hero-title {
        font-size: 32px;
    }
    .bam-hero-description {
        font-size: 16px;
    }
    .bam-icon-main {
        font-size: 80px;
    }
    .bam-how-it-works-title {
        font-size: 28px;
    }
    .bam-cta-title {
        font-size: 24px;
    }
    .bam-cta-button {
        font-size: 16px;
        padding: 15px 30px;
        min-width: 250px;
    }
    .bam-stat-number {
        font-size: 32px;
    }
    .bam-step-number {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .bam-hero-title {
        font-size: 28px;
    }
    .bam-feature-card {
        margin-bottom: 1.5rem;
    }
    .bam-cta-button {
        min-width: 100%;
        padding: 15px 20px;
    }
}

.bam-profil-form .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.bam-profil-form .form-control,
.bam-profil-form .form-select {
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    padding: 0.75rem;
    transition: border-color 0.3s ease;
}

.bam-profil-form .form-control:focus,
.bam-profil-form .form-select:focus {
    border-color: #ff610f;
    box-shadow: 0 0 0 0.2rem rgba(255, 97, 15, 0.1);
}

.bam-form-section {
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.bam-form-section:last-of-type {
    border-bottom: none;
}


/* ============================================
   STYLES SELECT2 PERSONNALISÉS PMI FRANCE
   ============================================ */


/* Conteneur principal Select2 */

.select2-container {
    width: 100% !important;
    max-width: 100% !important;
}


/* Zone de sélection multiple */

.select2-container--default .select2-selection--multiple {
    border: 2px solid #e0e0e0 !important;
    border-radius: 5px !important;
    padding: 0.75rem !important;
    min-height: 60px !important;
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    box-sizing: border-box !important;
}


/* Placeholder dans le conteneur vide */

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}


/* Placeholder */

.select2-container--default .select2-selection--multiple .select2-selection__placeholder {
    color: #999 !important;
    font-size: 16px !important;
    padding: 5px 0 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}


/* Zone de sélection au focus */

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #ff610f !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 97, 15, 0.1) !important;
    outline: none !important;
}


/* Champ de recherche dans la sélection */

.select2-container--default .select2-selection--multiple .select2-search--inline {
    flex: 1 1 auto !important;
    min-width: 200px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.select2-container--default .select2-selection--multiple .select2-search--inline .select2-search__field {
    border: none !important;
    outline: none !important;
    padding: 5px 10px !important;
    margin: 0 !important;
    width: 100% !important;
    min-width: 200px !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
    height: auto !important;
}

.select2-container--default .select2-selection--multiple .select2-search--inline .select2-search__field:focus {
    border: none !important;
    box-shadow: none !important;
}


/* Tags sélectionnés (choix) */

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #ff610f !important;
    border: none !important;
    color: white !important;
    padding: 8px 12px !important;
    border-radius: 5px !important;
    margin: 3px 5px 3px 0 !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
}


/* Bouton de suppression dans les tags */

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: white !important;
    margin-right: 8px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: white !important;
    background-color: rgba(79, 23, 168, 0.8) !important;
    border-radius: 3px !important;
    padding: 2px !important;
}


/* Dropdown (liste déroulante) */

.select2-dropdown {
    border: 2px solid #ff610f !important;
    border-radius: 5px !important;
    margin-top: 5px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15) !important;
}


/* Champ de recherche dans le dropdown */

.select2-search--dropdown {
    padding: 10px !important;
}

.select2-search--dropdown .select2-search__field {
    border: 2px solid #e0e0e0 !important;
    border-radius: 5px !important;
    padding: 10px 15px !important;
    width: 100% !important;
    font-size: 16px !important;
    outline: none !important;
}

.select2-search--dropdown .select2-search__field:focus {
    border-color: #ff610f !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 97, 15, 0.1) !important;
}


/* Liste des résultats */

.select2-results {
    max-height: 300px !important;
    overflow-y: auto !important;
}

.select2-results__options {
    padding: 5px !important;
}

.select2-results__option {
    padding: 12px 15px !important;
    font-size: 15px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}


/* Option survolée */

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #ff610f !important;
    color: white !important;
}


/* Option sélectionnée */

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #4f17a8 !important;
    color: white !important;
}

.select2-container--default .select2-results__option[aria-selected=true]:hover {
    background-color: #4f17a8 !important;
    opacity: 0.9 !important;
}


/* Message "Aucun résultat" */

.select2-results__message {
    padding: 15px !important;
    color: #666 !important;
    font-style: italic !important;
}


/* Responsive */

@media (max-width: 768px) {
    .select2-container--default .select2-selection--multiple .select2-search--inline {
        min-width: 150px !important;
    }
    .select2-container--default .select2-selection--multiple .select2-search--inline .select2-search__field {
        min-width: 150px !important;
    }
}

.form-check-input:checked {
    background-color: #ff610f;
    border-color: #ff610f;
}

.alert-info {
    background-color: #e7f3ff;
    border-color: #05bfe0;
    color: #0080a8;
}

.bam-photo-preview img {
    border: 3px solid #ff610f;
}

.bam-cv-preview {
    border-left: 4px solid #4f17a8 !important;
}

@media (max-width: 768px) {
    .bam-profil-form .d-flex {
        flex-direction: column;
        gap: 1rem;
    }
    .bam-profil-form .btn-primary,
    .bam-profil-form .btn-secondary {
        width: 100%;
        text-align: center;
    }
}


/* ============================================
   APERÇU DU PROFIL DANS LE TABLEAU DE BORD
   ============================================ */

.bam-profil-preview {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

.bam-preview-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ff610f;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bam-preview-photo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border: 3px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #999;
}

.bam-profil-preview h4 {
    color: #4f17a8;
    font-weight: 700;
    font-size: 1.25rem;
}

.bam-profil-preview .text-muted {
    font-size: 1.2rem;
    font-weight: 700;
}

.bam-profil-preview .text-muted i {
    color: #ff610f;
}


/* Animations Sal */

[data-sal] {
    transition-duration: 0.6s;
}


/* Header du profil */

.bam-profil-header {
    background: #fff;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.bam-profil-banner {
    height: 160px;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.bam-profil-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border-radius: 11px;
    bottom: 0;
    background-image: url('/img/bg-icons.png');
    background-size: cover;
    background-color: linear-gradient(to right, #ff610f1f 0%, #2b008c2b 100%);
}

.bam-profil-banner-overlay {
    display: none;
}

.bam-profil-main-info {
    display: flex;
    gap: 2rem;
    padding: 0 1rem 2rem;
    position: relative;
    margin-top: -70px;
}

.bam-profil-photo-container {
    flex-shrink: 0;
}

.bam-profil-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    background: #fff;
}

.bam-profil-photo-placeholder {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: #e9ecef;
    border: 5px solid #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: #adb5bd;
}

.bam-profil-identity {
    flex-grow: 1;
    padding-top: 22px;
}

.bam-profil-name {
    font-size: 1.875rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.bam-profil-location {
    color: #666;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.bam-profil-location i {
    color: #ff610f;
    margin-right: 0.5rem;
}

.bam-profil-status {
    margin-bottom: 1.5rem;
}

.bam-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.bam-status-badge.status-available {
    background: #d4edda;
    color: #155724;
}

.bam-status-badge.status-available i {
    color: #28a745;
}

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

.bam-status-badge.status-listening i {
    color: #ffc107;
}

.bam-status-badge.status-unavailable {
    background: #f8d7da;
    color: #721c24;
}

.bam-status-badge.status-unavailable i {
    color: #dc3545;
}

.bam-status-badge.status-invisible {
    background: #e2e3e5;
    color: #383d41;
}

.bam-status-badge.status-invisible i {
    color: #6c757d;
}

.bam-profil-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.bam-btn-primary {
    background: #ff610f;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.bam-btn-primary:hover {
    background: #e55509;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 97, 15, 0.3);
}

.bam-btn-outline {
    background: transparent;
    color: #4f17a8;
    border: 2px solid #4f17a8;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.bam-btn-outline:hover {
    background: #4f17a8;
    color: #fff;
    transform: translateY(-2px);
}


/* Contenu du profil */

.bam-profil-content {
    padding: 2rem 0 4rem;
}

.bam-profil-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    overflow: hidden;
}

.bam-profil-card-header {
    padding: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.bam-profil-card-header h2,
.bam-profil-card-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #4f17a8;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bam-profil-card-header i {
    color: #ff610f;
}

.bam-profil-card-body {
    padding: 1.5rem;
}

.bam-profil-bio {
    color: #333;
    /* font-size: 1rem; */
    line-height: 1.7;
    margin: 0;
}


/* Domaines d'expertise */

.bam-domaines-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.bam-domaine-tag {
    background: #f8f9fa;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    color: #4f17a8;
    border: 1px solid #dee2e6;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.bam-domaine-tag:hover {
    background: #4f17a8;
    color: #fff;
    border-color: #4f17a8;
    border-color: #4f17a8;
    transform: translateY(-2px);
}

.bam-domaine-tag i {
    color: #05bfe0;
}

.bam-domaine-tag:hover i {
    color: #fff;
}


/* Sidebar */

.bam-profil-sidebar-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    overflow: hidden;
}


/* Liens sociaux */

.bam-social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bam-social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    background: #f8f9fa;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.bam-social-link:hover {
    color: #333;
    transform: translateX(5px);
}

.bam-social-link.linkedin:hover {
    background: #0077b5;
    color: #fff;
    border-color: #0077b5;
}

.bam-social-link.portfolio:hover {
    background: #ff610f;
    color: #fff;
    border-color: #ff610f;
}

.bam-social-link.website:hover {
    background: #4f17a8;
    color: #fff;
    border-color: #4f17a8;
}

.bam-social-link i:first-child {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.bam-social-link span {
    flex-grow: 1;
    font-weight: 600;
}

.bam-social-link i:last-child {
    font-size: 0.8rem;
    opacity: 0.6;
}


/* Stats */

.bam-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.bam-stat-item {
    text-align: center;
}

.bam-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff610f;
    margin-bottom: 0.25rem;
}

.bam-stat-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
}

.bam-badges-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bam-badge-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-weight: 600;
    color: #333;
    /* font-size: 0.9rem; */
}

.bam-badge-item i {
    /* font-size: 1.2rem; */
}


/* CTA Card */

.bam-cta-card {
    background: #4f17a8;
    color: #fff;
}

.bam-cta-card .bam-profil-card-body {
    padding: 2rem 1.5rem;
}

.bam-cta-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #05bfe0;
}

.bam-cta-card h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.bam-cta-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}


/* Modal */

.modal-header {
    background: #4f17a8;
    color: #fff;
    border-bottom: none;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-title i {
    color: #05bfe0;
}


/* Responsive */

@media (max-width: 991px) {
    .bam-profil-main-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: -60px;
    }
    .bam-profil-photo,
    .bam-profil-photo-placeholder {
        width: 140px;
        height: 140px;
    }
    .bam-profil-identity {
        padding-top: 0;
    }
    .bam-profil-actions {
        justify-content: center;
    }
    .bam-stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .bam-profil-banner {
        height: 150px;
    }
    .bam-profil-photo,
    .bam-profil-photo-placeholder {
        width: 120px;
        height: 120px;
    }
    .bam-profil-name {
        font-size: 1.5rem;
    }
    .bam-profil-actions {
        flex-direction: column;
        width: 100%;
    }
    .bam-profil-actions .btn {
        width: 100%;
        justify-content: center;
    }
}


/* Section favoris */

.bam-favoris-section {
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
}

.bam-favoris-count {
    font-size: 1.2rem;
    color: #495057;
    background: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.bam-favoris-count i {
    color: #4f17a8;
}


/* Card favori */

.bam-favori-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.bam-favori-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}


/* Header favori */

.bam-favori-header {
    padding: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.bam-favori-logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #f0f0f0;
}

.bam-favori-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.bam-favori-logo-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #999;
    flex-shrink: 0;
}

.bam-favori-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.bam-favori-company {
    color: #666;
    font-size: 1rem;
    font-weight: 600;
}

.bam-favori-company i {
    color: #ff610f;
    margin-right: 0.5rem;
}


/* Body favori */

.bam-favori-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bam-favori-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.bam-favori-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.95rem;
}

.bam-favori-meta-item i {
    color: #4f17a8;
}

.bam-favori-description {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

.bam-favori-domaines {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bam-favori-domaine-tag {
    background: #f0f0f0;
    color: #4f17a8;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.bam-favori-domaine-tag.more {
    background: #4f17a8;
    color: #fff;
}


/* Footer favori */

.bam-favori-footer {
    padding: 1.5rem;
    border-top: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.bam-favori-date {
    color: #999;
    font-size: 0.9rem;
}

.bam-favori-date i {
    color: #4f17a8;
}


/* État vide */

.bam-empty-state {
    text-align: center;
    padding: 80px 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.bam-empty-state i {
    font-size: 80px;
    color: #dee2e6;
    margin-bottom: 30px;
    display: block;
}

.bam-empty-state h3 {
    color: #1d1d1d;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
}

.bam-empty-state p {
    color: #6c757d;
    font-size: 16px;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 30px;
}


/* Header détail mission */

.bam-mission-detail-header {
    background: #f8f9fa;
    padding-bottom: 2rem;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: #ff610f;
}

.breadcrumb-item.active {
    color: #999;
}

.bam-mission-detail-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.bam-mission-detail-logo-container {
    flex-shrink: 0;
}

.bam-mission-detail-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 12px;
    border: 2px solid #f0f0f0;
    padding: 0.5rem;
    background: #fff;
}

.bam-mission-detail-logo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #adb5bd;
}

.bam-mission-detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.bam-mission-detail-company {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
}

.bam-mission-detail-company i {
    color: #ff610f;
    margin-right: 0.5rem;
}

.bam-mission-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.bam-mission-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #555;
    font-size: 1.2rem;
}

.bam-mission-detail-meta-item i {
    color: #4f17a8;
}

.bam-mission-detail-domaines {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.bam-mission-detail-domaine-tag {
    background: #f0f0f0;
    color: #4f17a8;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}


/* Contenu */

.bam-mission-detail-content {
    padding: 2rem 0 4rem;
}

.bam-detail-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    overflow: hidden;
}

.bam-detail-card-header {
    padding: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.bam-detail-card-header h2,
.bam-detail-card-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #4f17a8;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bam-detail-card-header i {
    color: #ff610f;
}

.bam-detail-card-body {
    padding: 1.5rem;
}

.bam-mission-description-full {
    color: #333;
    /* font-size: 1rem; */
    line-height: 1.8;
}

.bam-mission-competences {
    color: #333;
    /* font-size: 1rem; */
    line-height: 1.8;
}

.bam-company-logo-small {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid #f0f0f0;
    padding: 0.25rem;
}

.bam-company-website {
    color: #4f17a8;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    font-size: 1.3rem;
}

.bam-company-website:hover {
    color: #ff610f;
}

.bam-contact-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
}

.bam-contact-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ff610f;
}

.bam-contact-photo-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.bam-contact-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.bam-contact-detail i {
    color: #4f17a8;
    width: 16px;
}

.bam-contact-detail a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.bam-contact-detail a:hover {
    color: #ff610f;
}


/* Sidebar */

.bam-detail-sidebar-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.bam-sticky-sidebar {
    position: sticky;
    top: 20px;
}

.bam-btn-success {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: not-allowed;
    opacity: 0.8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.bam-mission-stats {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.bam-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 1.2rem;
}

.bam-stat-item i {
    font-size: 1.5rem;
    color: #ff610f;
}

.bam-info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bam-info-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.bam-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bam-info-label {
    color: #999;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bam-info-label i {
    color: #4f17a8;
}

.bam-info-value {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
}


/* Modal */

.modal-header {
    background: #4f17a8;
    color: #fff;
    border-bottom: none;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-title i {
    color: #05bfe0;
}


/* Responsive */

@media (max-width: 991px) {
    .bam-mission-detail-card {
        padding: 1.5rem;
    }
    .bam-mission-detail-title {
        font-size: 1.5rem;
    }
    .bam-mission-detail-logo,
    .bam-mission-detail-logo-placeholder {
        width: 80px;
        height: 80px;
    }
    .bam-sticky-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .bam-mission-detail-card>div {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .bam-mission-detail-meta {
        justify-content: center;
    }
    .bam-mission-detail-domaines {
        justify-content: center;
    }
}


/* Bouton outline orange pour favori */

.bam-btn-outline-orange {
    background: #fff;
    color: #ff610f;
    border: 2px solid #ff610f;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.bam-btn-outline-orange:hover {
    background: #ff610f;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 97, 15, 0.3);
}

.bam-form-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.bam-form-card {
    background: #fff;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.bam-form-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 2rem 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #ff610f;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bam-form-section-title:first-child {
    margin-top: 0;
}

.bam-form-section-title i {
    color: #ff610f;
}

.form-control {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #4f17a8;
    box-shadow: 0 0 0 0.2rem rgba(79, 23, 168, 0.15);
}

.bam-form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.bam-current-logo {
    max-width: 200px;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.bam-current-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.bam-current-photo {
    max-width: 150px;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.bam-current-photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 50%;
}

.bam-back-link {
    color: #666;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.bam-back-link:hover {
    color: #4f17a8;
}

@media (max-width: 768px) {
    .bam-form-card {
        padding: 1.5rem;
    }
    .bam-form-actions {
        flex-direction: column;
    }
    .bam-form-actions .btn {
        width: 100%;
    }
}


/* Stats cards */

.bam-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.bam-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: currentColor;
}

.bam-stat-card.orange {
    color: #ff610f;
}

.bam-stat-card.purple {
    color: #4f17a8;
}

.bam-stat-card.blue {
    color: #0066cc;
}

.bam-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.bam-stat-icon {
    font-size: 2.5rem;
    opacity: 0.8;
}

.bam-stat-content {
    flex-grow: 1;
}

.bam-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.bam-stat-label {
    margin: 0.5rem 0 0;
    color: #666;
    font-size: 0.95rem;
}

.bam-stat-link {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid currentColor;
    border-radius: 6px;
    transition: all 0.3s;
}

.bam-stat-link:hover {
    /* background: currentColor; */
    /* color: #fff; */
}


/* Preview entreprise */

.bam-recruteur-preview {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.bam-preview-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 0.5rem;
    border: 2px solid #e0e0e0;
}

.bam-preview-logo-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #999;
}


/* Contact info */

.bam-contact-info {
    padding: 1rem;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.bam-contact-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e0e0e0;
    margin-bottom: 0.75rem;
}

.bam-contact-info p {
    color: #666;
    font-size: 0.95rem;
}

.bam-contact-info i {
    color: #4f17a8;
    width: 20px;
}


/* Tips list */

.bam-tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bam-tips-list li {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.9rem;
    line-height: 1.5;
}

.bam-tips-list li i {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.bam-tips-list li:last-child {
    margin-bottom: 0;
}


/* Section profils */

.bam-profils-section {
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
}

.bam-filters-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.bam-profils-count {
    font-size: 1.2rem;
    color: #495057;
    background: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
}

.bam-profils-count i {
    color: #4f17a8;
}


/* Card profil pleine largeur */

.bam-profil-card-full {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    padding: 2rem;
}

.bam-profil-card-full:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.bam-profil-photo-wrapper {
    flex-shrink: 0;
}

.bam-profil-photo-full {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid #f0f0f0;
    flex-shrink: 0;
}

.bam-profil-photo-placeholder-full {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f17a8 0%, #7b3cc5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
    flex-shrink: 0;
}

.bam-profil-full-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.bam-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.bam-status-badge i {
    font-size: 0.6rem;
}

.bam-status-badge.status-available {
    background: #d4edda;
    color: #155724;
}

.bam-status-badge.status-listening {
    background: #d1ecf1;
    color: #0c5460;
}

.bam-status-badge.status-unavailable {
    background: #f8d7da;
    color: #721c24;
}

.bam-status-badge.status-invisible {
    background: #e2e3e5;
    color: #383d41;
}

.bam-profil-meta {
    color: #6c757d;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.bam-profil-meta i {
    color: #4f17a8;
}

.bam-profil-bio-full {
    color: #495057;
    line-height: 1.7;
    font-size: 1.2rem;
}

.bam-profil-domaines-full {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bam-domaine-tag {
    background: #f0f0f0;
    color: #4f17a8;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 1.3rem;
    font-weight: 600;
}

.bam-domaine-tag.more {
    background: #4f17a8;
    color: #fff;
}


/* Responsive pleine largeur */

@media (max-width: 992px) {
    .bam-profil-card-full {
        padding: 1.5rem;
    }
    .bam-profil-photo-full,
    .bam-profil-photo-placeholder-full {
        width: 90px;
        height: 90px;
    }
    .bam-profil-photo-placeholder-full {
        font-size: 2.5rem;
    }
    .bam-profil-full-name {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .bam-profil-card-full>div {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .bam-profil-card-full>div>div:last-child>div:first-child {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .bam-profil-domaines-full {
        justify-content: center;
    }
}


/* État vide */

.bam-empty-state {
    text-align: center;
    padding: 80px 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.bam-empty-state i {
    font-size: 80px;
    color: #dee2e6;
    margin-bottom: 30px;
    display: block;
}

.bam-empty-state h3 {
    color: #1d1d1d;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
}

.bam-empty-state p {
    color: #6c757d;
    font-size: 16px;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 30px;
}


/* Select2 customization */

.select2-container--default .select2-selection--single {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    height: 41px;
}


/* Dropdown checkbox custom */

.dropdown-checkbox-wrapper {
    position: relative;
    width: 100%;
}

.dropdown-checkbox-toggle {
    width: 100%;
    text-align: left;
    background: white;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.dropdown-checkbox-toggle:hover {
    border-color: #4f17a8;
}

.dropdown-checkbox-toggle.active {
    border-color: #4f17a8;
}

.dropdown-checkbox-toggle .selected-text {
    flex-grow: 1;
    color: #495057;
}

.dropdown-checkbox-toggle i {
    transition: transform 0.3s;
}

.dropdown-checkbox-toggle.active i {
    transform: rotate(180deg);
}

.dropdown-checkbox-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #4f17a8;
    border-radius: 8px;
    margin-top: 0.5rem;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
}

.dropdown-checkbox-menu.show {
    display: block;
}

.dropdown-checkbox-search {
    padding: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}

.dropdown-checkbox-list {
    padding: 0.5rem 0;
}

.dropdown-checkbox-item {
    padding: 0.5rem 1rem;
    transition: background 0.2s;
}

.dropdown-checkbox-item:hover {
    background: #f8f9fa;
}

.mw-100 {
    max-width: 100% !important;
}

.mw-unset {
    min-width: unset !important;
}

.dropdown-checkbox-item label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    cursor: pointer;
    width: 100%;
    user-select: none;
}

.dropdown-checkbox-item input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    opacity: 1 !important;
    position: static !important;
    display: block !important;
    accent-color: #4f17a8;
}

.dropdown-checkbox-item .checkbox-label-all {
    font-weight: 600;
    color: #ff610f;
}

.dropdown-checkbox-item span {
    font-size: 14px;
    color: #495057;
    user-select: none;
}

.bam-auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    padding-top: 150px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.bam-auth-card {
    background: #fff;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.bam-auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.bam-auth-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #4f17a8 0%, #7b3cc5 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    box-shadow: 0 4px 16px rgba(79, 23, 168, 0.3);
}

.bam-auth-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.bam-auth-header p {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
}

.form-control {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    transition: all 0.3s;
    font-size: 1rem;
}

.form-control:focus {
    border-color: #4f17a8;
    box-shadow: 0 0 0 0.2rem rgba(79, 23, 168, 0.15);
}

.form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid #e0e0e0;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #4f17a8;
    border-color: #4f17a8;
}

.form-check-label {
    cursor: pointer;
    user-select: none;
    margin-left: 0.5rem;
}

.bam-auth-link {
    color: #4f17a8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.bam-auth-link:hover {
    color: #7b3cc5;
    text-decoration: underline;
}

.bam-auth-divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.bam-auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.bam-auth-divider span {
    position: relative;
    background: #fff;
    padding: 0 1rem;
    color: #999;
    font-size: 0.9rem;
}

.bam-auth-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.bam-back-link {
    color: #666;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.bam-back-link:hover {
    color: #4f17a8;
}

@media (max-width: 768px) {
    .bam-auth-card {
        padding: 2rem 1.5rem;
    }
    .bam-auth-header h1 {
        font-size: 1.75rem;
    }
    .bam-auth-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
}

.bam-auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    padding-top: 150px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.bam-auth-card {
    background: #fff;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.bam-auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.bam-auth-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #4f17a8 0%, #7b3cc5 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    box-shadow: 0 4px 16px rgba(79, 23, 168, 0.3);
}

.bam-auth-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.bam-auth-header p {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
}

.form-control {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    transition: all 0.3s;
    font-size: 1rem;
}

.form-control:focus {
    border-color: #4f17a8;
    box-shadow: 0 0 0 0.2rem rgba(79, 23, 168, 0.15);
}

.bam-auth-link {
    color: #4f17a8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.bam-auth-link:hover {
    color: #7b3cc5;
    text-decoration: underline;
}

.bam-auth-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.bam-back-link {
    color: #666;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.bam-back-link:hover {
    color: #4f17a8;
}

.alert {
    border-radius: 8px;
}

@media (max-width: 768px) {
    .bam-auth-card {
        padding: 2rem 1.5rem;
    }
    .bam-auth-header h1 {
        font-size: 1.75rem;
    }
    .bam-auth-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
}

.select2-container--default .select2-selection--single {
    height: 41px !important;
    padding: 0.375rem 0.75rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 41px !important;
    padding-left: 0;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 39px !important;
}

.select2-container--default .select2-selection--multiple {
    min-height: 41px !important;
    padding: 0.1rem 0.75rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin-top: 0.25rem;
}

.bam-candidatures-section {
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
}

.bam-candidatures-count {
    font-size: 1.2rem;
    color: #495057;
    background: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.bam-candidatures-count i {
    color: #ff610f;
}


/* Card candidature */

.bam-candidature-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    transition: all 0.3s;
}

.bam-candidature-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.bam-candidature-logo {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #f0f0f0;
}

.bam-candidature-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.bam-candidature-logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #999;
    flex-shrink: 0;
}

.bam-candidature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.bam-candidature-company {
    color: #666;
    font-size: 1.1rem;
    font-weight: 600;
}

.bam-candidature-company i {
    color: #ff610f;
}

.bam-candidature-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.bam-candidature-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.95rem;
}

.bam-candidature-meta-item i {
    color: #4f17a8;
}

.bam-candidature-domaines {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bam-candidature-domaine-tag {
    background: #f0f0f0;
    color: #4f17a8;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.bam-candidature-domaine-tag.more {
    background: #4f17a8;
    color: #fff;
}

.bam-candidature-actions {
    text-align: right;
}

.bam-candidature-date {
    color: #999;
    font-size: 0.95rem;
}

.bam-candidature-date i {
    color: #4f17a8;
}

.bam-candidature-comment {
    padding: 1rem;
    background: #f8f9fa;
    border-left: 4px solid #ff610f;
    border-radius: 4px;
}

.bam-candidature-comment strong {
    color: #ff610f;
}

.bam-candidature-comment p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}


/* État vide */

.bam-empty-state {
    text-align: center;
    padding: 80px 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.bam-empty-state i {
    font-size: 80px;
    color: #dee2e6;
    margin-bottom: 30px;
    display: block;
}

.bam-empty-state h3 {
    color: #1d1d1d;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
}

.bam-empty-state p {
    color: #6c757d;
    font-size: 16px;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 30px;
}

.bam-candidature-etat {
    background: #f0f7ff;
    padding: 0.75rem;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
}

.bam-candidature-etat .badge {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
}


/* Responsive */

@media (max-width: 991px) {
    .bam-candidature-actions {
        text-align: left;
        margin-top: 1.5rem;
    }
    .bam-candidature-actions .btn {
        width: 100%;
    }
}


/* Ajuster la hauteur du Select2 pour correspondre aux autres inputs */

.select2-container--default .select2-selection--single {
    height: 41px !important;
    padding: 0.375rem 0.75rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 41px !important;
    padding-left: 0;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 39px !important;
}

.select2-container--default .select2-selection--multiple {
    min-height: 41px !important;
    padding: 0.1rem 0.75rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin-top: 0.25rem;
}


/* Dropdown checkbox personnalisé */

.dropdown-checkbox-wrapper {
    position: relative;
}

.dropdown-checkbox-toggle {
    width: 100%;
    height: 41px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.375rem 0.75rem;
    text-align: left;
    color: #495057;
    transition: all 0.2s;
}

.dropdown-checkbox-toggle:hover {
    border-color: #ff610f;
    box-shadow: 0 0 0 0.2rem rgba(255, 97, 15, 0.1);
}

.dropdown-checkbox-toggle .selected-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-checkbox-toggle i {
    color: #6c757d;
    transition: transform 0.2s;
}

.dropdown-checkbox-toggle.active i {
    transform: rotate(180deg);
}

.dropdown-checkbox-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 4px;
    z-index: 1000;
    display: none;
}

.dropdown-checkbox-menu.show {
    display: block;
}

.dropdown-checkbox-search {
    padding: 10px;
    border-bottom: 1px solid #e9ecef;
}

.dropdown-checkbox-search input {
    border-radius: 4px;
}

.dropdown-checkbox-list {
    max-height: 250px;
    overflow-y: auto;
    padding: 5px 0;
}

.dropdown-checkbox-item {
    padding: 0;
}

.dropdown-checkbox-item label {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    margin: 0;
    cursor: pointer;
    transition: background-color 0.15s;
}

.dropdown-checkbox-item label:hover {
    background-color: #fef8f5;
}

.dropdown-checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    margin-right: 10px;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 1 !important;
    position: static !important;
    pointer-events: auto !important;
    display: inline-block !important;
}

.dropdown-checkbox-item .checkbox-label-all {
    font-weight: 600;
    color: #ff610f;
}

.dropdown-checkbox-item span {
    font-size: 14px;
    color: #495057;
    user-select: none;
}

.bam-company-description {
    line-height: 1.6;
}

.bam-company-description p {
    color: #555;
}

.bam-see-more-link {
    color: #f47920;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bam-see-more-link:hover {
    color: #d66a1a;
    text-decoration: none;
}

.bam-see-more-link i {
    transition: transform 0.3s ease;
}


/* Section missions */

.bam-missions-section {
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
}


/* Filtres */

.bam-filters-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.bam-filters-card .form-control {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.bam-filters-card .form-control:focus {
    border-color: #ff610f;
    box-shadow: 0 0 0 0.2rem rgba(255, 97, 15, 0.1);
}


/* Card mission */

.bam-mission-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.bam-mission-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}


/* Header mission */

.bam-mission-header {
    padding: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.bam-mission-logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #f0f0f0;
}

.bam-mission-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.bam-mission-logo-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #999;
    flex-shrink: 0;
}

.bam-mission-title {
    /* font-size: 1.25rem; */
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.bam-mission-company {
    color: #666;
    font-size: 1.2rem;
    font-weight: 600;
}

.bam-mission-company i {
    color: #ff610f;
    margin-right: 0.5rem;
}


/* Body mission */

.bam-mission-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bam-mission-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.bam-mission-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 1.2rem;
}

.bam-mission-meta-item i {
    color: #4f17a8;
    font-size: 1.2rem;
}

.bam-mission-description {
    color: #555;
    font-size: 1.2rem;
    line-height: 1.6;
}

.bam-mission-domaines {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bam-mission-domaine-tag {
    background: #f0f0f0;
    color: #4f17a8;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
}

.bam-mission-domaine-tag.more {
    background: #4f17a8;
    color: #fff;
}


/* Footer mission */

.bam-mission-footer {
    padding: 1.5rem;
    border-top: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.bam-mission-date {
    color: #999;
    font-size: 1.2rem;
}

.bam-mission-date i {
    margin-right: 0.5rem;
}

.bam-mission-footer .bam-btn-primary {
    white-space: nowrap;
    font-size: 1.8rem;
}


/* État vide */

.bam-empty-state {
    text-align: center;
    padding: 80px 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.bam-empty-state i {
    font-size: 80px;
    color: #dee2e6;
    margin-bottom: 30px;
    display: block;
}

.bam-empty-state h3 {
    color: #1d1d1d;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
}

.bam-empty-state p {
    color: #6c757d;
    font-size: 16px;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 30px;
}


/* Pagination */

.pagination .page-link {
    color: #4f17a8;
    border-color: #dee2e6;
    padding: 0.75rem 1rem;
    font-weight: 600;
}

.pagination .page-link:hover {
    background: #f8f9fa;
    border-color: #4f17a8;
}

.pagination .page-item.active .page-link {
    background: #ff610f;
    border-color: #ff610f;
}

.bam-auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.bam-auth-card {
    background: #fff;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.bam-auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.bam-auth-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #ff610f 0%, #ff8040 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 97, 15, 0.3);
}

.bam-auth-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.bam-auth-header p {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
}

.form-control {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    transition: all 0.3s;
    font-size: 1rem;
}

.form-control:focus {
    border-color: #4f17a8;
    box-shadow: 0 0 0 0.2rem rgba(79, 23, 168, 0.15);
}

.bam-auth-divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.bam-auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.bam-auth-divider span {
    position: relative;
    background: #fff;
    padding: 0 1rem;
    color: #999;
    font-size: 0.9rem;
}

.bam-auth-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.bam-back-link {
    color: #666;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.bam-back-link:hover {
    color: #4f17a8;
}

@media (max-width: 768px) {
    .bam-auth-card {
        padding: 2rem 1.5rem;
    }
    .bam-auth-header h1 {
        font-size: 1.75rem;
    }
    .bam-auth-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
}


/* Responsive */

@media (max-width: 768px) {
    .bam-mission-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .bam-mission-footer .bam-btn-primary {
        width: 100%;
        justify-content: center;
    }
    .bam-filters-card .d-flex {
        flex-direction: column;
    }
    .bam-filters-card .btn {
        width: 100%;
    }
}

.bam-missions-section {
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
}

.bam-missions-count {
    font-size: 1.2rem;
    color: #495057;
    background: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.bam-missions-count i {
    color: #4f17a8;
}


/* Table des missions */

.bam-missions-table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.bam-missions-table thead {
    background: linear-gradient(135deg, #4f17a8 0%, #7b3cc5 100%);
    color: #fff;
}

.bam-missions-table thead th {
    border: none;
    padding: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bam-missions-table tbody tr {
    transition: all 0.3s;
}

.bam-missions-table tbody tr:hover {
    background: #f8f9fa;
}

.bam-missions-table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #e0e0e0;
}

.bam-mission-title-cell h5 {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
}

.bam-mission-title-cell small {
    display: block;
}


/* État vide */

.bam-empty-state {
    text-align: center;
    padding: 80px 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.bam-empty-state i {
    font-size: 80px;
    color: #dee2e6;
    margin-bottom: 30px;
    display: block;
}

.bam-empty-state h3 {
    color: #1d1d1d;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
}

.bam-empty-state p {
    color: #6c757d;
    font-size: 16px;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 30px;
}


/* Boutons d'action */

.bam-actions-cell {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.btn-action {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
    text-decoration: none;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-action-view {
    background: linear-gradient(135deg, #4f17a8 0%, #7b3cc5 100%);
    color: #fff;
}

.btn-action-view:hover {
    background: linear-gradient(135deg, #3d1280 0%, #6429a3 100%);
    color: #fff;
}

.btn-action-edit {
    background: linear-gradient(135deg, #ff610f 0%, #ff8040 100%);
    color: #fff;
}

.btn-action-edit:hover {
    background: linear-gradient(135deg, #e5570d 0%, #ff7030 100%);
    color: #fff;
}

.btn-action-delete {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
}

.btn-action-delete:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    color: #fff;
}


/* Responsive */

@media (max-width: 768px) {
    .bam-missions-table {
        font-size: 0.85rem;
    }
    .bam-missions-table thead th,
    .bam-missions-table tbody td {
        padding: 0.75rem 0.5rem;
    }
    .btn-action {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
}

.bam-form-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.bam-form-card {
    background: #fff;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.bam-form-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 2rem 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #ff610f;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bam-form-section-title:first-child {
    margin-top: 0;
}

.bam-form-section-title i {
    color: #ff610f;
}

.form-control,
.form-select {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    transition: all 0.3s;
}

.form-control:focus,
.form-select:focus {
    border-color: #4f17a8;
    box-shadow: 0 0 0 0.2rem rgba(79, 23, 168, 0.15);
}

.bam-form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.bam-back-link {
    color: #666;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.bam-back-link:hover {
    color: #4f17a8;
}


/* Select2 customization */

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    min-height: 41px;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #4f17a8;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 37px;
    padding-left: 1rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding: 0.375rem 0.75rem;
}

@media (max-width: 768px) {
    .bam-form-card {
        padding: 1.5rem;
    }
    .bam-form-actions {
        flex-direction: column;
    }
    .bam-form-actions .btn {
        width: 100%;
    }
}


/* Section favoris */

.bam-favoris-section {
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
}

.bam-favoris-count {
    font-size: 1.2rem;
    color: #495057;
    background: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.bam-favoris-count i {
    color: #4f17a8;
}


/* Card favori */

.bam-favori-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.bam-favori-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}


/* Header favori */

.bam-favori-header {
    padding: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.bam-favori-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f0f0;
    flex-shrink: 0;
}

.bam-favori-photo-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f17a8 0%, #7b3cc5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    flex-shrink: 0;
}

.bam-favori-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.bam-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.bam-status-badge i {
    font-size: 0.6rem;
}

.bam-status-badge.status-available {
    background: #d4edda;
    color: #155724;
}

.bam-status-badge.status-listening {
    background: #d1ecf1;
    color: #0c5460;
}

.bam-status-badge.status-unavailable {
    background: #f8d7da;
    color: #721c24;
}

.bam-status-badge.status-invisible {
    background: #e2e3e5;
    color: #383d41;
}


/* Body favori */

.bam-favori-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bam-favori-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.bam-favori-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.95rem;
}

.bam-favori-meta-item i {
    color: #4f17a8;
}

.bam-favori-description {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

.bam-favori-domaines {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bam-favori-domaine-tag {
    background: #f0f0f0;
    color: #4f17a8;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.bam-favori-domaine-tag.more {
    background: #4f17a8;
    color: #fff;
}


/* Footer favori */

.bam-favori-footer {
    padding: 1.5rem;
    border-top: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.bam-favori-date {
    color: #999;
    font-size: 0.9rem;
}

.bam-favori-date i {
    color: #4f17a8;
}


/* État vide */

.bam-empty-state {
    text-align: center;
    padding: 80px 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.bam-empty-state i {
    font-size: 80px;
    color: #dee2e6;
    margin-bottom: 30px;
    display: block;
}

.bam-empty-state h3 {
    color: #1d1d1d;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
}

.bam-empty-state p {
    color: #6c757d;
    font-size: 16px;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 30px;
}


/* Section candidatures */

.bam-candidatures-section {
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
}

.bam-candidatures-count {
    font-size: 1.2rem;
    color: #495057;
    background: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.bam-candidatures-count i {
    color: #4f17a8;
}


/* Card candidature */

.bam-candidature-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.bam-candidature-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}


/* Informations candidat */

.bam-candidat-info {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.bam-candidat-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.bam-candidat-photo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f17a8 0%, #7b3cc5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
    margin: 0 auto 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bam-candidat-details h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.bam-candidat-details p {
    /* font-size: 0.95rem; */
    color: #666;
    word-break: break-all;
}

.bam-candidat-details a {
    color: inherit;
    text-decoration: none;
}

.bam-candidat-details a:hover {
    text-decoration: underline;
}


/* Détails candidature */

.bam-candidature-details {
    padding-left: 2rem;
}

.bam-mission-header {
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.bam-mission-header h5 {
    font-size: 1.2rem;
    color: #2c3e50;
}

.bam-mission-header h5 a {
    color: #4f17a8;
    text-decoration: none;
}

.bam-mission-header h5 a:hover {
    text-decoration: underline;
}

.bam-candidature-message {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #ff610f;
}

.bam-candidature-message h6 {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.message-content {
    line-height: 1.6;
    color: #555;
}

.bam-competences-preview {
    padding: 1rem;
    background: #f0f7ff;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
}

.bam-competences-preview h6 {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.competences-text {
    margin: 0;
    color: #555;
    line-height: 1.6;
}


/* État vide */

.bam-empty-state {
    text-align: center;
    padding: 80px 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.bam-empty-state i {
    font-size: 80px;
    color: #dee2e6;
    margin-bottom: 30px;
    display: block;
}

.bam-empty-state h3 {
    color: #1d1d1d;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
}

.bam-empty-state p {
    color: #6c757d;
    font-size: 16px;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 30px;
}


/* Responsive */

@media (max-width: 768px) {
    .bam-candidature-card {
        padding: 1.5rem;
    }
    .bam-candidature-details {
        padding-left: 0;
        margin-top: 1.5rem;
    }
    .bam-candidat-photo,
    .bam-candidat-photo-placeholder {
        width: 100px;
        height: 100px;
    }
}

.bam-etat-selector {
    min-width: 200px;
}

.bam-etat-selector .form-select {
    cursor: pointer;
}

.bam-filters-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}


/* Dropdown checkbox personnalisé */

.dropdown-checkbox-wrapper {
    position: relative;
}

.dropdown-checkbox-toggle {
    width: 100%;
    height: 41px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.375rem 0.75rem;
    text-align: left;
    color: #495057;
    transition: all 0.2s;
}

.dropdown-checkbox-toggle:hover {
    border-color: #4f17a8;
    box-shadow: 0 0 0 0.2rem rgba(79, 23, 168, 0.1);
}

.dropdown-checkbox-toggle .selected-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-checkbox-toggle i {
    color: #6c757d;
    transition: transform 0.2s;
}

.dropdown-checkbox-toggle.active i {
    transform: rotate(180deg);
}

.dropdown-checkbox-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 4px;
    z-index: 1000;
    display: none;
}

.dropdown-checkbox-menu.show {
    display: block;
}

.dropdown-checkbox-search {
    padding: 10px;
    border-bottom: 1px solid #e9ecef;
}

.dropdown-checkbox-search input {
    border-radius: 4px;
}

.dropdown-checkbox-list {
    max-height: 250px;
    overflow-y: auto;
    padding: 5px 0;
}

.dropdown-checkbox-item {
    padding: 0;
}

.dropdown-checkbox-item label {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    margin: 0;
    cursor: pointer;
    transition: background-color 0.15s;
}

.dropdown-checkbox-item label:hover {
    background-color: #f8f4fc;
}

.dropdown-checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    margin-right: 10px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #4f17a8;
}

.dropdown-checkbox-item .checkbox-label-all {
    font-weight: 600;
    color: #4f17a8;
}

.dropdown-checkbox-item span {
    font-size: 14px;
    color: #495057;
    user-select: none;
}