/* Styles pour la recherche dans la navbar */
.search-container {
    position: relative;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 300px;
    background-color: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    border: 1px solid #e9ecef;
}

.search-result-item {
    display: block;
    padding: 6px 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    margin: 2px 0;
}

.search-result-item:hover {
    background-color: #f8f9fa;
    text-decoration: none;
    border-left: 3px solid #356fb4;
    color: #356fb4;
}

.search-result-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 1rem;
    color: #356fb4;
}

.search-result-subtitle {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 2px;
    font-style: italic;
}

.search-result-status {
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 4px;
    color: white;
}

/* Indicateurs de statut selon le workflow des interventions */
.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Statut CREATED */
.status-created {
    background-color: #7f8c8d; /* Gris - identique au calendrier */
}

/* Statut PENDING_PROCESSING - En attente de prise en charge */
.status-pending-processing {
    background-color: #3498db; /* Bleu - identique au calendrier */
}

/* Statut IN_PROGRESS - En cours */
.status-in-progress {
    background-color: #f39c12; /* Orange - identique au calendrier */
}

/* Statut PENDING_VALIDATION - En attente de validation */
.status-pending-validation {
    background-color: #8e44ad; /* Violet - identique au calendrier */
}

/* Statut COMPLETED - Terminée */
.status-completed {
    background-color: #2ecc71; /* Vert - identique au calendrier */
}

/* Statut ARCHIVED - Archivée */
.status-archived {
    background-color: #95a5a6; /* Gris clair - identique au calendrier */
}

/* Statut par défaut */
.status-default {
    background-color: #6c757d; /* Gris */
}

/* Conteneur des résultats */
.search-result-content {
    font-size: 0.8rem;
    color: #666;
}