 /* Préfixe "prof_" pour tous les sélecteurs pour éviter les conflits */
 .prof_container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    font-family: 'Arial', sans-serif;
}

.prof_header {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.prof_title {
    color: #D53939;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
}

.prof_title i {
    color: #A22A2A;
}

.prof_info {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px;
    margin-bottom: 30px;
}

.prof_panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.prof_section_header {
    color: #D53939;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: bold;
}

.prof_section_header i {
    color: #A22A2A;
}

.prof_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.prof_item {
    background-color: #f4f4f4;
    padding: 15px;
    border-radius: 8px;
}

.prof_label {
    font-weight: bold;
    color: #D53939;
    margin-bottom: 5px;
}

.prof_value {
    color: #333;
}

.prof_edit_btn {
    background-color: #D53939;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease;
}

.prof_edit_btn:hover {
    background-color: #A22A2A;
    transform: scale(1.05);
}

.prof_modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    overflow: auto;
    padding: 20px;
}

.prof_modal_content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: prof_modal_appear 0.3s ease-out;
}

@keyframes prof_modal_appear {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.prof_modal_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.prof_modal_title {
    font-size: 24px;
    color: #D53939;
    display: flex;
    align-items: center;
    gap: 10px;
}

.prof_close_btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

/* Form groups - utilisant le style fourni */
.prof_form_group {
    margin-bottom: 1rem;
}

.prof_form_group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #D53939;
}

.prof_form_group input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1.5rem;
}

/* Form actions - utilisant le style fourni */
.prof_form_actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1rem;
}

.prof_btnf {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.prof_btnf_primary {
    background-color: #D53939;
    color: white;
}

.prof_btnf_secondary {
    background-color: #6c757d;
    color: white;
}

.prof_btnf:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.prof_alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    animation: prof_fade_in 0.3s ease-out;
}

@keyframes prof_fade_in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.prof_alert_success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

@media (max-width: 768px) {
    .prof_container {
        padding: 10px;
    }
    
    .prof_grid {
        grid-template-columns: 1fr;
    }
    
    .prof_modal_content {
        margin: 10% auto;
        padding: 15px;
    }
}